From 1109f9137701349222974a8bb3c6a8983bb2df22 Mon Sep 17 00:00:00 2001 From: Sinsa Date: Sat, 13 Jun 2026 16:53:24 +0200 Subject: [PATCH] add sway --- sway/config | 20 ++++++++++++++++---- waybar/Modules | 18 ++++++++++++++---- waybar/ModulesCustom | 2 +- 3 files changed, 31 insertions(+), 9 deletions(-) diff --git a/sway/config b/sway/config index 6f1a453..7399820 100644 --- a/sway/config +++ b/sway/config @@ -17,12 +17,19 @@ set $right l set $term kitty # Your preferred application launcher -set $menu rofi -show drun +# set $menu rofi -show drun + +set $menu fuzzel ### Output configuration # # 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 /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_2048x1536_Portrait.png fill + + output eDP-1 bg /home/sinsa/Pictures/wallpapers/1.jpg fill + + + # # Example configuration: # @@ -43,6 +50,11 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # 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 sleitit ### Input configuration + + + + + # # Example configuration: # @@ -68,10 +80,10 @@ input type:keyboard { bindsym $mod+q exec $term # Kill focused window - bindsym $mod+Shift+c kill + bindsym $mod+c kill # Start your launcher - bindsym $mod+d exec $menu + bindsym $mod+Return exec $menu # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. diff --git a/waybar/Modules b/waybar/Modules index 9225ce0..4710b78 100644 --- a/waybar/Modules +++ b/waybar/Modules @@ -119,6 +119,16 @@ } }, + + + + + + + + + + "actions": { "on-click-right": "mode", "on-click-forward": "tz_up", @@ -128,15 +138,15 @@ }, "clock#2": { - "format": " {:%I:%M %p}", // AM PM format - //"format": " {:%H:%M}",// 24H + // "format": " {:%I:%M %p}", // AM PM format + "format": " {:%H:%M}",// 24H "format-alt": "{:%A | %H:%M | %e %B}", "tooltip-format": "{:%Y %B}\n{calendar}" }, "clock#3": { - "format": "{:%I:%M %p - %d/%b}",//for AM/PM - //"format": "{:%H:%M - %d/%b}",// 24H + //"format": "{:%I:%M %p - %d/%b}",//for AM/PM + "format": "{:%H:%M - %d/%b}",// 24H "tooltip": false }, diff --git a/waybar/ModulesCustom b/waybar/ModulesCustom index 276f3ed..f9d0722 100644 --- a/waybar/ModulesCustom +++ b/waybar/ModulesCustom @@ -234,7 +234,7 @@ "tooltip": false }, "custom/separator#blank": { - "format": "", + "format": " ", "interval": "once", "tooltip": false },