summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2021-12-10 07:52:41 +0100
committerxengineering <me@xengineering.eu>2021-12-10 07:52:41 +0100
commit8a0c5cbb844ed2af18fb77dc89523f0acde22bce (patch)
treed972240b2caef076fffae671c73d899c572e2c04
parent89b66cf8fc1d5d925f177c63fae481c3eea37ddb (diff)
downloaddotfiles-8a0c5cbb844ed2af18fb77dc89523f0acde22bce.tar
dotfiles-8a0c5cbb844ed2af18fb77dc89523f0acde22bce.tar.zst
dotfiles-8a0c5cbb844ed2af18fb77dc89523f0acde22bce.zip
Add $mod+n for gammastep (blue filter) toggle in Sway
-rw-r--r--.config/sway/config3
1 files changed, 3 insertions, 0 deletions
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/*