Blue color changed, fix media keys.

This commit is contained in:
Bartek Stalewski 2023-11-16 23:50:38 +01:00
parent 2f2308d4d2
commit e3daba2764
4 changed files with 12 additions and 12 deletions

View file

@ -22,7 +22,7 @@ urgent=yes
9=fa7fac
10=bde271
11=fff27f
12=005577
12=0094d8
13=bd9eff
14=5ed6fe
15=feffff

View file

@ -24,13 +24,6 @@ else:
Key([mod], "space", lazy.spawncmd()),
Key([mod], "e", lazy.spawn("selector-chars")),
Key([mod, "control"], "a", lazy.spawn("selector-audio")),
# media keys
Key([], "XF86AudioMute", lazy.spawn("pactl set-sink-mute @DEFAULT_SINK@ toggle")),
Key([], "XF86AudioMicMute", lazy.spawn("sb-volume micmute")),
Key([], "XF86AudioRaiseVolume", lazy.spawn("sb-volume inc")),
Key([], "XF86AudioLowerVolume", lazy.spawn("sb-volume dec")),
Key([], "XF86MonBrightnessUp", lazy.spawn("doas xbacklight -inc 10")),
Key([], "XF86MonBrightnessDown", lazy.spawn("doas xbacklight -dec 10")),
]
groups = [
Group("1", label="1"),
@ -56,7 +49,7 @@ else:
highlight_method='block',
mouse_callbacks={"Button1": lambda: None},
rounded=False,
this_current_screen_border='#005577',
this_current_screen_border='#0094d8',
urgent_alert_method='block',
urgent_border='#770000',
use_mouse_wheel=False,
@ -150,6 +143,13 @@ keys.extend([
Key([mod, "control", "shift"], "q", lazy.shutdown()),
Key([mod, "control", "shift"], "r", lazy.reload_config()),
Key([mod], "r", lazy.reload_config()),
# media keys
Key([], "XF86AudioMute", lazy.spawn("pactl set-sink-mute @DEFAULT_SINK@ toggle")),
Key([], "XF86AudioMicMute", lazy.spawn("sb-volume micmute")),
Key([], "XF86AudioRaiseVolume", lazy.spawn("sb-volume inc")),
Key([], "XF86AudioLowerVolume", lazy.spawn("sb-volume dec")),
Key([], "XF86MonBrightnessUp", lazy.spawn("doas xbacklight -inc 10")),
Key([], "XF86MonBrightnessDown", lazy.spawn("doas xbacklight -dec 10")),
])
for i in groups[:10]:
@ -192,7 +192,7 @@ floating_layout = layout.Floating(
Match(title="Save Image"),
Match(wm_class="bluetuith")
],
border_focus='#005577',
border_focus='#0094d8',
border_normal="#272822",
border_width=5,
)