improved install.sh, added nvim
This commit is contained in:
@@ -9,26 +9,32 @@
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
#exec_always --no-startup-id wal -i ~/.wallpapers/
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font xft:Iosevka:Regular 10
|
||||
font pango:Dejavu Sans Mono 12
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
# Start XDG autostart .desktop files using dex. See also
|
||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||
#exec --no-startup-id dex --autostart --environment i3
|
||||
|
||||
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
|
||||
# they are included here as an example. Modify as you see fit.
|
||||
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- "i3lock -B sigma -k --pass-power-keys --pass-screen-keys --timecolor=99999999 --datecolor=99999999 --veriftext='' --wrongtext='' --ring-width=3.0" --nofork
|
||||
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
|
||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||
exec --no-startup-id nm-applet
|
||||
#exec --no-startup-id nm-applet
|
||||
|
||||
# Use pactl to adjust volume in PulseAudio.
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
@@ -36,7 +42,6 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
bindsym --release Print exec --no-startup-id scrot -s
|
||||
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
@@ -48,18 +53,22 @@ bindsym $mod+Return exec i3-sensible-terminal
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# custom bindings
|
||||
# start dmenu (a program launcher)
|
||||
#bindsym $mod+d exec dmenu_run -fn 'xft:NotoSansMono:style=Regular:size=16'
|
||||
bindsym $mod+d exec "rofi -combi-modi window,drun -show combi -modi combi -show-icons"
|
||||
bindsym $mod+c exec "rofi -show calc -modi calc -no-show-match -no-sort"
|
||||
bindsym $mod+d exec "rofi -combi-modi window,drun -show combi -modi combi -show-icons"
|
||||
bindsym $mod+p exec rofi-pass
|
||||
bindsym --release Print exec --no-startup-id /home/frosty/.scripts/screenshot-to-clipboard.sh
|
||||
bindsym $mod+Print exec --no-startup-id /home/frosty/.scripts/screenshot-active-to-clipboard.sh
|
||||
bindsym $mod+Shift+c exec --no-startup-id ~/Programs/Rust/UnifiedCopyPaste/scripts/rofi-clipboard-selector.sh
|
||||
bindsym $mod+x [urgent=latest] focus
|
||||
bindsym $mod+c exec "rofi -show calc -modi calc -no-show-match -no-sort"
|
||||
# Make the currently focused window a scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the first scratchpad window
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
# change focus
|
||||
bindsym $mod+j focus left
|
||||
bindsym $mod+k focus down
|
||||
bindsym $mod+l focus up
|
||||
@@ -97,9 +106,7 @@ bindsym $mod+s layout stacking
|
||||
bindsym $mod+w layout tabbed
|
||||
bindsym $mod+e layout toggle split
|
||||
|
||||
bindsym $mod+shift+o exec /home/frosty/Apps/emojipick/emojipick
|
||||
bindsym $mod+t exec i3-sensible-terminal -e htop
|
||||
bindsym $mod+shift+v exec i3-sensible-terminal -e ncpamixer
|
||||
bindsym $mod+Home exec /home/frosty/.config/i3/lock.sh
|
||||
|
||||
# toggle tiling / floating
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
@@ -150,60 +157,12 @@ bindsym $mod+Shift+8 move container to workspace number $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||
|
||||
bindsym $mod+Shift+p exec passmenu
|
||||
|
||||
# Make the currently focused window a scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
# Show the first scratchpad window
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
bindsym $mod+Shift+r restart
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||
#bindsym $mod+Shift+e exec --no-startup-id qdbus org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout -1 -1 -1
|
||||
bindsym Control+$mod+l exec i3lock -B sigma -k --pass-power-keys --pass-screen-keys --timecolor=99999999 --datecolor=99999999 --veriftext="" --wrongtext="" --ring-width=3.0
|
||||
|
||||
focus_follows_mouse no
|
||||
set_from_resource $FOCUS iw3m.color2
|
||||
set_from_resource $URGENT iw3m.color1
|
||||
set_from_resource $UNFOCUS iw3m.color7
|
||||
|
||||
#border backgr. text indicator child_border
|
||||
client.focused $FOCUS $FOCUS "#FFFFFF" $FOCUS $FOCUS
|
||||
#client.focused_inactive $UNFOCUS $UNFOCUS "#FFFFFF" $UNFOCUS $UNFOCUS
|
||||
#client.unfocused $UNFOCUS $UNFOCUS "#FFFFFF" $UNFOCUS $UNFOCUS
|
||||
client.urgent $URGENT $URGENT "#FFFFFF" $URGENT $URGENT
|
||||
client.background $UNFOCUS
|
||||
|
||||
for_window [class="^.*"] border pixel 2
|
||||
default_floating_border none
|
||||
hide_edge_borders none
|
||||
# smart_borders yes
|
||||
|
||||
gaps inner 20
|
||||
gaps outer 10
|
||||
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [window_role="task_dialog"] floating enable
|
||||
|
||||
for_window [class="yakuake"] floating enable
|
||||
for_window [class="systemsettings"] floating enable
|
||||
for_window [class="plasmashell"] floating enable;
|
||||
for_window [class="Plasma"] floating enable; border none
|
||||
for_window [title="plasma-desktop"] floating enable; border none
|
||||
for_window [title="win7"] floating enable; border none
|
||||
for_window [class="krunner"] floating enable; border none
|
||||
for_window [class="Kmix"] floating enable; border none
|
||||
for_window [class="Klipper"] floating enable; border none
|
||||
for_window [class="Plasmoidviewer"] floating enable; border none
|
||||
for_window [class="(?i)*nextcloud*"] floating disable
|
||||
no_focus [class="plasmashell" window_type="notification"]
|
||||
|
||||
|
||||
for_window [title="Desktop — Plasma"] kill; floating enable; border none
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
@@ -231,9 +190,19 @@ mode "resize" {
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
focus_follows_mouse no
|
||||
set_from_resource $FOCUS iw3m.color2
|
||||
set_from_resource $URGENT iw3m.color1
|
||||
set_from_resource $UNFOCUS iw3m.color7
|
||||
|
||||
exec_always --no-startup-id ~/.config/polybar/launch.sh
|
||||
client.focused $FOCUS $FOCUS "#FFFFFF" $FOCUS $FOCUS
|
||||
client.urgent $URGENT $URGENT "#FFFFFF" $URGENT $URGENT
|
||||
|
||||
for_window [class="^.*"] border pixel 2
|
||||
default_floating_border none
|
||||
hide_edge_borders none
|
||||
|
||||
gaps inner 20
|
||||
gaps outer 10
|
||||
|
||||
exec_always --no-startup-id /home/frosty/.config/polybar/launch.sh
|
||||
|
||||
Reference in New Issue
Block a user