Merge updates from recent build
This commit is contained in:
@ -11,21 +11,30 @@
|
||||
## Print = PRINT key ##
|
||||
## Tab = TAB key ##
|
||||
#########################################
|
||||
|
||||
####################################################################################################
|
||||
################# colors ##################
|
||||
################# Style settings #################
|
||||
####################################################################################################
|
||||
|
||||
# font
|
||||
font pango:Ubuntu Regular 10
|
||||
# Window colors
|
||||
set $border-color #2b303b
|
||||
set $background-color #2b303b
|
||||
set $inactive-color #65737e
|
||||
set $text-color #8fa1b3
|
||||
set $urgent-color #bf616a
|
||||
set $active-color #b48ead
|
||||
|
||||
# class border backgr. text indicator
|
||||
client.focused #365260 #365260 #D1D1D0 #4E9EC6
|
||||
client.focused_inactive #365260 #365260 #D1D1D0 #365260
|
||||
client.unfocused #365260 #D1D1D0 #232729 #365260
|
||||
client.urgent #365260 #A3574A #232729 #A3574A
|
||||
client.background #232729
|
||||
# class background border text indicator
|
||||
client.focused $border-color $active-color $text-color $inactive-color
|
||||
client.unfocused $border-color $border-color $text-color $border-color
|
||||
client.focused_inactive $border-color $border-color $text-color $border-color
|
||||
client.urgent $border-color $urgent-color $urgent-color $border-color
|
||||
|
||||
# border
|
||||
for_window [class="^.*"] border pixel 3
|
||||
|
||||
# gaps
|
||||
gaps inner 12
|
||||
gaps outer 0
|
||||
|
||||
####################################################################################################
|
||||
################# Define variables #################
|
||||
@ -49,15 +58,16 @@ set $right semicolon
|
||||
set $firstMonitor HDMI1
|
||||
set $secondMonitor HDMI2
|
||||
|
||||
# workspace assignment
|
||||
workspace 1 output $firstMonitor
|
||||
workspace 2 output $firstMonitor
|
||||
workspace 2 output $secondMonitor
|
||||
workspace 3 output $firstMonitor
|
||||
workspace 4 output $firstMonitor
|
||||
workspace 4 output $secondMonitor
|
||||
workspace 5 output $firstMonitor
|
||||
workspace 6 output $secondMonitor
|
||||
workspace 7 output $secondMonitor
|
||||
workspace 7 output $firstMonitor
|
||||
workspace 8 output $secondMonitor
|
||||
workspace 9 output $secondMonitor
|
||||
workspace 9 output $firstMonitor
|
||||
workspace 10 output $secondMonitor
|
||||
|
||||
# switch to workspace
|
||||
@ -133,10 +143,10 @@ bindsym $mod+Shift+Up move up
|
||||
bindsym $mod+Shift+Right move right
|
||||
|
||||
# resizing
|
||||
bindsym mod1+Left resize shrink width 10 px or 5 ppt
|
||||
bindsym mod1+Down resize grow height 10 px or 5 ppt
|
||||
bindsym mod1+Up resize shrink height 10 px or 5 ppt
|
||||
bindsym mod1+Right resize grow width 10 px or 5 ppt
|
||||
bindsym mod1+Left resize shrink width 10 px or 1 ppt
|
||||
bindsym mod1+Down resize grow height 10 px or 1 ppt
|
||||
bindsym mod1+Up resize shrink height 10 px or 1 ppt
|
||||
bindsym mod1+Right resize grow width 10 px or 1 ppt
|
||||
|
||||
# next/previous workspace
|
||||
bindsym Mod1+Tab workspace next
|
||||
@ -185,7 +195,7 @@ exec --no-startup-id xfsettingsd &
|
||||
exec --no-startup-id ksuperkey -e 'Super_L=Alt_L|F1'
|
||||
exec --no-startup-id nitrogen --restore
|
||||
exec --no-startup-id al-conky-session
|
||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
exec --no-startup-id /usr/bin/lxpolkit
|
||||
|
||||
|
||||
####################################################################################################
|
||||
@ -194,11 +204,15 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||
|
||||
bindsym $mod+e exec --no-startup-id al-open -edit
|
||||
bindsym Control+space exec --no-startup-id rofi-apps
|
||||
bindsym mod1+F1 exec --no-startup-id rofi-apps
|
||||
bindsym mod1+F1 exec --no-startup-id $HOME/bin/rofi-gorice
|
||||
bindsym $mod+t exec --no-startup-id exo-open --launch TerminalEmulator
|
||||
bindsym $mod+w exec --no-startup-id exo-open --launch WebBrowser
|
||||
bindsym $mod+f exec --no-startup-id exo-open --launch FileManager
|
||||
bindsym Print exec --no-startup-id scrot "'ArchLabs_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; gpicview $$(xdg-user-dir PICTURES)/$f'"
|
||||
|
||||
# good example for long command being broken into multiple lines (i3 is fine with this using "\")
|
||||
bindsym Print exec --no-startup-id "scrot '%S.png' \
|
||||
-e 'mv $f $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png \
|
||||
; gpicview $$(xdg-user-dir PICTURES)/ArchLabs-%S-$wx$h.png'"
|
||||
|
||||
####################################################################################################
|
||||
################# application settings #################
|
||||
@ -246,51 +260,33 @@ new_window normal
|
||||
new_float normal
|
||||
popup_during_fullscreen smart
|
||||
|
||||
for_window [class="^.*"] border pixel 2
|
||||
gaps inner 8
|
||||
gaps outer 2
|
||||
#smart_gaps on
|
||||
#smart_borders on
|
||||
|
||||
####################################################################################################
|
||||
################# Modes #################
|
||||
################# logout #################
|
||||
####################################################################################################
|
||||
|
||||
# sets gaps
|
||||
set $mode_gaps Gaps: +/- (local) Shift +/- (global)
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
|
||||
mode "$mode_gaps" {
|
||||
bindsym plus gaps inner current plus 2
|
||||
bindsym minus gaps inner current minus 2
|
||||
bindsym 0 gaps inner current set 0
|
||||
|
||||
bindsym Shift+plus gaps inner all plus 2
|
||||
bindsym Shift+minus gaps inner all minus 2
|
||||
bindsym Shift+0 gaps inner all set 0
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
|
||||
# exit i3 (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec --no-startup-id "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'"
|
||||
|
||||
#Press $mod (super) and X to exit
|
||||
bindsym $mod+X mode "$mode_system"
|
||||
|
||||
set $mode_system (k) (l) (u) (h) ⏾ (r) (s)
|
||||
set $mode_system Q ➤ W ➤ E ➤ R ➤
|
||||
mode "$mode_system" {
|
||||
bindsym k exec --no-startup-id i3lock-fancy, mode "default"
|
||||
bindsym l exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym u exec --no-startup-id ~/.config/i3/scripts/i3exit.sh suspend, mode "default"
|
||||
bindsym h exec --no-startup-id ~/.config/i3/scripts/i3exit.sh hibernate, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||
bindsym s exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||
|
||||
# back to normal: Enter or Escape
|
||||
bindsym q exec --no-startup-id i3lock-fancy, mode "default"
|
||||
bindsym w exec --no-startup-id ~/.config/i3/scripts/i3exit.sh logout, mode "default"
|
||||
bindsym e exec --no-startup-id ~/.config/i3/scripts/i3exit.sh reboot, mode "default"
|
||||
bindsym r exec --no-startup-id ~/.config/i3/scripts/i3exit.sh shutdown, mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
####################################################################################################
|
||||
################# i3 gaps change #################
|
||||
####################################################################################################
|
||||
|
||||
set $mode_gaps Gap Size + | -
|
||||
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
mode "$mode_gaps" {
|
||||
bindsym plus gaps inner all plus 2
|
||||
bindsym minus gaps inner all minus 2
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user