From 706a602e33d51baf3121fa8d292ea3b9ee4f8c07 Mon Sep 17 00:00:00 2001 From: Frank Zechert Date: Thu, 27 Aug 2026 09:05:06 +0200 Subject: [PATCH] update configuration of hyprland and docker install packages --- user/.chezmoidata/packages.yaml | 2 + ...mpl => run_onchange_after_spotify.sh.tmpl} | 9 +++++ user/dot_config/hypr/hyprland-monitors.lua | 39 +++++++++++++++++-- 3 files changed, 46 insertions(+), 4 deletions(-) rename user/.chezmoiscripts/{run_onchange_after_install-spicetify-theme.sh.tmpl => run_onchange_after_spotify.sh.tmpl} (87%) diff --git a/user/.chezmoidata/packages.yaml b/user/.chezmoidata/packages.yaml index 81f281e..e7bb136 100644 --- a/user/.chezmoidata/packages.yaml +++ b/user/.chezmoidata/packages.yaml @@ -173,6 +173,8 @@ packages: yay: - teams-for-linux-bin - docker + - docker-credential-secretservice-bin + - docker-compose - claude - claude-code - webstorm diff --git a/user/.chezmoiscripts/run_onchange_after_install-spicetify-theme.sh.tmpl b/user/.chezmoiscripts/run_onchange_after_spotify.sh.tmpl similarity index 87% rename from user/.chezmoiscripts/run_onchange_after_install-spicetify-theme.sh.tmpl rename to user/.chezmoiscripts/run_onchange_after_spotify.sh.tmpl index 39df875..375d38f 100644 --- a/user/.chezmoiscripts/run_onchange_after_install-spicetify-theme.sh.tmpl +++ b/user/.chezmoiscripts/run_onchange_after_spotify.sh.tmpl @@ -23,6 +23,15 @@ fi # spotify hash: {{ end }} + +{{ $spotifyPath := "/usr/bin/spotify" }} +{{ $s := stat $spotifyPath }} +{{ if and $s (hasKey $s "Exists") $s.Exists }} +# spotify hash: {{ include $spotifyPath | sha256sum }} +{{ else }} +# spotify hash: +{{ end }} + {{ $catppuccinPath := joinPath .chezmoi.homeDir ".config/spicetify-catppuccin-theme/catppuccin/app.scss" }} {{ $c := stat $catppuccinPath }} {{ if and $c (hasKey $c "Exists") $c.Exists }} diff --git a/user/dot_config/hypr/hyprland-monitors.lua b/user/dot_config/hypr/hyprland-monitors.lua index d7d94de..eb7551c 100644 --- a/user/dot_config/hypr/hyprland-monitors.lua +++ b/user/dot_config/hypr/hyprland-monitors.lua @@ -2,9 +2,40 @@ hl.monitor({ output = "eDP-1", scale = 1, position = "0x0", - mode = "1920x1200@60" + mode = "1920x1200@120" }) +hl.monitor({ + output = "desc:Dell Inc. DELL U2724DE BD19MF4", + scale = 1, + position = "-2560x0", + mode = "2560x1440@120" +}) + +hl.monitor({ + output = "desc:Dell Inc. DELL U2724D 1CQFMF4", + scale = 1, + position = "-5120x0", + mode = "2560x1440@120" +}) + +local workspace_rules = { + { workspace = "6", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", default = true, persistent = true }, + { workspace = "7", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", persistent = true }, + { workspace = "8", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", persistent = true }, + { workspace = "1", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", default = true, persistent = true }, + { workspace = "2", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true }, + { workspace = "3", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true }, + { workspace = "4", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true }, + { workspace = "5", monitor = "desc:Dell Inc. DELL U2724DE BD19MF4", persistent = true }, + { workspace = "9", monitor = "eDP-1", default = true, persistent = true }, + { workspace = "10", monitor = "eDP-1", persistent = true }, +} +for _, rule in ipairs(workspace_rules) do + hl.workspace_rule(rule) +end + + -- if multiple profiles match, profile with highest priority wins. -- if no profile match at all, the fallback_profile will be applied anyways. local fallback_profile="laptop" @@ -53,9 +84,9 @@ local profiles = { }, disable_other_monitors = false, monitor_config = { - ["desc:Dell Inc. DELL U2724D 1CQFMF4"] = {disabled=false, scale=1, position="0x0", mode="2560x1440@120"}, - ["desc:Dell Inc. DELL U2724DE BD19MF4"] = {disabled=false, scale=1, position="2560x0", mode="2560x1440@120"}, - ["eDP-1"] = {disabled=false, scale=1, position="5120x0", mode="1920x1200@120"}, + ["desc:Dell Inc. DELL U2724D 1CQFMF4"] = {disabled=false, scale=1, position="-5120x0", mode="2560x1440@120"}, + ["desc:Dell Inc. DELL U2724DE BD19MF4"] = {disabled=false, scale=1, position="-2560x0", mode="2560x1440@120"}, + ["eDP-1"] = {disabled=false, scale=1, position="0x0", mode="1920x1200@120"}, }, workspace_rules = { { workspace = "6", monitor = "desc:Dell Inc. DELL U2724D 1CQFMF4", default = true, persistent = true },