diff options
Diffstat (limited to '.config/i3/config')
| -rw-r--r-- | .config/i3/config | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/.config/i3/config b/.config/i3/config index 072d748..92edd35 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -30,9 +30,27 @@ set $reboot sudo -A reboot set $netrefresh --no-startup-id sudo -A systemctl restart NetworkManager set $hibernate sudo -A systemctl suspend +# #---Dropdown Windows---# # + +# First I have a tmux window used for background scripts. +# I'll later bind this to mod+u. +for_window [instance="tmuxdd"] floating enable +for_window [instance="tmuxdd"] resize set 625 400 +for_window [instance="tmuxdd"] move scratchpad +for_window [instance="tmuxdd"] border pixel 3 +for_window [instance="tmuxdd"] sticky enable + +# Then I have a window running R I use for basic arithmetic +# I'll later bind this to mod+a. +for_window [instance="dropdowncalc"] floating enable +for_window [instance="dropdowncalc"] resize set 800 300 +for_window [instance="dropdowncalc"] move scratchpad +for_window [instance="dropdowncalc"] border pixel 2 +for_window [instance="dropdowncalc"] sticky enable + # #---Starting External Scripts---# # # Setting the background and colorscheme: -exec --no-startup-id wal -i ~/.config/wall.png >/dev/null +exec --no-startup-id wal -Ri ~/.config/wall.png >/dev/null # Starts dunst for notifications: exec --no-startup-id dunst # Composite manager: @@ -101,10 +119,10 @@ bindsym $mod+Shift+space floating toggle bindsym $mod+space focus mode_toggle bindsym $mod+Escape workspace prev -bindsym $mod+Shift+Escape exec --no-startup-id prompt "Are you sure you want to leave i3?" "i3-msg exit" +bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit" # bindsym $mod+BackSpace -bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Are you sure you want to reboot?" "$reboot" +bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Reboot computer?" "$reboot" ##bindsym $mod+grave ##bindsym $mod+asciitilde @@ -113,8 +131,8 @@ bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Are you sure you want bindsym $mod+Shift+Delete exec --no-startup-id lmc truemute ; exec $truepause ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e ranger # #---Letter Key Bindings---# # -bindsym $mod+q [con_id="__focused__" instance="^(?!math|dropdown).*$"] kill -bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!math|dropdown).*$"] kill +bindsym $mod+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill +bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill bindsym $mod+w exec --no-startup-id $BROWSER bindsym $mod+Shift+w exec --no-startup-id $BROWSER @@ -131,7 +149,7 @@ bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15 bindsym $mod+y exec $term -e calcurse bindsym $mod+Shift+y exec --no-startup-id "bash ~/.scripts/i3resize left" -bindsym $mod+u [instance="dropdown"] scratchpad show; [instance="dropdown"] move position center +bindsym $mod+u exec --no-startup-id ddspawn tmuxdd bindsym $mod+Shift+u exec --no-startup-id "bash ~/.scripts/i3resize down" bindsym $mod+i exec $term -e htop @@ -143,7 +161,7 @@ bindsym $mod+Shift+o exec --no-startup-id "bash ~/.scripts/i3resize right" bindsym $mod+p exec --no-startup-id lmc toggle bindsym $mod+Shift+p exec --no-startup-id lmc pause -bindsym $mod+a [instance="math"] scratchpad show; [instance="math"] move position center +bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24 bindsym $mod+Shift+a exec $term -e pulsemixer bindsym $mod+s gaps inner current plus 5 @@ -178,7 +196,7 @@ bindsym $mod+z gaps outer current plus 5 bindsym $mod+Shift+z gaps outer current minus 5 bindsym $mod+x exec --no-startup-id lockscreen -bindsym $mod+Shift+x exec --no-startup-id prompt "Are you sure you want to shutdown?" "$shutdown" +bindsym $mod+Shift+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown" bindsym $mod+c exec --no-startup-id camtoggle ##bindsym $mod+Shift+c @@ -259,24 +277,6 @@ for_window [class="Gimp"] move workspace $ws5 for_window [window_role="GtkFileChooserDialog"] resize shrink height 10 px for_window [title="Default - Wine desktop"] floating enable -# First I have a tmux window used for background scripts. -# I'll later bind this to mod+u. -for_window [instance="dropdown"] floating enable -for_window [instance="dropdown"] resize set 625 400 -for_window [instance="dropdown"] move scratchpad -for_window [instance="dropdown"] border pixel 3 -# Runs the tmuxinit script, which searches for an earlier tmux instance, -# otherwise starts a new one (to prevent multiple dropdown sessions). -exec --no-startup-id $term -n dropdown -e tmuxinit - -# Then I have a window running R I use for basic arithmetic -# I'll later bind this to mod+a. -for_window [instance="math"] floating enable -for_window [instance="math"] resize set 800 300 -for_window [instance="math"] move scratchpad -for_window [instance="math"] border pixel 2 -exec --no-startup-id $term -n math -f mono:pixelsize=24 -e dropdowncalc - # Bindings to make the webcam float and stick. for_window [title="mpvfloat"] floating enable for_window [title="mpvfloat"] sticky enable @@ -287,14 +287,14 @@ no_focus [title="mpvfloat"] bindsym $mod+F1 exec --no-startup-id zathura ~/.config/i3/i3_guide.pdf bindsym $mod+F2 restart bindsym $mod+F3 exec --no-startup-id displayselect -bindsym $mod+F4 exec --no-startup-id $hibernate +bindsym $mod+F4 exec --no-startup-id prompt "Hibernate computer?" "$hibernate" bindsym $mod+F5 exec --no-startup-id $netrefresh bindsym $mod+F6 exec --no-startup-id $term -e transmission-remote-cli bindsym $mod+F7 exec --no-startup-id td-toggle bindsym $mod+F8 exec --no-startup-id ~/.config/mutt/etc/mailsync.sh bindsym $mod+F9 exec --no-startup-id dmenumount bindsym $mod+F10 exec --no-startup-id dmenuumount -bindsym $mod+F11 exec --no-startup-id dmenuarchwiki +bindsym $mod+F11 exec --no-startup-id ducksearch bindsym $mod+F12 exec $term -e sudo -A wifi-menu # #---Arrow Keys---# # @@ -342,13 +342,13 @@ bindsym Control+XF86AudioLowerVolume exec --no-startup-id lmc down 1 bindsym XF86AudioRaiseVolume exec --no-startup-id lmc up 5 bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id lmc up 10 bindsym Control+XF86AudioRaiseVolume exec --no-startup-id lmc up 1 -bindsym XF86PowerOff exec --no-startup-id prompt "Are you sure you want to shutdown?" "$shutdown" +bindsym XF86PowerOff exec --no-startup-id prompt "Shutdown computer?" "$shutdown" ##bindsym XF86Copy exec ##bindsym XF86Open exec ##bindsym XF86Paste exec ##bindsym XF86Cut exec ##bindsym XF86MenuKB exec -bindsym XF86Calculator exec $term -e R -q +bindsym XF86Calculator exec $term -e R -q --no-save ##bindsym XF86Sleep This binding is typically mapped by systemd automatically. ##bindsym XF86WakeUp exec bindsym XF86Explorer exec $term -e ranger |
