diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml index 2bde118..502c0ca 100644 --- a/alacritty/alacritty.toml +++ b/alacritty/alacritty.toml @@ -24,7 +24,9 @@ key = "Return" mods = "Control|Shift" [window] -opacity = 0.9 +opacity = 0.7 [general] -import = ["/home/crimsen/.config/alacritty/catppuccin/catppuccin-macchiato.toml"] +import = [ + "/home/crimsen/.config/alacritty/catppuccin/catppuccin-macchiato.toml", +] diff --git a/sway/config.d/20-idle.conf b/sway/config.d/20-idle.conf index 1c4a3bd..c5d3ac8 100644 --- a/sway/config.d/20-idle.conf +++ b/sway/config.d/20-idle.conf @@ -10,3 +10,16 @@ # This will lock your screen after 300 seconds of inactivity, then turn off # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. + +# Definiere den Lock-Befehl (falls noch nicht geschehen) +set $lock_cmd swaylock --screenshots --clock --indicator --indicator-radius 120 --indicator-thickness 10 --ignore-empty-password --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.3 --ring-color 8bd5ca --key-hl-color 91d7e3 --text-color cad3f5 --line-color 00000000 --inside-color 24273a88 --separator-color 00000000 --ring-ver-color 8aadf4 --inside-ver-color 24273a88 --ring-wrong-color ed8796 --inside-wrong-color 24273a88 --text-wrong-color ed8796 --bs-hl-color ed8796 --effect-compose "50%,25%;150x150;center;/home/crimsen/Bilder/wallpaper/logo.png" + +# Swayidle Konfiguration +exec swayidle -w \ + timeout 300 '$lock_cmd' \ + timeout 600 'swaymsg "output * power off"' \ + resume 'swaymsg "output * power on"' \ + before-sleep '$lock_cmd' + +# Shortcut zum Sperren (z.B. Mod + L) +bindsym $mod+Shift+j exec $lock_cmd diff --git a/sway/config.d/20-key_bindings.conf b/sway/config.d/20-key_bindings.conf index 1d5097b..7779f0d 100644 --- a/sway/config.d/20-key_bindings.conf +++ b/sway/config.d/20-key_bindings.conf @@ -23,7 +23,8 @@ bindsym $mod+Shift+c reload # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+l exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + # bindsym $mod+Shift+l exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + bindsym $mod+Shift+l exec wlogout -b 2 -c 50 -r 50 -m 200 -L 400 -R 400 --no-span bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status diff --git a/sway/config.d/20-output.conf b/sway/config.d/20-output.conf index 0b519d8..a230204 100644 --- a/sway/config.d/20-output.conf +++ b/sway/config.d/20-output.conf @@ -2,7 +2,8 @@ # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) #output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill -output * bg $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg fill +# output * bg $HOME/Bilder/wallpaper/undertale_sans-wallpaper-2048x1152.jpg fill +output * bg $HOME/Bilder/wallpaper/romantic-night-sky-5120x2880-25549.jpg fill #output * bg $HOME/Bilder/wallpaper.jpg fill # # Example configuration: diff --git a/sway/config.d/98-eye-candy.conf b/sway/config.d/98-eye-candy.conf index d554b32..2c2f890 100644 --- a/sway/config.d/98-eye-candy.conf +++ b/sway/config.d/98-eye-candy.conf @@ -41,10 +41,29 @@ blur_radius 7 # for_window [class="waybar"] blur on # for_window [class="waybar"] opacity 0.8 +default_border pixel 2 +# +# title_window_icon yes +# border 10pixel + layer_effects "waybar" { blur enable; - blur_xray enable; - blur_ignore_transparent enable; +blur_xray enable + shadows enable; + corner_radius 12; +} +# Effekte für SwayNotificationCenter +layer_effects "swaync" { + blur enable; + blur_xray enable + shadows enable; + corner_radius 12; +} + +# Effekte für Wofi +layer_effects "wofi" { + blur enable; +blur_xray enable shadows enable; corner_radius 12; } @@ -52,6 +71,9 @@ default_dim_inactive 0.4 titlebar_separator enable +#titlebar_padding 10 5 +titlebar_border_thickness 2 scratchpad_minimize enable - +# Alle Fenster standardmäßig leicht transparent machen +for_window [class=".*"] opacity 0.8 diff --git a/wallpaper/logo.png b/wallpaper/logo.png new file mode 100644 index 0000000..7d29e39 Binary files /dev/null and b/wallpaper/logo.png differ diff --git a/wallpaper/romantic-night-sky-5120x2880-25549.jpg b/wallpaper/romantic-night-sky-5120x2880-25549.jpg new file mode 100644 index 0000000..71806eb Binary files /dev/null and b/wallpaper/romantic-night-sky-5120x2880-25549.jpg differ diff --git a/wlogout/icons/hibernate.svg b/wlogout/icons/hibernate.svg new file mode 100644 index 0000000..efd5a33 --- /dev/null +++ b/wlogout/icons/hibernate.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/lock.svg b/wlogout/icons/lock.svg new file mode 100644 index 0000000..94d0705 --- /dev/null +++ b/wlogout/icons/lock.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/logout.svg b/wlogout/icons/logout.svg new file mode 100644 index 0000000..2eb4984 --- /dev/null +++ b/wlogout/icons/logout.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/reboot.svg b/wlogout/icons/reboot.svg new file mode 100644 index 0000000..de9fdc2 --- /dev/null +++ b/wlogout/icons/reboot.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/shutdown.svg b/wlogout/icons/shutdown.svg new file mode 100644 index 0000000..1579c48 --- /dev/null +++ b/wlogout/icons/shutdown.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/icons/suspend.svg b/wlogout/icons/suspend.svg new file mode 100644 index 0000000..ae26ba2 --- /dev/null +++ b/wlogout/icons/suspend.svg @@ -0,0 +1,7 @@ + + + + + Svg Vector Icons : http://www.onlinewebfonts.com/icon + + diff --git a/wlogout/layout b/wlogout/layout new file mode 100644 index 0000000..e288379 --- /dev/null +++ b/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "swaylock --screenshots --clock --indicator --indicator-radius 120 --indicator-thickness 10 --ignore-empty-password --effect-blur 7x5 --effect-vignette 0.5:0.5 --fade-in 0.3 --ring-color 8bd5ca --key-hl-color 91d7e3 --text-color cad3f5 --line-color 00000000 --inside-color 24273a88 --separator-color 00000000 --ring-ver-color 8aadf4 --inside-ver-color 24273a88 --ring-wrong-color ed8796 --inside-wrong-color 24273a88 --text-wrong-color ed8796 --bs-hl-color ed8796 --effect-compose '50%,25%;150x150;center;/home/crimsen/Bilder/wallpaper/logo.png'", + "text" : "Lock", + "keybind" : "l" +} +{ + "label" : "logout", + "action" : "loginctl terminate-user $USER", + "text" : "Logout", + "keybind" : "e" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "Shutdown", + "keybind" : "s" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "Suspend", + "keybind" : "u" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "Reboot", + "keybind" : "r" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "Hibernate", + "keybind" : "h" +} diff --git a/wlogout/style.css b/wlogout/style.css new file mode 100644 index 0000000..1237109 --- /dev/null +++ b/wlogout/style.css @@ -0,0 +1,55 @@ +* { + background-image: none; + box-shadow: none; +} + +window { + background-color: rgba(36, 39, 58, 0.8); +} + +button { + border-radius: 5rem; + border-color: #8bd5ca; + font-family: "JetBrainsMono Nerd Font"; + font-size: 3rem; + text-decoration-color: #cad3f5; + color: #cad3f5; + background-color: rgba(30, 32, 48, 0.7); + border-style: solid; + border-width: 1px; + background-repeat: no-repeat; + background-position: center; + background-size: 25%; +} + +button:focus, +button:active, +button:hover { + /* 20% Overlay 2, 80% mantle */ + background-color: rgb(53, 57, 75); + outline-style: none; +} + +#lock { + background-image: url("/home/crimsen/.config/wlogout/icons/lock.svg"); +} + +#logout { + background-image: url("/home/crimsen/.config/wlogout/icons/logout.svg"); +} + +#suspend { + background-image: url("/home/crimsen/.config/wlogout/icons/suspend.svg"); +} + +#hibernate { + background-image: url("/home/crimsen/.config/wlogout/icons/hibernate.svg"); +} + +#shutdown { + background-image: url("/home/crimsen/.config/wlogout/icons/shutdown.svg"); +} + +#reboot { + background-image: url("/home/crimsen/.config/wlogout/icons/reboot.svg"); +} diff --git a/wofi/src/macchiato/blue/style.css b/wofi/src/macchiato/blue/style.css index b77319d..09b1c2e 100644 --- a/wofi/src/macchiato/blue/style.css +++ b/wofi/src/macchiato/blue/style.css @@ -1,8 +1,11 @@ /* Macchiato Blue */ -@define-color accent #8aadf4; +/*@define-color accent #8aadf4;*/ +@define-color accent rgba(138, 173, 244, 0.8); @define-color txt #cad3f5; -@define-color bg #24273a; -@define-color bg2 #494d64; +@define-color bg rgba(36, 39, 58, 0.7); +/* @define-color bg #24273a; */ +@define-color bg2 rgba(73, 77, 100, 0.7); +/* @define-color bg2 #494d64; */ * { /* font-family: "JetBrains Mono Nerd Font", monospace; */