From 00b185ad64b500d9ad15d1954e851dbdbae93e3f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 25 May 2024 11:36:06 +0900 Subject: [PATCH 01/14] added whatsapp-for-linux window rules --- config/hypr/UserConfigs/WindowRules.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 1e949ec..6d807e2 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -5,7 +5,7 @@ #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ -windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol)$ +windowrule = center,^(pavucontrol) # windowrule v2 move to workspace windowrulev2 = workspace 1, class:^([Tt]hunderbird)$ @@ -33,7 +33,7 @@ windowrulev2 = float, class:(org.gnome.Calculator), title:(Calculator) windowrulev2 = float, class:(codium|codium-url-handler|VSCodium), title:(Add Folder to Workspace) windowrulev2 = float, class:^([Rr]ofi)$ windowrulev2 = float, class:^(eog)$ -windowrulev2 = float, class:^(pavucontrol|org.pulseaudio.pavucontrol)$ +windowrulev2 = float, class:^(pavucontrol)$ windowrulev2 = float, class:^(nwg-look|qt5ct|qt6ct|mpv)$ windowrulev2 = float, class:^(nm-applet|nm-connection-editor|blueman-manager)$ windowrulev2 = float, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ # system monitor @@ -45,10 +45,12 @@ windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analy windowrulev2 = float, title:(Kvantum Manager) windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ windowrulev2 = float, class:^([Qq]alculate-gtk)$ +windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$ # windowrule v2 - position windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) +windowrulev2 = center, class:^([Ww]hatsapp-for-linux)$ # windowrule v2 - opacity #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ @@ -80,6 +82,7 @@ windowrulev2 = opacity 0.8 0.7, class:^(app.drey.Warp)$ # Warp file transfer windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$ # gnome-keyring gui +windowrulev2 = opacity 0.9 0.7, class:^([Ww]hatsapp-for-linux)$ # windowrule v2 - size windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ @@ -88,6 +91,7 @@ windowrulev2 = size 60% 70%, title:(Kvantum Manager) windowrulev2 = size 60% 70%, class:^(qt6ct)$ windowrulev2 = size 70% 70%, class:^(evince|wihotspot-gui)$ windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$ +windowrulev2 = size 60% 70%, class:^([Ww]hatsapp-for-linux)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ From f558af53fda2c86c3719def1b84eb68d3f6d4ac7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 25 May 2024 12:23:18 +0900 Subject: [PATCH 02/14] added ferdium windowrules --- config/hypr/UserConfigs/WindowRules.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 6d807e2..0ee664e 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -18,6 +18,7 @@ windowrulev2 = workspace 5, class:^([Ll]utris)$ windowrulev2 = workspace 7, class:^([Dd]iscord)$ windowrulev2 = workspace 7, class:^([Ww]ebCord)$ windowrulev2 = workspace 7, class:^([Vv]esktop)$ +windowrulev2 = workspace 7, class:^([Ff]erdium)$ # windowrule v2 move to workspace (silent) windowrulev2 = workspace 6 silent, class:^(virt-manager)$ @@ -46,11 +47,13 @@ windowrulev2 = float, title:(Kvantum Manager) windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ windowrulev2 = float, class:^([Qq]alculate-gtk)$ windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$ +windowrulev2 = float, class:^([Ff]erdium)$ # windowrule v2 - position windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) windowrulev2 = center, class:^([Ww]hatsapp-for-linux)$ +windowrulev2 = center, class:^([Ff]erdium)$ # windowrule v2 - opacity #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ @@ -83,6 +86,7 @@ windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui windowrulev2 = opacity 0.82 0.75, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ windowrulev2 = opacity 0.9 0.8, class:^(xdg-desktop-portal-gtk)$ # gnome-keyring gui windowrulev2 = opacity 0.9 0.7, class:^([Ww]hatsapp-for-linux)$ +windowrulev2 = opacity 0.9 0.7, class:^([Ff]erdium)$ # windowrule v2 - size windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ @@ -92,6 +96,7 @@ windowrulev2 = size 60% 70%, class:^(qt6ct)$ windowrulev2 = size 70% 70%, class:^(evince|wihotspot-gui)$ windowrulev2 = size 60% 70%, class:^(file-roller|org.gnome.FileRoller)$ windowrulev2 = size 60% 70%, class:^([Ww]hatsapp-for-linux)$ +windowrulev2 = size 60% 70%, class:^([Ff]erdium)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ From 987530cd99a59e2239057b181628febb055b70f6 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" <85185940+JaKooLit@users.noreply.github.com> Date: Sat, 25 May 2024 22:31:47 +0900 Subject: [PATCH 03/14] Update Keybinds.conf Keybinds updated so media keys will work even lockscreens are active --- config/hypr/configs/Keybinds.conf | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 142de86..6c03456 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -55,20 +55,20 @@ bind = $mainMod, G, togglegroup bind = ALT, tab, changegroupactive #change focus to another window # Special Keys / Hot Keys -bind = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up -bind = , xf86audiolowervolume, exec, $scriptsDir/Volume.sh --dec #volume down -bind = , xf86AudioMicMute, exec, $scriptsDir/Volume.sh --toggle-mic #mute mic -bind = , xf86audiomute, exec, $scriptsDir/Volume.sh --toggle -bind = , xf86Sleep, exec, systemctl suspend # sleep button -bind = , xf86Rfkill, exec, $scriptsDir/AirplaneMode.sh #Airplane mode +bindl = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up +bindl = , xf86audiolowervolume, exec, $scriptsDir/Volume.sh --dec #volume down +bindl = , xf86AudioMicMute, exec, $scriptsDir/Volume.sh --toggle-mic #mute mic +bindl = , xf86audiomute, exec, $scriptsDir/Volume.sh --toggle +bindl = , xf86Sleep, exec, systemctl suspend # sleep button +bindl = , xf86Rfkill, exec, $scriptsDir/AirplaneMode.sh #Airplane mode # media controls using keyboards -bind = , xf86AudioPlayPause, exec, $scriptsDir/MediaCtrl.sh --pause -bind = , xf86AudioPause, exec, $scriptsDir/MediaCtrl.sh --pause -bind = , xf86AudioPlay, exec, $scriptsDir/MediaCtrl.sh --pause -bind = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt -bind = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv -bind = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop +bindl = , xf86AudioPlayPause, exec, $scriptsDir/MediaCtrl.sh --pause +bindl = , xf86AudioPause, exec, $scriptsDir/MediaCtrl.sh --pause +bindl = , xf86AudioPlay, exec, $scriptsDir/MediaCtrl.sh --pause +bindl = , xf86AudioNext, exec, $scriptsDir/MediaCtrl.sh --nxt +bindl = , xf86AudioPrev, exec, $scriptsDir/MediaCtrl.sh --prv +bindl = , xf86audiostop, exec, $scriptsDir/MediaCtrl.sh --stop # Screenshot keybindings NOTE: You may need to press Fn key as well bind = $mainMod, Print, exec, $scriptsDir/ScreenShot.sh --now From 2e67eba3d18ef4d7ca74b2036a0ec0020825bc86 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 26 May 2024 14:34:36 +0900 Subject: [PATCH 04/14] updated readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7048895..79053fb 100644 --- a/README.md +++ b/README.md @@ -123,6 +123,10 @@ chmod +x upgrade.sh ./upgrade.sh ``` +## ⚠️⚠️⚠️ ATTENTION - BACKUPS CREATED by SCRIPT +> [!NOTE] +> copy.sh, release.sh and even upgrade.sh creates a backup! +> Kindly investigate manually contents on your ~/.config & ~/Pictures . Especially the wallpapers as these are big files. on ~/.config are only text files. Delete manually all the backups which you dont need #### 🛎️ a small note on wallpapers - by default, only few wallpapers will be copied (1 each dark and light plus 2 more). You will be offered to download more wallpapers. You can preview/check the additional wallpapers on [`THIS`](https://github.com/JaKooLit/Wallpaper-Bank/tree/main/wallpapers) Link From 9bf916556b3df4033012333946f14c6d28e13338 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 May 2024 01:08:06 +0900 Subject: [PATCH 05/14] added ENV for electron apps. copy.sh adjusted to create only 1 backup for wallpapers to avoid multiple backup folders --- config/hypr/UserConfigs/ENVariables.conf | 3 +++ copy.sh | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 8681eb3..aa5b231 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -20,6 +20,9 @@ env = XDG_SESSION_TYPE,wayland # firefox env = MOZ_ENABLE_WAYLAND,1 +# electron >28 apps (may help) +env = ELECTRON_OZONE_PLATFORM_HINT,auto + # NVIDIA # This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected #env = WLR_NO_HARDWARE_CURSORS,1 diff --git a/copy.sh b/copy.sh index 390b15e..8bd0b33 100755 --- a/copy.sh +++ b/copy.sh @@ -224,10 +224,9 @@ done for DIRw in wallpapers; do DIRPATH=~/Pictures/"$DIRw" if [ -d "$DIRPATH" ]; then - echo -e "${NOTE} - Wallpapers in $DIRw found, attempting to back up." - BACKUP_DIR=$(get_backup_dirname) - mv "$DIRPATH" "$DIRPATH-backup-$BACKUP_DIR" 2>&1 | tee -a "$LOG" - echo -e "${NOTE} - Backed up $DIRw to $DIRPATH-backup-$BACKUP_DIR." + echo "${NOTE} - Wallpapers in $DIRw found, attempting to create back up." + cp -r "$DIRPATH" "$DIRPATH-backup" 2>&1 | tee -a "$LOG" + echo "${NOTE} - Backed up $DIRw to $DIRPATH-backup" fi done From 939328fe35a1648b7f7bbc1f7d261520db6d0e62 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 May 2024 01:27:19 +0900 Subject: [PATCH 06/14] re-organize windowrules.conf --- config/hypr/UserConfigs/WindowRules.conf | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 0ee664e..734a705 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -5,7 +5,20 @@ #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ +# windowrule center windowrule = center,^(pavucontrol) +windowrule = center,^([Ww]hatsapp-for-linux)$ +windowrule = center,^([Ff]erdium)$ + +# WINDOWRULE v2 +# windowrule v2 - position +windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) +windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) + +# windowrule v2 to avoid idle for fullscreen apps +windowrulev2 = idleinhibit fullscreen, class:^(*)$ +windowrulev2 = idleinhibit fullscreen, title:^(*)$ +windowrulev2 = idleinhibit fullscreen, fullscreen:1 # windowrule v2 move to workspace windowrulev2 = workspace 1, class:^([Tt]hunderbird)$ @@ -19,6 +32,7 @@ windowrulev2 = workspace 7, class:^([Dd]iscord)$ windowrulev2 = workspace 7, class:^([Ww]ebCord)$ windowrulev2 = workspace 7, class:^([Vv]esktop)$ windowrulev2 = workspace 7, class:^([Ff]erdium)$ +windowrulev2 = workspace 7, class:^([Ww]hatsapp-for-linux)$ # windowrule v2 move to workspace (silent) windowrulev2 = workspace 6 silent, class:^(virt-manager)$ @@ -46,14 +60,8 @@ windowrulev2 = float, class:^([Bb]aobab|org.gnome.[Bb]aobab)$ # Disk usage analy windowrulev2 = float, title:(Kvantum Manager) windowrulev2 = float, class:^([Ss]team)$,title:^((?![Ss]team).*|[Ss]team [Ss]ettings)$ windowrulev2 = float, class:^([Qq]alculate-gtk)$ -windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$ -windowrulev2 = float, class:^([Ff]erdium)$ - -# windowrule v2 - position -windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) -windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) -windowrulev2 = center, class:^([Ww]hatsapp-for-linux)$ -windowrulev2 = center, class:^([Ff]erdium)$ +#windowrulev2 = float, class:^([Ww]hatsapp-for-linux)$ +#windowrulev2 = float, class:^([Ff]erdium)$ # windowrule v2 - opacity #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ From 467250d12a88c99a5ea8db3e3f9d86efb47b5b5c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 02:24:33 +0900 Subject: [PATCH 07/14] modified / added some keybinds --- config/hypr/configs/Keybinds.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 6c03456..c1f70c5 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -52,7 +52,11 @@ bind = $mainMod CTRL, Return, layoutmsg, swapwithmaster # group bind = $mainMod, G, togglegroup -bind = ALT, tab, changegroupactive #change focus to another window +bind = $mainMod SHIFT, tab, changegroupactive #change focus to another window + + # Cycle windows if floating bring to top +bind = ALT,Tab,cyclenext +bind = ALT,Tab,bringactivetotop # Special Keys / Hot Keys bindl = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up From f593df6b480bb082f4131486822b755c334fedc7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 03:38:21 +0900 Subject: [PATCH 08/14] updated copy.sh for 12H fix on waybar module --- config/hypr/hyprlock.conf | 4 ++-- config/waybar/modules | 4 ++-- copy.sh | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index 7c1af41..c763bc9 100644 --- a/config/hypr/hyprlock.conf +++ b/config/hypr/hyprlock.conf @@ -73,8 +73,8 @@ label { # Time label { monitor = -# text = cmd[update:1000] echo " $(date +"%I:%M:%S %p") " # AM/PM -text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H + #text = cmd[update:1000] echo " $(date +"%I:%M:%S %p") " # AM/PM + text = cmd[update:1000] echo " $(date +"%H:%M:%S") " # 24H color = $color15 font_size = 94 font_family = JetBrains Mono Nerd Font 10 diff --git a/config/waybar/modules b/config/waybar/modules index 071efb3..9e7e646 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -281,8 +281,8 @@ }, "clock": { "interval": 1, - //"format": " {:%I:%M %p}", // AM PM format - "format": " {:%H:%M:%S}", + //"format": " {:%I:%M %p}", // AM PM format + "format": " {:%H:%M:%S}", "format-alt": " {:%H:%M  %Y, %d %B, %A}", "tooltip-format": "{calendar}", "calendar": { diff --git a/copy.sh b/copy.sh index 8bd0b33..b05b996 100755 --- a/copy.sh +++ b/copy.sh @@ -126,12 +126,12 @@ while true; do # Check if the answer is valid if [[ "$answer" == "y" ]]; then # Modify waybar config if 12hr is selected - sed -i 's/^ \/\/"format": " {:%I:%M %p}"/ "format": " {:%I:%M %p}"/' ./config/waybar/modules 2>&1 | tee -a "$LOG" || true - sed -i 's/^ "format": " {:%H:%M:%S}"/ \/\/"format": " {:%H:%M:%S}"/' ./config/waybar/modules 2>&1 | tee -a "$LOG" || true + sed -i 's/^ \/\/"format": " {:%I:%M %p}"/ "format": " {:%I:%M %p}"/' config/waybar/modules 2>&1 | tee -a "$LOG" + sed -i 's/^ "format": " {:%H:%M:%S}"/ \/\/"format": " {:%H:%M:%S}"/' config/waybar/modules 2>&1 | tee -a "$LOG" # for hyprlock - sed -i 's|^# text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM|text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM|' ./config/hypr/hyprlock.conf - sed -i 's|^text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H|# text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H|' ./config/hypr/hyprlock.conf + sed -i 's|^ #text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM| text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" + sed -i 's|^ text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H| #text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" # for SDDM (simple-sddm) sddm_folder="/usr/share/sddm/themes/simple-sddm" From b1b25e670ce12cdd6844db08d08e2e358d374543 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 06:42:46 +0900 Subject: [PATCH 09/14] Collected all extra modules, (except camellia) into waybar/modules for easy management. Same adjusted copy.sh to take effect all clock modules if 12H chosen by user --- config/waybar/configs/[BOT] Camellia | 118 +------------------ config/waybar/configs/[BOT] Chrysanthemum | 85 +++----------- config/waybar/configs/[BOT] Gardenia | 90 +++------------ config/waybar/configs/[BOT] Peony | 91 ++------------- config/waybar/configs/[BOT] Sleek | 15 --- config/waybar/configs/[TOP] Camellia | 132 ++-------------------- config/waybar/configs/[TOP] Chrysanthemum | 82 ++------------ config/waybar/configs/[TOP] Gardenia | 85 ++------------ config/waybar/configs/[TOP] Peony | 80 ++----------- config/waybar/configs/[TOP] Sleek | 17 +-- config/waybar/modules | 80 ++++++++++++- copy.sh | 20 +++- 12 files changed, 182 insertions(+), 713 deletions(-) diff --git a/config/waybar/configs/[BOT] Camellia b/config/waybar/configs/[BOT] Camellia index e135258..9159584 100644 --- a/config/waybar/configs/[BOT] Camellia +++ b/config/waybar/configs/[BOT] Camellia @@ -25,91 +25,21 @@ "custom/separator#line", "mpris", "custom/swaync", - "tray#cam", + "tray", "wlr/taskbar"], -"modules-center": ["hyprland/window#cam"], +"modules-center": ["hyprland/window"], "modules-right": [ "custom/backlight", "backlight/slider", "custom/speaker", "pulseaudio/slider", - "battery#cam", - "clock#cam", - "network#cam"], + "battery", + "clock#3", + "network"], // Additional modules // - -"hyprland/workspaces#cam": { - "active-only":false, - "all-outputs": true, - "format": "{icon}", - "show-special": false, - "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": { - "1": "Uno", - "2": "Due", - "3": "Tre", - "4": "Quattro", - "5": "Cinque", - "6":"Sei", - "7":"Sette", - "8":"Otto", - "9":"Nove", - "10":"Dieci" - } -}, - -"hyprland/window#cam": { - "format": " {title}", - "max-length": 50, - "rewrite": { - "(.*) — Mozilla Firefox": " $1", - "(.*) - zsh": "> [$1]" -}, - "separate-outputs": true -}, - -"clock#cam": { - "interval": 60, - //"format": "{:%A, %I:%M %P}", - "format": "{:%A, %H:%M}", - "max-length": 25, - -}, - -"battery#cam": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "critical": 15 - }, - "format": "{capacity}% {icon}", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w" -}, - "pulseaudio/slider": { "min": 0, "max": 100, @@ -135,42 +65,4 @@ "interval": 1, "format": "{}" }, - -"tray#cam": { - //"icon-size": 16, - "spacing": 10 -}, - -"network#cam": { - "format": "{ifname}", - "format-wifi": "{icon}", - "format-ethernet": "󰌘", - "format-disconnected": "󰌙", - "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", - "format-linked": "󰈁 {ifname} (No IP)", - "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", - "tooltip-format-ethernet": "{ifname} 󰌘", - "tooltip-format-disconnected": "󰌙 Disconnected", - "max-length": 50, - "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] -}, - -"wlr/taskbar": { - "format": "{icon}", - //"icon-size": 14, - //"icon-theme": "Numix-Circle", - "tooltip-format": "{title}", - "on-click": "activate", - "on-click-middle": "close", - "ignore-list": [ - "kitty" - ], - "app_ids-mapping": { - "firefoxdeveloperedition": "firefox-developer-edition" - }, - "rewrite": { - "Firefox Web Browser": "Firefox", - "Foot Server": "Terminal" - } -} } \ No newline at end of file diff --git a/config/waybar/configs/[BOT] Chrysanthemum b/config/waybar/configs/[BOT] Chrysanthemum index e4f1fba..c435952 100644 --- a/config/waybar/configs/[BOT] Chrysanthemum +++ b/config/waybar/configs/[BOT] Chrysanthemum @@ -10,84 +10,27 @@ //"mode": "dock", "exclusive": true, "passthrough": false, -"position": "bottom", +"position": "bottom +", "spacing": 5, "fixed-center": true, "ipc": true, "margin-left": 5, "margin-right": 5, +"margin-top": 0, -"modules-left": ["clock#gar", "mpris", "custom/swaync", "tray"], +"modules-left": [ + "clock#5", + "mpris", + "tray", + "custom/swaync" + ], "modules-center": ["hyprland/workspaces"], -"modules-right": ["pulseaudio#gar","backlight#gar", "battery#gar"], - -// M O D U L E S // -"clock#gar": { - //"format": "{:%A, %I:%M %P}", - "format": "{:%a %d | %H:%M}", - "format-alt": "{:%A, %d %B, %Y (%R)}" -}, - -"hyprland/window#gar": { - "format": "{}", - "max-length": 60 -}, - -"tray#gar": { - "icon-size": 15, - "spacing": 10 -}, - -"pulseaudio#gar": { - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": " {icon}", - "format-muted": "󰸈", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false -}, - -"backlight#gar": { - //"device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": ["", ""] -}, - -"battery#gar": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, +"modules-right": [ + "pulseaudio#1", + "backlight#2", + "battery"], + } \ No newline at end of file diff --git a/config/waybar/configs/[BOT] Gardenia b/config/waybar/configs/[BOT] Gardenia index 5d07152..9ba6d3b 100644 --- a/config/waybar/configs/[BOT] Gardenia +++ b/config/waybar/configs/[BOT] Gardenia @@ -6,7 +6,6 @@ { - "include": "~/.config/waybar/modules", "layer": "top", //"mode": "dock", @@ -16,84 +15,23 @@ "spacing": 5, "fixed-center": false, "ipc": true, -//"margin-top": 5, -"margin-bottom": 5, -"width": 768, +"margin-top": 5, +//"margin-bottom": 5, +"width": 1000, -"modules-left": ["clock#gar", "mpris", "custom/swaync", "tray"], +"modules-left": [ + "clock#5", + "mpris", + "tray", + "custom/swaync" + ], "modules-center": ["hyprland/workspaces#kanji"], -"modules-right": ["pulseaudio#gar","backlight#gar", "battery#gar"], - - -// M O D U L E S // - -"clock#gar": { - //"format": "{:%A, %I:%M %P}", - "format": "{:%a %d | %H:%M}", - "format-alt": "{:%A, %d %B, %Y (%R)}" -}, - -"hyprland/window#gar": { - "format": "{}", - "max-length": 60 -}, - -"tray#gar": { - "icon-size": 15, - "spacing": 10 -}, - -"pulseaudio#gar": { - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": " {icon}", - "format-muted": "󰸈", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false -}, - -"backlight#gar": { - "device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": ["", ""] -}, +"modules-right": [ + "pulseaudio#1", + "backlight#2", + "battery" + ], -"battery#gar": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, - } \ No newline at end of file diff --git a/config/waybar/configs/[BOT] Peony b/config/waybar/configs/[BOT] Peony index dcdf4aa..4b548b8 100644 --- a/config/waybar/configs/[BOT] Peony +++ b/config/waybar/configs/[BOT] Peony @@ -15,95 +15,28 @@ "spacing": 4, "fixed-center": true, "ipc": true, -//"margin-top": 5, -"margin-bottom": 5, +"margin-top": 5, +//"margin-bottom": 5, "width": 1444, -"modules-left": ["hyprland/workspaces#roman", "mpris", "tray#peony"], +"modules-left": [ + "hyprland/workspaces#roman", + "mpris", + "custom/swaync", + "tray" + ], -"modules-center": ["clock#peony"], +"modules-center": ["clock#4"], "modules-right": [ - "battery#peony", + "battery", "custom/separator#blank", - "backlight#peony", + "backlight", "custom/separator#blank", "pulseaudio", "custom/separator#blank", "temperature", "custom/separator#blank", - "network#peony", - "custom/swaync"], + "network"], - -//M O D U L E S // - -"clock#peony": { - "interval": 60, - "tooltip-format": "{:%B %Y}\n{calendar}", - //"format": "{:%B | %a %d, %Y | %I:%M %p}", - "format": "{:%B | %a %d, %Y | %H:%M}", - "format-alt": "{:%a %b %d, %G}", -}, - -"wireplumber#peony": { - "format": "{icon} {volume}", - "format-muted": " Mute", - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", - "on-click-right": "pavucontrol -t 3", - "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", - "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", - "format-icons": ["", "", "󰕾", ""], -}, - -"backlight#peony": { - "device": "intel_backlight", - "format": "{percent}% {icon}", - "format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"], -}, - -"network#peony": { - "format": "{ifname}", - "format-wifi": "{icon}", - "format-ethernet": "󰌘", - "format-disconnected": "󰌙", - "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", - "format-linked": "󰈁 {ifname} (No IP)", - "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", - "tooltip-format-ethernet": "{ifname} 󰌘", - "tooltip-format-disconnected": "󰌙 Disconnected", - "max-length": 50, - "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] -}, - -"battery#peony": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, - -"tray#peony": { - "icon-size": 17, - "spacing": 8, -} } \ No newline at end of file diff --git a/config/waybar/configs/[BOT] Sleek b/config/waybar/configs/[BOT] Sleek index b1cfc1a..6bb595b 100644 --- a/config/waybar/configs/[BOT] Sleek +++ b/config/waybar/configs/[BOT] Sleek @@ -37,19 +37,4 @@ "custom/power", ], - - -// Additional format / customize modules - -"custom/power": { - "format": " ", - "icon-size": 20, - "tooltip": false, -}, - -"clock": { - //"format": "{:%I:%M %p - %d/%b}", //for AM/PM - "format": "{:%H:%M - %d/%b}", // 24H - "tooltip": false -}, } diff --git a/config/waybar/configs/[TOP] Camellia b/config/waybar/configs/[TOP] Camellia index 53e2fce..ccb078f 100644 --- a/config/waybar/configs/[TOP] Camellia +++ b/config/waybar/configs/[TOP] Camellia @@ -12,7 +12,7 @@ "exclusive": true, "passthrough": false, "position": "top", -"spacing": 3, +"spacing": 4, "fixed-center": true, "ipc": true, //"margin-top": 0, @@ -22,100 +22,28 @@ "modules-left": [ "hyprland/workspaces#cam", - "custom/separator#line", + "custom/separator#line", "mpris", - "custom/swaync", - "tray#cam", - "wlr/taskbar" - ], + "custom/swaync", + "tray", + "wlr/taskbar"], -"modules-center": ["hyprland/window#cam"], +"modules-center": ["hyprland/window"], "modules-right": [ "custom/backlight", "backlight/slider", "custom/speaker", "pulseaudio/slider", - "battery#cam", - "clock#cam", - "network#cam" - ], + "battery", + "clock#3", + "network"], // Additional modules // - -"hyprland/workspaces#cam": { - "active-only":false, - "all-outputs": true, - "format": "{icon}", - "show-special": false, - "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": { - "1": "Uno", - "2": "Due", - "3": "Tre", - "4": "Quattro", - "5": "Cinque", - "6":"Sei", - "7":"Sette", - "8":"Otto", - "9":"Nove", - "10":"Dieci" - } -}, - -"hyprland/window#cam": { - "format": " {title}", - "max-length": 50, - "rewrite": { - "(.*) — Mozilla Firefox": " $1", - "(.*) - zsh": "> [$1]" -}, - "separate-outputs": true -}, - -"clock#cam": { - "interval": 60, - //"format": "{:%A, %I:%M %P}", - "format": "{:%A, %H:%M}", - "max-length": 25, - -}, - -"battery#cam": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "critical": 15 - }, - "format": "{capacity}% {icon}", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w" -}, - "pulseaudio/slider": { "min": 0, "max": 100, - "orientation": "horizontal", + "orientation": "horizontal" }, @@ -129,7 +57,7 @@ "min": 0, "max": 100, "orientation": "horizontal", - //"device": "intel_backlight" + "device": "intel_backlight" }, "custom/backlight": { @@ -137,42 +65,4 @@ "interval": 1, "format": "{}" }, - -"tray#cam": { - //"icon-size": 16, - "spacing": 10 -}, - -"network#cam": { - "format": "{ifname}", - "format-wifi": "{icon}", - "format-ethernet": "󰌘", - "format-disconnected": "󰌙", - "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", - "format-linked": "󰈁 {ifname} (No IP)", - "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", - "tooltip-format-ethernet": "{ifname} 󰌘", - "tooltip-format-disconnected": "󰌙 Disconnected", - "max-length": 50, - "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] -}, - -"wlr/taskbar": { - "format": "{icon}", - //"icon-size": 14, - //"icon-theme": "Numix-Circle", - "tooltip-format": "{title}", - "on-click": "activate", - "on-click-middle": "close", - "ignore-list": [ - "kitty" - ], - "app_ids-mapping": { - "firefoxdeveloperedition": "firefox-developer-edition" - }, - "rewrite": { - "Firefox Web Browser": "Firefox", - "Foot Server": "Terminal" - } -} } \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Chrysanthemum b/config/waybar/configs/[TOP] Chrysanthemum index b231047..9d1c105 100644 --- a/config/waybar/configs/[TOP] Chrysanthemum +++ b/config/waybar/configs/[TOP] Chrysanthemum @@ -18,78 +18,18 @@ "margin-right": 5, "margin-top": 0, -"modules-left": ["clock#gar", "mpris", "tray", "custom/swaync"], +"modules-left": [ + "clock#5", + "mpris", + "tray", + "custom/swaync" + ], "modules-center": ["hyprland/workspaces"], -"modules-right": ["pulseaudio#gar","backlight#gar", "battery#gar"], - -// M O D U L E S // - -"clock#gar": { - //"format": "{:%A, %I:%M %P}", - "format": "{:%a %d | %H:%M}", - "format-alt": "{:%A, %d %B, %Y (%R)}" -}, - -"hyprland/window#gar": { - "format": "{}", - "max-length": 60 -}, - -"tray#gar": { - "icon-size": 15, - "spacing": 10 -}, - -"pulseaudio#gar": { - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": " {icon}", - "format-muted": "󰸈", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false -}, - -"backlight#gar": { - //"device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": ["", ""] -}, - -"battery#gar": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, +"modules-right": [ + "pulseaudio#1", + "backlight#2", + "battery"], + } \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Gardenia b/config/waybar/configs/[TOP] Gardenia index 44c2de4..fff3964 100644 --- a/config/waybar/configs/[TOP] Gardenia +++ b/config/waybar/configs/[TOP] Gardenia @@ -17,82 +17,21 @@ "ipc": true, "margin-top": 5, //"margin-bottom": 5, -"width": 768, +"width": 1000, -"modules-left": ["clock#gar", "mpris", "tray", "custom/swaync"], +"modules-left": [ + "clock#5", + "mpris", + "tray", + "custom/swaync" + ], "modules-center": ["hyprland/workspaces#kanji"], -"modules-right": ["pulseaudio#gar","backlight#gar", "battery#gar"], +"modules-right": [ + "pulseaudio#1", + "backlight#2", + "battery" + ], - -// M O D U L E S // - -"clock#gar": { - //"format": "{:%A, %I:%M %P}", - "format": "{:%a %d | %H:%M}", - "format-alt": "{:%A, %d %B, %Y (%R)}" -}, - -"hyprland/window#gar": { - "format": "{}", - "max-length": 60 -}, - -"tray#gar": { - "icon-size": 15, - "spacing": 10 -}, - -"pulseaudio#gar": { - "format": "{icon} {volume}%", - "format-bluetooth": "{icon} {volume}%", - "format-bluetooth-muted": " {icon}", - "format-muted": "󰸈", - "format-icons": { - "headphone": "", - "hands-free": "", - "headset": "", - "phone": "", - "portable": "", - "car": "", - "default": ["", "", ""] - }, - "on-click": "pamixer --toggle-mute", - "on-click-right": "pavucontrol", - "tooltip": false -}, - -"backlight#gar": { - "device": "intel_backlight", - "format": "{icon} {percent}%", - "format-icons": ["", ""] -}, - -"battery#gar": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, - } \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Peony b/config/waybar/configs/[TOP] Peony index c01ab10..f35979d 100644 --- a/config/waybar/configs/[TOP] Peony +++ b/config/waybar/configs/[TOP] Peony @@ -19,84 +19,24 @@ //"margin-bottom": 5, "width": 1444, -"modules-left": ["hyprland/workspaces#roman", "mpris", "custom/swaync", "tray#peony"], +"modules-left": [ + "hyprland/workspaces#roman", + "mpris", + "custom/swaync", + "tray" + ], -"modules-center": ["clock#peony"], +"modules-center": ["clock#4"], "modules-right": [ - "battery#peony", + "battery", "custom/separator#blank", - "backlight#peony", + "backlight", "custom/separator#blank", "pulseaudio", "custom/separator#blank", "temperature", "custom/separator#blank", - "network#peony"], + "network"], - -//M O D U L E S // - -"clock#peony": { - "interval": 60, - "tooltip-format": "{:%B %Y}\n{calendar}", - //"format": "{:%B | %a %d, %Y | %I:%M %p}", - "format": "{:%B | %a %d, %Y | %H:%M}", - "format-alt": "{:%a %b %d, %G}", -}, - -"wireplumber#peony": { - "format": "{icon} {volume}", - "format-muted": " Mute", - "on-click": "~/.config/hypr/scripts/Volume.sh --toggle", - "on-click-right": "pavucontrol -t 3", - "on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc", - "on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec", - "format-icons": ["", "", "󰕾", ""], -}, - -"network#peony": { - "format": "{ifname}", - "format-wifi": "{icon}", - "format-ethernet": "󰌘", - "format-disconnected": "󰌙", - "tooltip-format": "{ipaddr}  {bandwidthUpBytes}  {bandwidthDownBytes}", - "format-linked": "󰈁 {ifname} (No IP)", - "tooltip-format-wifi": "{essid} {icon} {signalStrength}%", - "tooltip-format-ethernet": "{ifname} 󰌘", - "tooltip-format-disconnected": "󰌙 Disconnected", - "max-length": 50, - "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] -}, - -"battery#peony": { - "interval": 60, - "align": 0, - "rotate": 0, - //"bat": "BAT1", - //"adapter": "ACAD", - "full-at": 100, - "design-capacity": false, - "states": { - "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "{icon} {capacity}%", - "format-charging": " {capacity}%", - "format-plugged": "󱘖 {capacity}%", - "format-full": "{icon} Full", - "format-alt": "{icon} {time}", - "format-icons": ["", "", "", "", ""], - "format-time": "{H}h {M}min", - "tooltip": true, - "tooltip-format": "{timeTo} {power}w", - "on-click-middle": "~/.config/hypr/scripts/ChangeBlur.sh", - "on-click-right": "~/.config/hypr/scripts/Wlogout.sh", -}, - -"tray#peony": { - "icon-size": 17, - "spacing": 8, -} } \ No newline at end of file diff --git a/config/waybar/configs/[TOP] Sleek b/config/waybar/configs/[TOP] Sleek index fda6aca..c5d66fa 100644 --- a/config/waybar/configs/[TOP] Sleek +++ b/config/waybar/configs/[TOP] Sleek @@ -22,7 +22,7 @@ "modules-center": [ "idle_inhibitor", "custom/separator#blank", - "clock", + "clock#3", "custom/separator#blank", "custom/swaync" ], @@ -35,19 +35,4 @@ "custom/separator#blank", "custom/power", ], - - -// Additional format / customize modules - -"custom/power": { - "format": " ", - "icon-size": 20, - "tooltip": false, -}, - -"clock": { - //"format": "{:%I:%M %p - %d/%b}", //for AM/PM - "format": "{:%H:%M - %d/%b}", // 24H - "tooltip": false -}, } diff --git a/config/waybar/modules b/config/waybar/modules index 9e7e646..fca7392 100644 --- a/config/waybar/modules +++ b/config/waybar/modules @@ -160,6 +160,34 @@ "class": "󰏆 " } }, +"hyprland/workspaces#cam": { + "active-only":false, + "all-outputs": true, + "format": "{icon}", + "show-special": false, + "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": { + "1": "Uno", + "2": "Due", + "3": "Tre", + "4": "Quattro", + "5": "Cinque", + "6":"Sei", + "7":"Sette", + "8":"Otto", + "9":"Nove", + "10":"Dieci" + } +}, // GROUP "group/motherboard": { "orientation": "horizontal", @@ -241,6 +269,11 @@ "on-scroll-down": "~/.config/hypr/scripts/Brightness.sh --dec", "smooth-scrolling-threshold": 1, }, +"backlight#2": { + "device": "intel_backlight", + "format": "{icon} {percent}%", + "format-icons": ["", ""] +}, "battery": { //"interval": 5, "align": 0, @@ -282,7 +315,7 @@ "clock": { "interval": 1, //"format": " {:%I:%M %p}", // AM PM format - "format": " {:%H:%M:%S}", + "format": " {:%H:%M:%S}", // 24H "format-alt": " {:%H:%M  %Y, %d %B, %A}", "tooltip-format": "{calendar}", "calendar": { @@ -307,12 +340,28 @@ "on-scroll-down": "shift_down" }, "clock#2": { - // "timezone": "America/New_York", - //"format": " {:%I:%M %p}", // AM PM format - "format": " {:%H:%M}", + //"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 + "tooltip": false +}, +"clock#4": { + "interval": 60, + //"format": "{:%B | %a %d, %Y | %I:%M %p}", // AM PM format + "format": "{:%B | %a %d, %Y | %H:%M}", // 24H + "format-alt": "{:%a %b %d, %G}", + "tooltip-format": "{:%B %Y}\n{calendar}", +}, +"clock#5": { + //"format": "{:%A, %I:%M %P}", // AM PM format + "format": "{:%a %d | %H:%M}", // 24H + "format-alt": "{:%A, %d %B, %Y (%R)}" +}, "cpu": { "format": "{usage}% 󰍛", "interval": 1, @@ -482,6 +531,24 @@ "tooltip-format": "{icon} {desc} | {volume}%", "smooth-scrolling-threshold": 1, }, +"pulseaudio#1": { + "format": "{icon} {volume}%", + "format-bluetooth": "{icon} {volume}%", + "format-bluetooth-muted": " {icon}", + "format-muted": "󰸈", + "format-icons": { + "headphone": "", + "hands-free": "", + "headset": "", + "phone": "", + "portable": "", + "car": "", + "default": ["", "", ""] + }, + "on-click": "pamixer --toggle-mute", + "on-click-right": "pavucontrol", + "tooltip": false +}, "pulseaudio#microphone": { "format": "{format_source}", "format-source": " {volume}%", @@ -525,7 +592,7 @@ ], }, "wlr/taskbar": { - "format": "{icon} {name} ", + "format": "{icon}", "icon-size": 15, "all-outputs": false, "tooltip-format": "{title}", @@ -534,7 +601,8 @@ "ignore-list": [ "wofi", "rofi", - ] + "kitty" + ], }, "custom/cycle_wall": { "format": " ", diff --git a/copy.sh b/copy.sh index b05b996..89f9086 100755 --- a/copy.sh +++ b/copy.sh @@ -126,9 +126,25 @@ while true; do # Check if the answer is valid if [[ "$answer" == "y" ]]; then # Modify waybar config if 12hr is selected - sed -i 's/^ \/\/"format": " {:%I:%M %p}"/ "format": " {:%I:%M %p}"/' config/waybar/modules 2>&1 | tee -a "$LOG" - sed -i 's/^ "format": " {:%H:%M:%S}"/ \/\/"format": " {:%H:%M:%S}"/' config/waybar/modules 2>&1 | tee -a "$LOG" + # Clock 1 + sed -i 's#^ \/\/"format": " {:%I:%M %p}", // AM PM format# "format": " {:%I:%M %p}", // AM PM format#' config/waybar/modules 2>&1 | tee -a "$LOG" + sed -i 's#^ "format": " {:%H:%M:%S}", // 24H# \/\/"format": " {:%H:%M:%S}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" + # Clock 2 + sed -i 's#^ "format": " {:%H:%M}", // 24H# \/\/"format": " {:%H:%M}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" + + # Clock 3 + sed -i 's#^ \/\/"format": "{:%I:%M %p - %d/%b}", //for AM/PM# "format": "{:%I:%M %p - %d/%b}", //for AM/PM#' config/waybar/modules 2>&1 | tee -a "$LOG" + sed -i 's#^ "format": "{:%H:%M - %d/%b}", // 24H# \/\/"format": "{:%H:%M - %d/%b}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" + + # Clock 4 + sed -i 's#^ \/\/"format": "{:%B | %a %d, %Y | %I:%M %p}", // AM PM format# "format": "{:%B | %a %d, %Y | %I:%M %p}", // AM PM format#' config/waybar/modules 2>&1 | tee -a "$LOG" + sed -i 's#^ "format": "{:%B | %a %d, %Y | %H:%M}", // 24H# \/\/"format": "{:%B | %a %d, %Y | %H:%M}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" + + # Clock 5 + sed -i 's#^ \/\/"format": "{:%A, %I:%M %P}", // AM PM format# "format": "{:%A, %I:%M %P}", // AM PM format#' config/waybar/modules 2>&1 | tee -a "$LOG" + sed -i 's#^ "format": "{:%a %d | %H:%M}", // 24H# \/\/"format": "{:%a %d | %H:%M}", // 24H#' config/waybar/modules 2>&1 | tee -a "$LOG" + # for hyprlock sed -i 's|^ #text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM| text = cmd\[update:1000\] echo " $(date +"%I:%M:%S %p") " # AM/PM|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" sed -i 's|^ text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H| #text = cmd\[update:1000\] echo " $(date +"%H:%M:%S") " # 24H|' config/hypr/hyprlock.conf 2>&1 | tee -a "$LOG" From dea333a91912da3ac6cb8e50a088279a71e48933 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 02:04:57 +0900 Subject: [PATCH 10/14] removed the #env = WLR_RENDERER,vulkan as some users accidentally use it.. as of gentoo wiki, v0.40.0, the env is broken --- config/hypr/UserConfigs/ENVariables.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index aa5b231..8858cf8 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -14,9 +14,6 @@ env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland -# vulkan -#env = WLR_RENDERER,vulkan - # firefox env = MOZ_ENABLE_WAYLAND,1 From 366de8e39ed3ac525c7a29686ebcd7c70ccc1e1f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 05:10:50 +0900 Subject: [PATCH 11/14] remove WLR_NO_HARDWARE_CURSORS for nvidia (deprecated). Added Cursor section on Hyprland Settings --- config/hypr/UserConfigs/ENVariables.conf | 1 - config/hypr/UserConfigs/UserSettings.conf | 4 ++++ copy.sh | 1 - 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 8858cf8..d171b59 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -22,7 +22,6 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto # NVIDIA # This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected -#env = WLR_NO_HARDWARE_CURSORS,1 #env = LIBVA_DRIVER_NAME,nvidia #env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = GBM_BACKEND,nvidia-drm diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 1ca9b5d..57bb984 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -146,3 +146,7 @@ binds { xwayland { force_zero_scaling = true } + +cursor { + enable_hyprcursor = true +} \ No newline at end of file diff --git a/copy.sh b/copy.sh index 89f9086..de17f6a 100755 --- a/copy.sh +++ b/copy.sh @@ -44,7 +44,6 @@ xdg-user-dirs-update 2>&1 | tee -a "$LOG" || true # uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then # NVIDIA GPU detected, uncomment line 23 in ENVariables.conf - sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/env = LIBVA_DRIVER_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf sed -i '/env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf fi From 7710734db0e8d6e828cae91cc7a05f5537cd590a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 05:33:54 +0900 Subject: [PATCH 12/14] updated cursor section --- config/hypr/UserConfigs/UserSettings.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 57bb984..be8e484 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -147,6 +147,7 @@ xwayland { force_zero_scaling = true } -cursor { - enable_hyprcursor = true -} \ No newline at end of file +# cursor section for Hyprland v0.41.0 or newer +#cursor { +# enable_hyprcursor = true +#} \ No newline at end of file From 76765c119d0512a7d2ed60b69ec1c020ed5e793b Mon Sep 17 00:00:00 2001 From: James Appleton Date: Wed, 29 May 2024 18:22:25 +1000 Subject: [PATCH 13/14] fix: changed minimum brightness from 0 (black screen) to 1 (darkest possible readable screen) --- config/hypr/scripts/Brightness.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 7d43f57..8f9fbf2 100755 --- a/config/hypr/scripts/Brightness.sh +++ b/config/hypr/scripts/Brightness.sh @@ -33,7 +33,7 @@ notify_user() { # Change brightness change_backlight() { - brightnessctl set "$1" && get_icon && notify_user + brightnessctl set "$1" -n && get_icon && notify_user } # Execute accordingly @@ -50,4 +50,4 @@ case "$1" in *) get_backlight ;; -esac \ No newline at end of file +esac From 4ac0591cce6acb6296e90940c9598b9798e85600 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 May 2024 03:01:00 +0900 Subject: [PATCH 14/14] removed the immediate lockscreen function... have 1 secs grace period --- config/hypr/scripts/LockScreen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh index ce2320a..56d496a 100755 --- a/config/hypr/scripts/LockScreen.sh +++ b/config/hypr/scripts/LockScreen.sh @@ -2,4 +2,4 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # For Hyprlock -hyprlock -q --immediate \ No newline at end of file +hyprlock -q \ No newline at end of file