Large update, remove old scripts & gorice, merge some together
This commit is contained in:
@ -102,10 +102,10 @@ bindsym $Mod+Shift+q kill
|
||||
bindsym Mod1+q kill
|
||||
|
||||
# launchers
|
||||
bindsym Control+space exec --no-startup-id rofi-gorice
|
||||
bindsym Control+space exec --no-startup-id rofr.sh -r
|
||||
|
||||
# this is needed for super key to launch rofi
|
||||
bindsym Mod1+F1 exec --no-startup-id rofi-gorice
|
||||
bindsym Mod1+F1 exec --no-startup-id rofr.sh -r
|
||||
|
||||
# core
|
||||
bindsym $Mod+e exec --no-startup-id geany
|
||||
@ -114,7 +114,7 @@ bindsym $Mod+w exec exo-open --launch WebBrowser
|
||||
bindsym $Mod+f exec exo-open --launch FileManager
|
||||
|
||||
# logout
|
||||
bindsym $Mod+x exec --no-startup-id rofi-logout
|
||||
bindsym $Mod+x exec --no-startup-id rofr.sh -l
|
||||
|
||||
# long command broken into multiple lines
|
||||
bindsym Print exec --no-startup-id "scrot '%S.png' \
|
||||
@ -122,14 +122,14 @@ bindsym Print exec --no-startup-id "scrot '%S.png' \
|
||||
; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
|
||||
|
||||
# audio
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
||||
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
||||
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
||||
bindsym XF86AudioStop exec --no-startup-id playerctl stop
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pamixer -i 2
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pamixer -d 2
|
||||
bindsym XF86AudioMute exec --no-startup-id pamixer -t
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
|
||||
|
||||
####################################################################################################
|
||||
@ -181,10 +181,8 @@ bindsym $Mod+Shift+c reload
|
||||
####################################################################################################
|
||||
|
||||
# Scratchpad, Floating
|
||||
bindsym Mod1+minus move scratchpad
|
||||
bindsym Mod1+plus scratchpad show
|
||||
bindsym $Mod+space floating toggle
|
||||
floating_modifier Mod1
|
||||
bindsym $Mod+Shift+space floating toggle
|
||||
floating_modifier Mod1
|
||||
|
||||
# change focus
|
||||
bindsym $Mod+$left focus left
|
||||
@ -198,8 +196,8 @@ bindsym $Mod+Down focus down
|
||||
bindsym $Mod+Up focus up
|
||||
bindsym $Mod+Right focus right
|
||||
|
||||
bindsym $Mod+p focus parent
|
||||
bindsym $Mod+c focus child
|
||||
bindsym $Mod+p focus parent
|
||||
bindsym $Mod+c focus child
|
||||
|
||||
# move focused window
|
||||
bindsym $Mod+Shift+$left move left 10px
|
||||
@ -214,10 +212,10 @@ bindsym $Mod+Shift+Left move left 10px
|
||||
bindsym $Mod+Shift+Right move right 10px
|
||||
|
||||
# Size
|
||||
bindsym Mod1+Up resize shrink height 10 px or 1 ppt
|
||||
bindsym Mod1+Down resize grow height 10 px or 1 ppt
|
||||
bindsym Mod1+Left resize shrink width 10 px or 1 ppt
|
||||
bindsym Mod1+Right resize grow width 10 px or 1 ppt
|
||||
bindsym Mod1+Up resize shrink height 10 px or 1 ppt
|
||||
bindsym Mod1+Down resize grow height 10 px or 1 ppt
|
||||
bindsym Mod1+Left resize shrink width 10 px or 1 ppt
|
||||
bindsym Mod1+Right resize grow width 10 px or 1 ppt
|
||||
|
||||
# layout toggle, keycode 23 is Tab
|
||||
bindcode Mod1+23 layout toggle tabbed split
|
||||
@ -255,7 +253,6 @@ bindsym $Mod+plus gaps inner current plus 5
|
||||
bindsym $Mod+minus gaps inner current minus 5
|
||||
bindsym $Mod+Shift+plus gaps outer current plus 5
|
||||
bindsym $Mod+Shift+minus gaps outer current minus 5
|
||||
|
||||
bindsym $Mod+Control+plus gaps inner all plus 5
|
||||
bindsym $Mod+Control+minus gaps inner all minus 5
|
||||
bindsym $Mod+Control+Shift+plus gaps outer all plus 5
|
||||
@ -266,29 +263,20 @@ bindsym $Mod+Control+Shift+minus gaps outer all minus 5
|
||||
################# application settings #################
|
||||
####################################################################################################
|
||||
|
||||
# focus & floating
|
||||
for_window [class="(?i)(?:lxapp\w+|peek)"] floating enable, focus
|
||||
for_window [class="(?i)(?:gpic\w+|gvim)"] floating enable, focus
|
||||
for_window [class="(?i)(?:deluge|nitrogen)"] floating enable, focus
|
||||
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
|
||||
for_window [class="(?i)(?:termite|thunar)"] focus
|
||||
for_window [class="(?i)(?:geany|firefox)"] focus
|
||||
for_window [class="(?i)(?:qt5ct|pinentry)"] floating enable, focus
|
||||
for_window [class="(?i)(?:termite|thunar)"] focus
|
||||
for_window [class="(?i)(?:geany|firefox)"] focus
|
||||
|
||||
# Assign Applications to specific workspace
|
||||
# get class with xprop
|
||||
assign [class="(?i)(?:firefox)"] → $WS1
|
||||
assign [class="(?i)(?:geany)"] → $WS2
|
||||
assign [class="(?i)(?:thunar)"] → $WS3
|
||||
assign [class="(?i)(?:gimp|nitrogen)"] → $WS4
|
||||
assign [class="(?i)(?:firefox)"] → $WS1
|
||||
assign [class="(?i)(?:geany)"] → $WS2
|
||||
assign [class="(?i)(?:thunar)"] → $WS3
|
||||
|
||||
# focus, floating, & sticky
|
||||
for_window [title="(?i)(?:copying|deleting|moving|auth\w+)"] floating enable, sticky enable
|
||||
for_window [window_role="(?i)(?:pop-up|setup|preferen\w+)"] floating enable, sticky enable
|
||||
for_window [title="(?i)(?:copying|deleting|moving)"] floating enable
|
||||
for_window [window_role="(?i)(?:pop-up|setup)"] floating enable
|
||||
|
||||
# set trayer to be borderless
|
||||
for_window [class="(?i)trayer"] border pixel 0
|
||||
|
||||
|
||||
|
||||
# start on main workspaces when reloading i3 (keep me at the bottom)
|
||||
exec_always --no-startup-id i3-msg 'workspace $WS5, workspace $WS1'
|
||||
|
Reference in New Issue
Block a user