brightness key support, update flake
This commit is contained in:
parent
ea6b3c4d78
commit
71c041c920
3 changed files with 15 additions and 12 deletions
|
@ -597,11 +597,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1711965728,
|
"lastModified": 1711985860,
|
||||||
"narHash": "sha256-WUULR/jCvfJB8K+wtiUMgBgBtgNvBhZyNXGNBJhd6DA=",
|
"narHash": "sha256-clP8s7CYuUptC7CY8OrZOTRpYEust8XF/9XQujLuKKU=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "b91314fad69a1f08baaf6f0489a3801feef3721b",
|
"rev": "1c40627570b941dae9735ced05b7bf9d3ef380bc",
|
||||||
"revCount": 31,
|
"revCount": 32,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.grimmauld.de/Grimmauld/swaymux"
|
"url": "https://git.grimmauld.de/Grimmauld/swaymux"
|
||||||
},
|
},
|
||||||
|
|
|
@ -81,13 +81,13 @@
|
||||||
"bat": "BAT2"
|
"bat": "BAT2"
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"format-wifi": "{essid} ({signalStrength}%) ",
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{ifname} via {gwaddr} ",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
"format-disconnected": "Disconnected ⚠",
|
"format-disconnected": "Disconnected ⚠",
|
||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||||
|
"on-click-right": "rmenu -r network"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
|
|
@ -6,6 +6,7 @@ in {
|
||||||
wmenu
|
wmenu
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
|
brightnessctl
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
])
|
])
|
||||||
++ [ swaymux_pkg ];
|
++ [ swaymux_pkg ];
|
||||||
|
@ -120,13 +121,15 @@ in {
|
||||||
|
|
||||||
"$mod+r" = ''mode "resize"'';
|
"$mod+r" = ''mode "resize"'';
|
||||||
|
|
||||||
"XF86AudioRaiseVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
XF86AudioRaiseVolume = "exec pactl set-sink-volume @DEFAULT_SINK@ +5%";
|
||||||
"XF86AudioLowerVolume" = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
XF86AudioLowerVolume = "exec pactl set-sink-volume @DEFAULT_SINK@ -5%";
|
||||||
"XF86AudioMute" = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
XF86AudioMute = "exec pactl set-sink-mute @DEFAULT_SINK@ toggle";
|
||||||
"XF86AudioPlay" = "exec playerctl play-pause";
|
XF86AudioPlay = "exec playerctl play-pause";
|
||||||
"XF86AudioNext" = "exec playerctl next";
|
XF86AudioNext = "exec playerctl next";
|
||||||
"XF86AudioPrev" = "exec playerctl previous";
|
XF86AudioPrev = "exec playerctl previous";
|
||||||
"$mod+c" = "exec swaymux";
|
"$mod+c" = "exec swaymux";
|
||||||
|
XF86MonBrightnessUp = "exec brightnessctl s 10+%";
|
||||||
|
XF86MonBrightnessDown = "exec brightnessctl s 10-%";
|
||||||
};
|
};
|
||||||
autolaunch = [ # fixme: absolute paths
|
autolaunch = [ # fixme: absolute paths
|
||||||
"blueman-applet"
|
"blueman-applet"
|
||||||
|
|
Loading…
Reference in a new issue