switch to i3blocks, polybar is too much

This commit is contained in:
Nemo 2020-05-25 00:07:01 +05:30
parent 685744d5ed
commit b624742362
1 changed files with 13 additions and 12 deletions

View File

@ -13,7 +13,6 @@ set $WS4 4:
# Startup items that don't have their windows
exec --no-startup-id nitrogen --restore
exec --no-startup-id volumeicon
exec --no-startup-id redshift-gtk
# exec --no-startup-id compton --config ~/.compton.conf
@ -219,11 +218,12 @@ bindsym $mod+r mode "resize"
bindsym XF86MonBrightnessUp exec xbacklight -inc 10
bindsym XF86MonBrightnessDown exec xbacklight -dec 10
# volumeicon cannot seem to unmute it
bindsym XF86AudioMute exec amixer -D pulse set Master toggle
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# https://github.com/vivien/i3blocks-contrib/tree/master/volume#usage
bindsym XF86AudioRaiseVolume exec amixer -q -D pulse sset Master 5%+ && pkill -RTMIN+10 i3blocks
bindsym XF86AudioLowerVolume exec amixer -q -D pulse sset Master 5%- && pkill -RTMIN+10 i3blocks
bindsym XF86AudioMute exec amixer -q -D pulse sset Master toggle && pkill -RTMIN+10 i3blocks
# Window assignments
for_window [class="Pcmanfm"] floating enable resuze 860 700
@ -243,20 +243,19 @@ for_window [class="Com.github.parnold-x.nasc"] floating enable 800 420
for_window [class="xpad" window_role="info-"] move scratchpad
for_window [class="Com.github.parnold-x.nasc"] move scratchpad
exec "/home/nemo/.config/polybar/launch.sh dark"
# Sticky Notepad
exec --no-startup-id xpad
# Sticky math app
exec --no-startup-id GTK_THEME=Ambiance com.github.parnold-x.nasc
#bindsym $mod+F1 [class="xpad" instance="xpad"] scratchpad show
# Go through all windows
#bindsym $mod+F2 scratchpad show
# Only for Nasc
bindsym $mod+F3 [class="Com.github.parnold-x.nasc"] scratchpad show
# Go through all windows
# Scratchpad
bindsym $mod+shift+z move scratchpad
bindsym $mod+shift+minus move scratchpad
bindsym $mod+minus scratchpad show
# i3 gaps
for_window [class="^.*"] border pixel 0
@ -265,11 +264,13 @@ gaps outer 20
smart_gaps on
smart_borders on
bar {
status_command i3blocks
}
# Multi monitor
bindsym $mod+shift+a move workspace to output left
bindsym $mod+shift+s move workspace to output right
bindsym $mod+shift+w move workspace to output up
bindsym $mod+shift+x move workspace to output down
bindsym XF86Display exec autorandr
bindsym $mod+F9 exec autorandr