Migrate to new config

This commit is contained in:
elkowar 2025-01-26 17:15:49 +01:00
parent 49746bd334
commit f1d41e1130
Signed by: ElKowar
GPG key ID: 862BA3D7D7760F13
4 changed files with 54 additions and 41 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/.yolk_git
/.deployed_cache
/.git

View file

@ -1,4 +1,4 @@
// vim:set ft=kdl:
// vim:set ft=kdl shiftwidth=4 commentstring=//%s:
input {
keyboard {
xkb {
@ -52,26 +52,26 @@ output "Philips Consumer Electronics Company PHL 345B1C 0x00008E7C" {
position x=0 y=0
// {% end %}
}
// {% if device.desktop %}
//<yolk> output "HDMI-A-1" {
// {% if device.desktop %}
//<yolk> output "HDMI-A-1" {
//<yolk> mode "2560x1440"
//<yolk> scale 1
//<yolk> position x=0 y=0
//<yolk> }
//<yolk> }
// {% elif device.thinkix %}
//<yolk> output "HDMI-A-1" {
//<yolk> mode "1920x1080"
//<yolk> scale 1
//<yolk> position x=0 y=0
//<yolk> //off
//<yolk> mode "1920x1080"
//<yolk> scale 1
//<yolk> position x=0 y=0
//<yolk> //off
//<yolk> }
//<yolk> output "eDP-1" {
//<yolk> mode "1920x1080@60"
//<yolk> scale 1.0
//<yolk> transform "normal"
//<yolk> position x=0 y=1440
//<yolk> mode "1920x1080@60"
//<yolk> scale 1.0
//<yolk> transform "normal"
//<yolk> position x=0 y=1440
//<yolk> }
// {% end %}
@ -182,12 +182,14 @@ window-rule {
match app-id=r#"1Password"#
match title=r#"[gG]mail"#
match title=r#".*[Ww]hats[aA]pp.*$"#
match title=r#".*Ente Photos.*"#
block-out-from "screen-capture"
}
window-rule {
match app-id=r#"^1Password$"#
open-floating true
}
window-rule {
match title=r#"Picture-in-Picture"#
max-width 300
@ -203,6 +205,7 @@ window-rule {
window-rule {
match title=r#"^.* is sharing your screen.$"#;
open-floating true
}
// window-rule {
@ -213,6 +216,13 @@ window-rule {
window-rule {
shadow {
on
spread 0
softness 20
// offset x=1 y=-1
}
clip-to-geometry true
geometry-corner-radius 8
}

View file

@ -89,6 +89,8 @@
"panel.background": "#282828",
"tab_bar.background": "#282828",
"border": "#3c3836"
// "border": "#3c3836",
"border": "#282828",
"title_bar.background": "#1d2021"
}
}

View file

@ -22,7 +22,7 @@ export let eggs = #{
"eww-bar": merge_into_home(device.linux && device.desktop, []),
"foot": #{ enabled: device.linux, targets: "~/.config/foot", templates: ["foot.ini"] },
"git": merge_into_home(true, [".gitconfig"]),
"niri": #{ enabled: device.linux, targets: "~/.config/niri", templates: ["**/*.kdl"] },
"niri": #{ enabled: device.linux, targets: "~/.config/niri", templates: ["**/*.kdl"], main_file: "config.kdl" },
"nvim": #{ strategy: "put", targets: "~/.config/nvim", main_file: "init.lua" },
"profile": #{ enabled: device.linux, strategy: "merge", targets: "~" },
"starship": merge_into_home(true, []),