diff --git a/playbook.yml b/playbook.yml index da49a69..3a00628 100644 --- a/playbook.yml +++ b/playbook.yml @@ -11,7 +11,7 @@ pre_tasks: - name: Create btrfs snapshot before changes shell: | - sudo btrfs subvolume snapsho / /.snapshots/before-dotfiles-$(date +%Y%m%d-%H%M%S) + sudo btrfs subvolume snapshot / /.snapshots/before-dotfiles-$(date +%Y%m%d-%H%M%S) tags: [snapshot] become: true become_method: sudo diff --git a/roles/hyprland/files/hypr/hyprland.conf b/roles/hyprland/files/hypr/hyprland.conf index 92ab65e..57d6278 100644 --- a/roles/hyprland/files/hypr/hyprland.conf +++ b/roles/hyprland/files/hypr/hyprland.conf @@ -27,7 +27,7 @@ exec-once = waybar exec-once = dunst exec-once = firefox exec-once = hyprpaper -exec-once = spotify +exec-once = [workspace 9 silent] spotify ############################# ### ENVIRONMENT VARIABLES ### diff --git a/roles/hyprland/files/hypr/monitors.conf b/roles/hyprland/files/hypr/monitors.conf index d0957cb..7f48efb 100644 --- a/roles/hyprland/files/hypr/monitors.conf +++ b/roles/hyprland/files/hypr/monitors.conf @@ -1,8 +1,8 @@ -# Generated by nwg-displays on 2025-09-09 at 19:00:43. Do not edit manually. +# Generated by nwg-displays on 2025-09-15 at 05:48:56. Do not edit manually. monitor=DP-1,2560x1440@165.0,6626x876,1.0 monitor=DP-2,2560x1440@165.0,4066x876,1.0 -monitor=HDMI-A-1,0x0@60.0,-1x-1,1.0 -monitor=HDMI-A-1,disable monitor=HDMI-A-2,1920x1080@60.0,9186x396,1.0 monitor=HDMI-A-2,transform,3 +monitor=HDMI-A-1,3840x2160@60.0,226x156,1.0 +monitor=HDMI-A-1,disable diff --git a/roles/hyprland/files/waybar/config.jsonc b/roles/hyprland/files/waybar/config.jsonc index 34693fd..a42da53 100644 --- a/roles/hyprland/files/waybar/config.jsonc +++ b/roles/hyprland/files/waybar/config.jsonc @@ -8,10 +8,8 @@ "margin-right": 10, // gap from the right edge "margin-bottom": 0, - /* order: 1-2-3 | window-title | tray + clock */ - // "modules-left": [ "custom/group1", "custom/group2", "custom/group3", "custom/group4","custom/group5","custom/group6","custom/group7","custom/group8","custom/group9","custom/group10"], "modules-left": ["hyprland/workspaces"], - "modules-center": [ "hyprland/window" ], + "modules-center": ["wlr/taskbar"], "modules-right": [ "tray", "custom/separator", "network", "bluetooth", "custom/separator", "disk", "cpu", "memory", "pulseaudio", "custom/separator", "clock"], @@ -19,7 +17,7 @@ "disable-scroll": true, "all-outputs": true, "warp-on-scroll": false, - "format": "{icon}", + "format": "{icon}{windows}", "format-icons": { "1": "1", "2": "2", @@ -32,6 +30,29 @@ "9": "9", "10": "0" }, + "window-rewrite-default": " 󱃶", + "format-window-separator": "", + "window-rewrite": { + "class": " ", + "class": " ", + "class title": " ", + "class": " ", + "class": " ", + "class": " ", + "class": " ", + "class": " ", + "class": " ", + "class": " ", + "class": " " + // "": "", + // "": "", + // "": "", + // "": "", + // "": "", + // "": "", + // "": "", + // "": "" + }, "persistent-workspaces": { "1": [], "2": [], @@ -47,7 +68,14 @@ }, - "hyprland/window": { "format": "{title}", "max-length": 60 }, + // "hyprland/window": { "format": "{title}", "max-length": 60 }, + "wlr/taskbar": { + "format": "{icon}", + "icon-theme": "Ars-Dark-Icons", + "tooltip-format": "{title}", + "on-click": "activate", + "on-click-middle": "close" + }, "tray": { "icon-size": 16, "spacing": 10 }, "pulseaudio": { diff --git a/roles/hyprland/files/waybar/style.css b/roles/hyprland/files/waybar/style.css index eb9c920..be67fdb 100644 --- a/roles/hyprland/files/waybar/style.css +++ b/roles/hyprland/files/waybar/style.css @@ -60,7 +60,7 @@ window#waybar { #tray menu menuitem:hover { background: alpha(@accent1, 0.16); } #workspaces button { - padding: 0 8px; + padding: 0 2px; background-color: transparent; color: #6c7086; border-radius: 3px;