mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
home/sway: improve handling of optional swayfx configuration
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
Some checks are pending
flakehub / flakehub-publish (push) Waiting to run
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
This commit is contained in:
parent
01096d5a44
commit
49ff24b4a9
|
@ -228,7 +228,8 @@ in {
|
|||
workspaceAutoBackAndForth = true;
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
extraConfig =
|
||||
''
|
||||
bindsym --locked XF86MonBrightnessUp exec ${helpers.brightness.up}
|
||||
bindsym --locked XF86MonBrightnessDown exec ${helpers.brightness.down}
|
||||
bindsym --locked XF86AudioRaiseVolume exec ${helpers.volume.up}
|
||||
|
@ -253,10 +254,9 @@ in {
|
|||
|
||||
bindswitch --reload --locked lid:on output eDP-1 disable
|
||||
bindswitch --reload --locked lid:off output eDP-1 enable
|
||||
|
||||
${
|
||||
if config.wayland.windowManager.sway.package == pkgs.swayfx
|
||||
then "
|
||||
''
|
||||
+ lib.strings.optionalString (config.wayland.windowManager.sway.package
|
||||
== pkgs.swayfx) ''
|
||||
blur enable
|
||||
blur_passes 1
|
||||
|
||||
|
@ -279,8 +279,6 @@ in {
|
|||
layer_effects swayosd blur enable
|
||||
layer_effects swayosd blur_ignore_transparent enable
|
||||
layer_effects waybar blur enable
|
||||
layer_effects waybar blur_ignore_transparent enable"
|
||||
else ""
|
||||
}
|
||||
layer_effects waybar blur_ignore_transparent enable
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue