197 current 1970-01-01 01:00:00 24.05.20240303.b8697e5 6.6.19 *

This commit is contained in:
Max Känner 2024-03-13 11:01:27 +01:00
parent c2e17a4481
commit cca87f0771

View File

@ -8,7 +8,7 @@
key = "screen-keyboard-enabled"; key = "screen-keyboard-enabled";
squeekboard_toggle = pkgs.writeTextFile { squeekboard_toggle = pkgs.writeTextFile {
name = "squeekboard_toggle"; name = "squeekboard_toggle";
destination = "/bin/toggle_squeekboard"; destination = "/bin/squeekboard_toggle";
executable = true; executable = true;
text = '' text = ''
#!${pkgs.dash}/bin/dash #!${pkgs.dash}/bin/dash
@ -42,6 +42,8 @@ in {
kanshi # hotswap displays kanshi # hotswap displays
foot # terminal foot # terminal
keepassxc # used for secrets instead of gnome-keyring keepassxc # used for secrets instead of gnome-keyring
squeekboard_format
squeekboard_toggle
]; ];
wayland.windowManager.sway = { wayland.windowManager.sway = {
@ -299,9 +301,9 @@ in {
"custom/squeekboard" = let "custom/squeekboard" = let
in { in {
format = "{}"; format = "{}";
exec = "${squeekboard_format}/bin/squeekboard_format"; exec = "/bin/squeekboard_format";
exec-on-event = true; exec-on-event = true;
on-click = "${squeekboard_toggle}/bin/toggle_squeekboard"; on-click = "/bin/squeekboard_toggle";
}; };
"sway/language" = { "sway/language" = {