updating hotkeys and checking if taken

master
tiynger 5 years ago
parent 479a4d952f
commit dc0ca5755c

@ -36,38 +36,29 @@ bar {
} }
# #---Basic Bindings---# # # #---Basic Bindings---# #
bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit" bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
# #---Letter Key Bindings---# # #bindsym $mod+Return taken by sxhkd
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid`
bindsym $mod+t split toggle
bindsym $mod+Shift+t gaps inner current set 15; gaps outer current set 15
bindsym $mod+Shift+z exec --no-startup-id i3resize left
bindsym $mod+u exec --no-startup-id ddspawn tmuxdd
bindsym $mod+Shift+u exec --no-startup-id i3resize down
bindsym $mod+Shift+i exec --no-startup-id i3resize up
bindsym $mod+o sticky toggle bindsym $mod+a exec --no-startup-id ddspawn maxima -f mono:pixelsize=24
bindsym $mod+Shift+o exec --no-startup-id i3resize right
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24 #bindym $mod+b taken by sxhkd
bindsym $mod+Shift+b bar mode toggle
bindsym $mod+s gaps inner current plus 5 #bindsym $mod+c taken by sxhkd
bindsym $mod+Shift+s gaps inner current minus 5
bindsym $mod+Shift+d gaps inner current set 0; gaps outer current set 0 #bindsym $mod+d taken by sxhkd
bindsym $mod+f fullscreen toggle bindsym $mod+f fullscreen toggle
#bindsym $mod+g taken by sxhkd
bindsym $mod+h focus left bindsym $mod+h focus left
bindsym $mod+Shift+h move left 30 bindsym $mod+Shift+h move left 30
#bindsym $mod+i taken by sxhkd
bindsym $mod+Shift+i exec --no-startup-id i3resize up
bindsym $mod+j focus down bindsym $mod+j focus down
bindsym $mod+Shift+j move down 30 bindsym $mod+Shift+j move down 30
@ -77,13 +68,40 @@ bindsym $mod+Shift+k move up 30
bindsym $mod+l focus right bindsym $mod+l focus right
bindsym $mod+Shift+l move right 30 bindsym $mod+Shift+l move right 30
bindsym $mod+y gaps outer current plus 5 #bindsym $mod+m taken by sxhkd
bindsym $mod+Shift+y gaps outer current minus 5
bindsym $mod+Shift+o exec --no-startup-id i3resize right
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdown_).*$"] kill
bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdown_).*$"] exec --no-startup-id kill -9 `xdotool getwindowfocus getwindowpid`
#bindsym $mod+r taken by sxhkd
#bindsym $mod+shift+r taken by sxhkd
bindsym $mod+t split toggle
bindsym $mod+Shift+u exec --no-startup-id i3resize down
#bindsym $mod+x taken by sxhkd
bindsym $mod+Shift+z exec --no-startup-id i3resize left
#bindsym $mod+F5 taken by sxhkd
#bindsym $mod+F6 taken by sxhkd
#bindsym $mod+F7 taken by sxhkd
#bindsym $mod+F8 taken by sxhkd
bindsym $mod+b bar mode toggle #bindsym $mod+F9 taken by sxhkd
bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left
#bindsym $mod+F10 taken by sxhkd
#bindsym $mod+F11 taken by sxhkd
#bindsym $mod+F12 taken by sxhkd
bindsym $mod+Shift+n floating toggle; sticky toggle; exec --no-startup-id hover right
# #---Workspace Bindings---# # # #---Workspace Bindings---# #
set $ws1 "DEF" set $ws1 "DEF"
@ -128,17 +146,3 @@ for_window [class="Gimp"] move workspace $ws5
for_window [window_role="GtkFileChooserDialog"] resize set 800 600 for_window [window_role="GtkFileChooserDialog"] resize set 800 600
for_window [window_role="GtkFileChooserDialog"] move position center for_window [window_role="GtkFileChooserDialog"] move position center
for_window [title="Default - Wine desktop"] floating enable for_window [title="Default - Wine desktop"] floating enable
# #---Arrow Keys---# #
bindsym $mod+Left focus left
bindsym $mod+Ctrl+Left move workspace to output left
bindsym $mod+Down focus down
bindsym $mod+Ctrl+Down move workspace to output down
bindsym $mod+Up focus up
bindsym $mod+Ctrl+Up move workspace to output up
bindsym $mod+Right focus right
bindsym $mod+Ctrl+Right move workspace to output right
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right

@ -1,4 +1,5 @@
## Basic binds ## Basic binds
#super + shift + escape taken by i3
super + Return super + Return
$TERMINAL $TERMINAL
super + b super + b
@ -7,24 +8,73 @@ super + c
code code
super + d super + d
ducksearch ducksearch
super + e
$TERMINAL -e neomutt
super + f super + f
$TERMINAL -e $FILE $TERMINAL -e $FILE
#super + shift + f taken by i3
super + g super + g
googlesearch googlesearch
#super + h taken by i3
#super + shift + h taken by i3
super + i super + i
idea idea
super + m #super + shift + i taken by i3
$TERMINAL -e neomutt #super + j taken by i3
#super + shift + j taken by i3
#super + k taken by i3
#super + shift + k taken by i3
#super + l taken by i3
#super + shift + l taken by i3
#super + shift + o taken by i3
#super + q taken by i3
#super + shift + q taken by i3
super + r super + r
$TERMINAL -e rtv $TERMINAL -e rtv
super + x
xournalpp
## Basic combinations
super + shift + r super + shift + r
dmenu_run dmenu_run
#super + t taken by i3
#super + shift + u taken by i3
super + x
xournalpp
#super + shift + z taken by i3
super + F5
toggletouchpad
super + F6
dmenumount
super + F7
dmenuumount
super + F8
sudo -A systemctl restart NetworkManager
super + F9
$TERMINAL -e sudo -A nmtui
super + F10
prompt 'Hibernate computer?' 'sudo systemctl suspend'
super + F11
prompt "Reboot computer?" "sudo -A shutdown -r now"
super + F12
prompt "Shutdown computer?" "sudo -A shutdown -h now"
#super + 1 taken by i3
#super + 2 taken by i3
#super + 3 taken by i3
#super + 4 taken by i3
#super + 5 taken by i3
#super + 6 taken by i3
#super + 7 taken by i3
#super + 8 taken by i3
#super + 9 taken by i3
#super + 0 taken by i3
#super + shift + 1 taken by i3
#super + shift + 2 taken by i3
#super + shift + 3 taken by i3
#super + shift + 4 taken by i3
#super + shift + 5 taken by i3
#super + shift + 6 taken by i3
#super + shift + 7 taken by i3
#super + shift + 8 taken by i3
#super + shift + 9 taken by i3
#super + shift + 0 taken by i3
## FN combinations ## FN combinations
XF86Launch1 XF86Launch1
@ -49,32 +99,3 @@ XF86MonBrightnessDown
light -U 15 light -U 15
XF86MonBrightnessUp XF86MonBrightnessUp
light -A 15 light -A 15
## Function keys
# Toggle Touchpad
super + F5
toggletouchpad
# Mount a USB drive or Android device
super + F6
dmenumount
# Unmount a USB drive or Android device
super + F7
dmenuumount
# Restart/rescan wifi/eth networks
super + F8
sudo -A systemctl restart NetworkManager
# Network Manager interface
super + F9
$TERMINAL -e sudo -A nmtui
# Hibernate
super + F10
prompt 'Hibernate computer?' 'sudo systemctl suspend'
# Reboot
super + F11
prompt "Reboot computer?" "sudo -A shutdown -r now"
# Shutdown
super + F12
prompt "Shutdown computer?" "sudo -A shutdown -h now"

Loading…
Cancel
Save