diff --git a/home/desktop.nix b/home/desktop.nix index 05ef040..98993d7 100644 --- a/home/desktop.nix +++ b/home/desktop.nix @@ -67,5 +67,6 @@ }; programs.firefox = { enable = true; + # package = pkgs.firefox-devedition-bin-unwrapped; }; } diff --git a/home/sway.nix b/home/sway.nix index ee51447..3b4c947 100644 --- a/home/sway.nix +++ b/home/sway.nix @@ -273,8 +273,10 @@ in "${modifier}+XF86AudioMute" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') toggle"''; "XF86AudioMicMute" = ''exec "ponymix -N -t source -d $(ponymix -t source list | grep source | grep -v -E '(monitor|fallback)' | sed -r 's/source\s([0-9]+):.*/\1/') toggle"''; - "XF86MonBrightnessUp" = ''exec "sh ~/.local/bin/key_light.sh up"''; - "XF86MonBrightnessDown" = ''exec "sh ~/.local/bin/key_light.sh down"''; + "XF86MonBrightnessUp" = ''exec brightnessctl set +10% && \ + notify-send -h "int:value:$(brightnessctl -m info | cut -d',' -f4)" -i display-brightness-symbolic -a Display Light -t 1000''; + "XF86MonBrightnessDown" = ''exec brightnessctl set 10%- && \ + notify-send -h "int:value:$(brightnessctl -m info | cut -d',' -f4)" -i display-brightness-symbolic -a Display Light -t 1000''; "XF86Display" = ''exec "swaymsg output eDP-1 toggle"''; "${modifier}+p" = "exec passmenu"; @@ -366,7 +368,7 @@ in }; programs.alacritty = { - # enable = true; + enable = true; settings = { background_opacity = 0.95; font.size = 8;