Fixed sdkman + added interface names to polybar

This commit is contained in:
Joachim Nielandt 2021-11-04 09:27:50 +01:00
parent 2cbfd6d5c7
commit 5a2d143831
4 changed files with 11 additions and 8 deletions

View File

@ -428,7 +428,8 @@ exec_always --no-startup-id sh ~/.fehbg
exec_always --no-startup-id picom --experimental-backends exec_always --no-startup-id picom --experimental-backends
# start greenclip, this somehow fails to start at launch (sometimes?) # start greenclip, this somehow fails to start at launch (sometimes?)
exec --no-startup-id systemctl --user start greenclip # exec --no-startup-id systemctl --user start greenclip
exec --no-startup-id greenclip daemon>/dev/null
# reload the walpaper / color configuratin using pywal # reload the walpaper / color configuratin using pywal

View File

@ -24,7 +24,6 @@
"class": "^Microsoft\\ Teams\\ \\-\\ Preview$", "class": "^Microsoft\\ Teams\\ \\-\\ Preview$",
"instance": "^microsoft\\ teams\\ \\-\\ preview$", "instance": "^microsoft\\ teams\\ \\-\\ preview$",
"machine": "^jnielandt$", "machine": "^jnielandt$",
"title": "^Tron\\ intorduction\\ \\|\\ Microsoft\\ Teams$",
"window_role": "^browser\\-window$" "window_role": "^browser\\-window$"
} }
], ],
@ -48,7 +47,6 @@
"class": "^discord$", "class": "^discord$",
"instance": "^discord$", "instance": "^discord$",
"machine": "^jnielandt$", "machine": "^jnielandt$",
"title": "^Discord$",
"window_role": "^browser\\-window$" "window_role": "^browser\\-window$"
} }
], ],
@ -83,7 +81,6 @@
"class": "^Slack$", "class": "^Slack$",
"instance": "^slack$", "instance": "^slack$",
"machine": "^jnielandt$", "machine": "^jnielandt$",
"title": "^Slack\\ \\|\\ dn_dutch\\ \\|\\ DN$",
"window_role": "^browser\\-window$" "window_role": "^browser\\-window$"
} }
], ],
@ -107,7 +104,6 @@
"class": "^Signal$", "class": "^Signal$",
"instance": "^signal$", "instance": "^signal$",
"machine": "^jnielandt$", "machine": "^jnielandt$",
"title": "^Signal$",
"window_role": "^browser\\-window$" "window_role": "^browser\\-window$"
} }
], ],

View File

@ -2,6 +2,6 @@
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# Set up SDKMAN # Set up SDKMAN
export SDKMAN_DIR="/home/jnieland/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "/home/jnieland/.sdkman/bin/sdkman-init.sh" ]] && source "/home/jnieland/.sdkman/bin/sdkman-init.sh" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"

View File

@ -409,6 +409,8 @@ type = internal/network
interval = 3.0 interval = 3.0
{{- if eq .chezmoi.hostname "dome" }} {{- if eq .chezmoi.hostname "dome" }}
interface = wlp3s0 interface = wlp3s0
{{- else if eq .chezmoi.hostname "jnielandt" }}
interface = wlp58s0
{{ else }} {{ else }}
interface = wifi0 interface = wifi0
{{- end }} {{- end }}
@ -446,8 +448,12 @@ unknown-as-up = false
[module/net] [module/net]
type = internal/network type = internal/network
interface = net0
{{- if eq .chezmoi.hostname "jnielandt" }}
interface = enp0s31f6
{{ else }}
interface = net0
{{- end }}
interval = 3.0 interval = 3.0