Compare commits
9
Commits
9344f1243d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8509f2ad1c | ||
|
|
92308d3147 | ||
|
|
6903aeec29 | ||
|
|
706a602e33 | ||
|
|
77c616227e | ||
|
|
a42b741022 | ||
|
|
8df49bd750 | ||
|
|
cdc751cae8 | ||
|
|
2d2b176b85 |
@@ -119,6 +119,7 @@ packages:
|
||||
- grim
|
||||
- jdk-openjdk
|
||||
- jq
|
||||
- yq
|
||||
- kdeconnect
|
||||
- kitty
|
||||
- librewolf
|
||||
@@ -172,8 +173,12 @@ packages:
|
||||
yay:
|
||||
- teams-for-linux-bin
|
||||
- docker
|
||||
- docker-credential-secretservice-bin
|
||||
- docker-compose
|
||||
- claude
|
||||
- claude-code
|
||||
- webstorm
|
||||
- webstorm-jre
|
||||
- azure-cli
|
||||
- terraform
|
||||
- postgresql-libs
|
||||
|
||||
+9
@@ -23,6 +23,15 @@ fi
|
||||
# spotify hash: <not installed>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ $spotifyPath := "/usr/bin/spotify" }}
|
||||
{{ $s := stat $spotifyPath }}
|
||||
{{ if and $s (hasKey $s "Exists") $s.Exists }}
|
||||
# spotify hash: {{ include $spotifyPath | sha256sum }}
|
||||
{{ else }}
|
||||
# spotify hash: <not installed>
|
||||
{{ end }}
|
||||
|
||||
{{ $catppuccinPath := joinPath .chezmoi.homeDir ".config/spicetify-catppuccin-theme/catppuccin/app.scss" }}
|
||||
{{ $c := stat $catppuccinPath }}
|
||||
{{ if and $c (hasKey $c "Exists") $c.Exists }}
|
||||
@@ -661,10 +661,10 @@
|
||||
"enabled": true
|
||||
}
|
||||
],
|
||||
"spacing": 4,
|
||||
"spacing": 0,
|
||||
"innerPadding": 6,
|
||||
"barInsetPadding": 4,
|
||||
"bottomGap": 0,
|
||||
"bottomGap": -16,
|
||||
"transparency": 0,
|
||||
"widgetTransparency": 1,
|
||||
"squareCorners": false,
|
||||
|
||||
+71
-8
@@ -1,10 +1,73 @@
|
||||
local workspace_rules = {}
|
||||
|
||||
{{ if eq .chezmoi.hostname "ia-frank-xps13" -}}
|
||||
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 },
|
||||
}
|
||||
{{- else if eq .chezmoi.hostname "arch-next" -}}
|
||||
hl.monitor({
|
||||
output = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52",
|
||||
scale = 1,
|
||||
position = "0x0",
|
||||
mode = "3440x1440@120",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "desc:Dell Inc. DELL U2724D DL7R834",
|
||||
scale = 1,
|
||||
position = "3440x0",
|
||||
mode = "2560x1440@120",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "desc:Dell Inc. DELL U2414H 292K475V26JL",
|
||||
scale = 1,
|
||||
position = "760x-1080",
|
||||
mode = "1920x1080@60",
|
||||
})
|
||||
local workspace_rules = {
|
||||
{ workspace = "1", monitor = "desc:GIGA-BYTE TECHNOLOGY CO. LTD. M34WQ 0x00000B52", default = true, persistent = true},
|
||||
{ workspace = "9", monitor = "desc:Dell Inc. DELL U2724D DL7R834", default = true, persistent = true},
|
||||
{ workspace = "10", monitor = "desc:Dell Inc. DELL U2414H 292K475V26JL", default = true, persistent = true},
|
||||
}
|
||||
{{- end }}
|
||||
|
||||
|
||||
|
||||
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"
|
||||
@@ -47,25 +110,25 @@ local profiles = {
|
||||
work = {
|
||||
priority = 10,
|
||||
monitors = {
|
||||
"eDP-1",
|
||||
"desc:Dell Inc. DELL U2724DE BD19MF4",
|
||||
"desc:Dell Inc. DELL U2724D 1CQFMF4",
|
||||
"desc:Dell Inc. DELL U2724DE BD19MF4",
|
||||
"eDP-1",
|
||||
},
|
||||
disable_other_monitors = false,
|
||||
monitor_config = {
|
||||
["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"},
|
||||
["desc:Dell Inc. DELL U2724DE BD19MF4"] = {disabled=false, scale=1, position="1920x0", mode="2560x1440@120"},
|
||||
["desc:Dell Inc. DELL U2724D 1CQFMF4"] = {disabled=false, scale=1, position="4480x0", mode="2560x1440@120"},
|
||||
},
|
||||
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 = "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 = "9", monitor = "eDP-1", default = true, persistent = true },
|
||||
{ workspace = "10", monitor = "eDP-1", persistent = true },
|
||||
},
|
||||
@@ -221,6 +221,10 @@ rule(
|
||||
{ matches_class("^(hyprland-share-picker)$") },
|
||||
{ float(), center(), pin() }
|
||||
)
|
||||
rule(
|
||||
{ matches_class("^(gcr-prompter)$") },
|
||||
{ float(), center(), pin() }
|
||||
)
|
||||
|
||||
-- Nemo
|
||||
rule(
|
||||
@@ -293,3 +297,4 @@ rule(
|
||||
{ matches_initial_class("^(jetbrains-toolbox)$") },
|
||||
{ float(), center(), pin() }
|
||||
)
|
||||
|
||||
|
||||
@@ -1,12 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
(sleep 1 ; hyprctl eval 'request_apply_monitor_profile()') &
|
||||
(sleep 2 ; hyprctl eval 'request_apply_monitor_profile()') &
|
||||
(sleep 3 ; hyprctl eval 'request_apply_monitor_profile()') &
|
||||
|
||||
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- thunderbird", {workspace = 10})'
|
||||
{{ if eq .work_env true -}}
|
||||
# outlook
|
||||
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- /home/frank/.local/share/applications/librewolf.webapp-e7db0a1c-02e9-42cc-a5da-8fdc222e89dc.desktop", {workspace = 9})'
|
||||
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- jetbrains-toolbox.desktop")'
|
||||
{{ end -}}
|
||||
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- nextcloud")'
|
||||
sleep 3
|
||||
@@ -15,3 +16,7 @@ hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- signal-desktop --ozone-platform=w
|
||||
{{ if eq .work_env true -}}
|
||||
hyprctl dispatch 'hl.dsp.exec_cmd("uwsm app -- teams-for-linux.desktop", {workspace = 9})'
|
||||
{{ end -}}
|
||||
sleep 2
|
||||
hyprctl dispatch 'hl.dsp.focus({workspace = 10})'
|
||||
hyprctl dispatch 'hl.dsp.focus({workspace = 9})'
|
||||
hyprctl dispatch 'hl.dsp.focus({workspace = 1})'
|
||||
|
||||
@@ -1,27 +1,21 @@
|
||||
{{ $rss := "x" }}
|
||||
{{ $cal := "x" }}
|
||||
{{ $mail := "x" }}
|
||||
{{ $tb := "x" }}
|
||||
{{ $news := "x" }}
|
||||
|
||||
{{- $rss := "x" -}}
|
||||
{{- $cal := "x" -}}
|
||||
{{- $mail := "x" -}}
|
||||
{{- $tb := "x" -}}
|
||||
{{- $news := "x" -}}
|
||||
{{- if eq .chezmoi.hostname "arch-next" -}}
|
||||
|
||||
{{- $rss = "userapp-Thunderbird-Y886T3.desktop" -}}
|
||||
{{- $cal = "userapp-Thunderbird-NA25T3.desktop" -}}
|
||||
{{- $mail = "userapp-Thunderbird-Q3N5T3.desktop" -}}
|
||||
{{- $tb = "userapp-Thunderbird-SIG6T3.desktop" }}
|
||||
{{- $news = "userapp-Thunderbird-A0Q6T3.desktop" }}
|
||||
|
||||
{{- $tb = "userapp-Thunderbird-SIG6T3.desktop" -}}
|
||||
{{- $news = "userapp-Thunderbird-A0Q6T3.desktop" -}}
|
||||
{{- else if eq .chezmoi.hostname "ia-frank-xps13" -}}
|
||||
|
||||
{{- $rss = "userapp-Thunderbird-WTV1S3.desktop" -}}
|
||||
{{- $cal = "userapp-Thunderbird-X7G9S3.desktop" -}}
|
||||
{{- $mail = "userapp-Thunderbird-3QI0S3.desktop" -}}
|
||||
{{- $tb = "userapp-Thunderbird-U229S3.desktop" -}}
|
||||
{{- $news = "userapp-Thunderbird-AH40S3.desktop" -}}
|
||||
|
||||
{{- end -}}
|
||||
|
||||
[Default Applications]
|
||||
application/pdf=librewolf.desktop
|
||||
application/rss+xml={{ $rss }}
|
||||
@@ -89,9 +83,9 @@ x-scheme-handler/feed={{ $rss }};
|
||||
x-scheme-handler/mailto={{ $mail }};
|
||||
x-scheme-handler/mid={{ $mail }};
|
||||
x-scheme-handler/net.thunderbird={{ $tb }};
|
||||
x-scheme-handler/news={{ $rss }};
|
||||
x-scheme-handler/nntp={{ $rss }};
|
||||
x-scheme-handler/snews={{ $rss }};
|
||||
x-scheme-handler/news={{ $news }};
|
||||
x-scheme-handler/nntp={{ $news }};
|
||||
x-scheme-handler/snews={{ $news }};
|
||||
x-scheme-handler/webcal={{ $cal }};
|
||||
x-scheme-handler/webcals={{ $cal }};
|
||||
application/xhtml+xml=librewolf.desktop;
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"credStore": "secretservice",
|
||||
"auths": {},
|
||||
"currentContext": "default",
|
||||
"plugins": {
|
||||
"-x-cli-hints": {
|
||||
"enabled": "true"
|
||||
},
|
||||
"ai": {
|
||||
"hooks": "build,buildx build,run,compose"
|
||||
},
|
||||
"compose": {
|
||||
"hooks": "logs,compose logs,compose attach,compose up"
|
||||
},
|
||||
"debug": {
|
||||
"hooks": "exec"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"hooks": "true"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user