From 4355f4b5fcf0ac44be918a0476ac969b6dce0ee5 Mon Sep 17 00:00:00 2001 From: krautt Date: Thu, 9 Nov 2023 01:37:39 -0300 Subject: [PATCH 1/2] [FEATURE] peristent workspaces //pacman //roman --- config/waybar/modules | 65 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/config/waybar/modules b/config/waybar/modules index a82e03f..0fc26ad 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -1,4 +1,69 @@ { + //CIRCLES + "hyprland/workspaces": { + "all-outputs": true, + "format": "{icon}", + "on-click": "activate", +"on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", + "persistent_workspaces": { + "1": [], + "2": [], + "3": [], + "4": [], + "5": [] + }, + "format-icons": { + "active": "", + "default": "", +}, + "active-only": false, + "all-outputs": true +}, + +//ROMAN +"hyprland/workspaces#2": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "on-click": "activate", + "persistent_workspaces":{ + "1": [], + "2": [], + "3": [], + "4": [], + "5": [] + }, + "format-icons": { + "1": "I", + "2": "II", + "3": "III", + "4": "IV", + "5": "V" + + } +}, +//PACMAN +"hyprland/workspaces#3": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "on-click": "activate", + "persistent_workspaces":{ + "1": [], + "2": [], + "3": [], + "4": [], + "5": [] + }, + "format": "{icon}", + "format-icons": { + "active": " 󰮯 ", + "default": " ", + "persistent":"󰑊" + } +}, + "backlight": { "interval": 2, "align": 0, From 4b76376275794e81a04d50c7f15803041cc46f15 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Thu, 9 Nov 2023 16:50:44 +0900 Subject: [PATCH 2/2] Update modules --- config/waybar/modules | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/config/waybar/modules b/config/waybar/modules index 0fc26ad..a060965 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -1,5 +1,6 @@ { - //CIRCLES +// HYPRLAND WORKSPACES. CHOOSE as required +// CIRCLES Style "hyprland/workspaces": { "all-outputs": true, "format": "{icon}", @@ -21,7 +22,7 @@ "all-outputs": true }, -//ROMAN +// ROMAN Numerals style "hyprland/workspaces#2": { "active-only":false, "all-outputs": true, @@ -43,7 +44,8 @@ } }, -//PACMAN + +// PACMAN Style "hyprland/workspaces#3": { "active-only":false, "all-outputs": true, @@ -64,6 +66,33 @@ } }, +// NUMBERS and ICONS style +"hyprland/workspaces#4": { + "format": "{name}", + //"format": " {name}:{icon} ", + //"format": " {icon} ", + "show-special": false, + "on-click": "activate", + "all-outputs": true, + "sort-by-number": true, + "format-icons": { + "1": " ", + "2": " ", + "3": " ", + "4": " ", + "5": " ", + "6": " ", + "7": "", + "8": " ", + "9": "", + "10": "10", + "focused": "", + "default": "", + }, + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1", +}, + "backlight": { "interval": 2, "align": 0,