laptop stuff

This commit is contained in:
elkowar 2025-04-18 17:25:49 +02:00
parent d7d7ed36b9
commit 45d19ffac6
No known key found for this signature in database
6 changed files with 21 additions and 11 deletions

View file

@ -1,13 +1,18 @@
[Settings] [Settings]
gtk-icon-theme-name=oomox-materia-dark gtk-theme-name=Adwaita
gtk-icon-theme-name=Adwaita
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=phinger-cursors-light
gtk-cursor-theme-size=24
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1 gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=0
gtk-xft-antialias=1
gtk-xft-hinting=1 gtk-xft-hinting=1
gtk-xft-hintstyle=hintslight
gtk-xft-rgba=rgb gtk-xft-rgba=rgb
gtk-application-prefer-dark-theme=1 gtk-application-prefer-dark-theme=1
gtk-decoration-layout=":" gtk-decoration-layout=":"
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-enable-input-feedback-sounds=0
gtk-button-images=1
gtk-cursor-theme-size=0
gtk-cursor-theme-name=phinger-cursors-light

View file

@ -203,6 +203,7 @@ layer-rule {
window-rule { window-rule {
match app-id=r#"1Password"# match app-id=r#"1Password"#
match title="Open Folder" match title="Open Folder"
match title="Element.*"
match title=r#"[gG]mail"# match title=r#"[gG]mail"#
match title=r#".*[Ww]hats[aA]pp.*$"# match title=r#".*[Ww]hats[aA]pp.*$"#
match title=r#".*Ente Photos.*"# match title=r#".*Ente Photos.*"#

View file

@ -15,5 +15,5 @@
"news": { "news": {
"NEWS.md": "10960" "NEWS.md": "10960"
}, },
"version": 7 "version": 8
} }

View file

@ -65,4 +65,4 @@ fi
export NVM_DIR="$HOME/.config/nvm" export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
. "$HOME/.local/share/../bin/env" [ -f "$HOME/.local/bin/env" ] && . "$HOME/.local/bin/env"

View file

@ -8,11 +8,13 @@ export const theme = themes.gruvbox;
export const device = #{ export const device = #{
thinkix: SYSTEM.hostname == "thinkix", thinkix: SYSTEM.hostname == "thinkix",
crabbix: SYSTEM.hostname == "crabbix",
desktop: SYSTEM.hostname == "fedora.fritz.box" || SYSTEM.hostname == "fedora", desktop: SYSTEM.hostname == "fedora.fritz.box" || SYSTEM.hostname == "fedora",
laptop: SYSTEM.hostname == "thinkix" laptop: SYSTEM.hostname == "thinkix"
|| SYSTEM.hostname == "frissnix" || SYSTEM.hostname == "frissnix"
|| SYSTEM.device_name == "Matthiass MacBook Pro" || SYSTEM.device_name == "Matthiass MacBook Pro"
|| SYSTEM.hostname == "kenbun-laptop-leon", || SYSTEM.hostname == "kenbun-laptop-leon"
|| SYSTEM.hostname == "crabbix",
linux: SYSTEM.platform == "Linux", linux: SYSTEM.platform == "Linux",
windows: SYSTEM.platform == "Windows", windows: SYSTEM.platform == "Windows",
@ -21,6 +23,8 @@ export const device = #{
kenbun: SYSTEM.device_name == "Matthiass MacBook Pro" || SYSTEM.hostname == "kenbun-laptop-leon", kenbun: SYSTEM.device_name == "Matthiass MacBook Pro" || SYSTEM.hostname == "kenbun-laptop-leon",
}; };
device.linux_laptop = device.laptop && device.linux;
private fn merge_into_home(enabled, templates) { private fn merge_into_home(enabled, templates) {
#{ enabled: enabled, targets: "~", strategy: "merge", templates: templates } #{ enabled: enabled, targets: "~", strategy: "merge", templates: templates }