From 8a0c5cbb844ed2af18fb77dc89523f0acde22bce Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 10 Dec 2021 07:52:41 +0100 Subject: Add $mod+n for gammastep (blue filter) toggle in Sway --- .config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 585c797..b788577 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -247,4 +247,7 @@ input * { # a screenshot utility (pacman -S grim slurp swappy otf-font-awesome wl-clipboard) bindsym $mod+i exec grim -g "$(slurp)" - | swappy -f - +# toggle night mode (display blue filter) +bindsym $mod+n exec pgrep gammastep && pkill gammastep || gammastep -O 4500 & + include /etc/sway/config.d/* -- cgit v1.2.3-70-g09d2