diff --git a/flake.lock b/flake.lock index 9d598b8..7144cc8 100755 --- a/flake.lock +++ b/flake.lock @@ -720,8 +720,8 @@ ] }, "locked": { - "lastModified": 1791067497, - "narHash": "sha256-NZFD6YvMg3CY6b8ESUU6Ad2Xl6EIB/a5GKLyaAv0eG0=", + "lastModified": 1791120198, + "narHash": "sha256-AlOeMADaAoKHoPBXo5LIEM8aPVQazT34mDqIhdKtHhU=", "path": "/home/elars/Projects/valw", "type": "path" }, diff --git a/modules/home/home-noctalia.ulu.nix b/modules/home/home-noctalia.ulu.nix index bd82b49..cfff57f 100644 --- a/modules/home/home-noctalia.ulu.nix +++ b/modules/home/home-noctalia.ulu.nix @@ -224,6 +224,7 @@ "whyoolw/sharednd" "nightwatch75/todo" "avivbintangaringga/nix-monitor" + "elars/valw" ]; plugin_settings = { @@ -321,6 +322,7 @@ "Killer" "notes" "recorder" + "valw" ]; opacity = 0.0; padding = 0.0; @@ -391,6 +393,7 @@ members = [ "notifications" "recorder" + "valw" "Killer" "notes" "nix-monitor" @@ -820,6 +823,11 @@ type = "noctalia/screen_recorder:recorder"; }; + valw = { + scale = 1.2; + type = "elars/valw:bar"; + }; + screen_recorder = { audio_codec = "aac"; audio_source = "both"; diff --git a/modules/home/home-valw.ulu.nix b/modules/home/home-valw.ulu.nix index e47a1b3..f9e35fd 100644 --- a/modules/home/home-valw.ulu.nix +++ b/modules/home/home-valw.ulu.nix @@ -9,6 +9,8 @@ enable = true; # Checked by valw itself when the configuration is built. settings.capture.window_shadow = true; + # A bar button, the toolbar as a Noctalia panel, a control-center tile. + noctalia.enable = true; }; }; } diff --git a/modules/home/niri/desktop-niri-keybinds.ulu.nix b/modules/home/niri/desktop-niri-keybinds.ulu.nix index 4058f7f..5ab1d8d 100644 --- a/modules/home/niri/desktop-niri-keybinds.ulu.nix +++ b/modules/home/niri/desktop-niri-keybinds.ulu.nix @@ -42,7 +42,12 @@ "Print".action.spawn = [ "valw" "screen" ]; "Mod+Shift+W".action.spawn = [ "valw" "window" ]; "Mod+Shift+Z".action.spawn = [ "valw" "zoom" ]; - "Mod+Shift+T".action.spawn = [ "valw" "toolbar" ]; + "Mod+Shift+T".action.spawn = [ + "noctalia" + "msg" + "panel-toggle" + "elars/valw:toolbar" + ]; "Ctrl+Shift+Escape".action.spawn = [ "ghostty" "-e"