color modification
This commit is contained in:
parent
c35e40893b
commit
9b54911fbf
@ -1,3 +1,4 @@
|
|||||||
|
# generic mode colors
|
||||||
set $mode_color_foreground $light0
|
set $mode_color_foreground $light0
|
||||||
set $mode_color_action $bright_green
|
set $mode_color_action $bright_green
|
||||||
|
|
||||||
@ -6,7 +7,6 @@ set $mode_resize "<span foreground='$mode_color_foreground'></span> \
|
|||||||
<span foreground='$mode_color_foreground'><b>Resize</b></span> <span foreground='$mode_color_action'>(<b>↑ ↓ ← →</b>)</span> \
|
<span foreground='$mode_color_foreground'><b>Resize</b></span> <span foreground='$mode_color_action'>(<b>↑ ↓ ← →</b>)</span> \
|
||||||
<span foreground='$mode_color_foreground'><b>Increase Gaps</b></span> <span foreground='$mode_color_action'>(<b>+</b>)</span> \
|
<span foreground='$mode_color_foreground'><b>Increase Gaps</b></span> <span foreground='$mode_color_action'>(<b>+</b>)</span> \
|
||||||
<span foreground='$mode_color_foreground'><b>Decrease Gaps</b></span> <span foreground='$mode_color_action'>(<b>-</b>)</span>"
|
<span foreground='$mode_color_foreground'><b>Decrease Gaps</b></span> <span foreground='$mode_color_action'>(<b>-</b>)</span>"
|
||||||
|
|
||||||
mode --pango_markup $mode_resize {
|
mode --pango_markup $mode_resize {
|
||||||
# left will shrink the containers width
|
# left will shrink the containers width
|
||||||
# right will grow the containers width
|
# right will grow the containers width
|
||||||
@ -16,26 +16,21 @@ mode --pango_markup $mode_resize {
|
|||||||
$bindsym $down resize grow height $resizestepsize
|
$bindsym $down resize grow height $resizestepsize
|
||||||
$bindsym $up resize shrink height $resizestepsize
|
$bindsym $up resize shrink height $resizestepsize
|
||||||
$bindsym $right resize grow width $resizestepsize
|
$bindsym $right resize grow width $resizestepsize
|
||||||
|
|
||||||
$bindsym $left_alt resize shrink width $resizestepsize
|
$bindsym $left_alt resize shrink width $resizestepsize
|
||||||
$bindsym $down_alt resize grow height $resizestepsize
|
$bindsym $down_alt resize grow height $resizestepsize
|
||||||
$bindsym $up_alt resize shrink height $resizestepsize
|
$bindsym $up_alt resize shrink height $resizestepsize
|
||||||
$bindsym $right_alt resize grow width $resizestepsize
|
$bindsym $right_alt resize grow width $resizestepsize
|
||||||
|
|
||||||
$bindsym Shift+$left resize shrink width $resizestepsize
|
$bindsym Shift+$left resize shrink width $resizestepsize
|
||||||
$bindsym Shift+$down resize grow height $resizestepsize
|
$bindsym Shift+$down resize grow height $resizestepsize
|
||||||
$bindsym Shift+$up resize shrink height $resizestepsize
|
$bindsym Shift+$up resize shrink height $resizestepsize
|
||||||
$bindsym Shift+$right resize grow width $resizestepsize
|
$bindsym Shift+$right resize grow width $resizestepsize
|
||||||
|
|
||||||
$bindsym Shift+$left_alt resize shrink width $resizestepsize
|
$bindsym Shift+$left_alt resize shrink width $resizestepsize
|
||||||
$bindsym Shift+$down_alt resize grow height $resizestepsize
|
$bindsym Shift+$down_alt resize grow height $resizestepsize
|
||||||
$bindsym Shift+$up_alt resize shrink height $resizestepsize
|
$bindsym Shift+$up_alt resize shrink height $resizestepsize
|
||||||
$bindsym Shift+$right_alt resize grow width $resizestepsize
|
$bindsym Shift+$right_alt resize grow width $resizestepsize
|
||||||
|
|
||||||
## Resize // Window Gaps // + - ##
|
## Resize // Window Gaps // + - ##
|
||||||
$bindsym minus gaps inner current minus 5px
|
$bindsym minus gaps inner current minus 5px
|
||||||
$bindsym plus gaps inner current plus 5px
|
$bindsym plus gaps inner current plus 5px
|
||||||
|
|
||||||
# Return to default mode
|
# Return to default mode
|
||||||
$bindsym Return mode "default"
|
$bindsym Return mode "default"
|
||||||
$bindsym Escape mode "default"
|
$bindsym Escape mode "default"
|
||||||
@ -43,7 +38,7 @@ mode --pango_markup $mode_resize {
|
|||||||
|
|
||||||
# SHUTDOWN
|
# SHUTDOWN
|
||||||
set $mode_shutdown "\
|
set $mode_shutdown "\
|
||||||
<span foreground='$mode_color_action'></span> \
|
<span foreground='$mode_color_foreground'></span> \
|
||||||
<span foreground='$mode_color_foreground'> \
|
<span foreground='$mode_color_foreground'> \
|
||||||
<span foreground='$mode_color_action'>(<b>h</b>)</span>hibernate \
|
<span foreground='$mode_color_action'>(<b>h</b>)</span>hibernate \
|
||||||
<span foreground='$mode_color_action'>(<b>l</b>)</span>lock \
|
<span foreground='$mode_color_action'>(<b>l</b>)</span>lock \
|
||||||
@ -52,28 +47,20 @@ set $mode_shutdown "\
|
|||||||
<span foreground='$mode_color_action'>(<b>u</b>)</span>suspend \
|
<span foreground='$mode_color_action'>(<b>u</b>)</span>suspend \
|
||||||
<span foreground='$mode_color_action'>(<b>s</b>)</span>shutdown \
|
<span foreground='$mode_color_action'>(<b>s</b>)</span>shutdown \
|
||||||
</span>"
|
</span>"
|
||||||
|
|
||||||
set $purge_cliphist [ $purge_cliphist_logout == 'true' ] && rm -f $HOME/.cache/cliphist/db || exit 0
|
set $purge_cliphist [ $purge_cliphist_logout == 'true' ] && rm -f $HOME/.cache/cliphist/db || exit 0
|
||||||
|
|
||||||
mode --pango_markup $mode_shutdown {
|
mode --pango_markup $mode_shutdown {
|
||||||
# lock
|
# lock
|
||||||
$bindsym l mode "default", exec $locking
|
$bindsym l mode "default", exec $locking
|
||||||
|
|
||||||
# logout
|
# logout
|
||||||
$bindsym e exec $purge_cliphist; exec loginctl terminate-user $USER
|
$bindsym e exec $purge_cliphist; exec loginctl terminate-user $USER
|
||||||
|
|
||||||
# suspend
|
# suspend
|
||||||
$bindsym u mode "default", exec systemctl suspend
|
$bindsym u mode "default", exec systemctl suspend
|
||||||
|
|
||||||
# hibernate
|
# hibernate
|
||||||
$bindsym h mode "default", exec systemctl hibernate
|
$bindsym h mode "default", exec systemctl hibernate
|
||||||
|
|
||||||
# shutdown
|
# shutdown
|
||||||
$bindsym s exec $purge_cliphist; exec systemctl poweroff
|
$bindsym s exec $purge_cliphist; exec systemctl poweroff
|
||||||
|
|
||||||
# reboot
|
# reboot
|
||||||
$bindsym r exec $purge_cliphist; exec systemctl reboot
|
$bindsym r exec $purge_cliphist; exec systemctl reboot
|
||||||
|
|
||||||
# Return to default mode.
|
# Return to default mode.
|
||||||
$bindsym Escape mode "default"
|
$bindsym Escape mode "default"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user