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 diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 8681eb3..d171b59 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -14,15 +14,14 @@ 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 +# 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 #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..be8e484 100644 --- a/config/hypr/UserConfigs/UserSettings.conf +++ b/config/hypr/UserConfigs/UserSettings.conf @@ -146,3 +146,8 @@ binds { xwayland { force_zero_scaling = true } + +# cursor section for Hyprland v0.41.0 or newer +#cursor { +# enable_hyprcursor = true +#} \ No newline at end of file diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 1e949ec..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,^(pavucontrol|org.pulseaudio.pavucontrol)$ +# 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)$ @@ -18,6 +31,8 @@ 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)$ +windowrulev2 = workspace 7, class:^([Ww]hatsapp-for-linux)$ # windowrule v2 move to workspace (silent) windowrulev2 = workspace 6 silent, class:^(virt-manager)$ @@ -33,7 +48,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 +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)$ - -# windowrule v2 - position -windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) -windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) +#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)$ @@ -80,6 +93,8 @@ 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)$ +windowrulev2 = opacity 0.9 0.7, class:^([Ff]erdium)$ # windowrule v2 - size windowrulev2 = size 70% 70%, class:^(gnome-system-monitor|org.gnome.SystemMonitor)$ @@ -88,6 +103,8 @@ 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)$ +windowrulev2 = size 60% 70%, class:^([Ff]erdium)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 142de86..c1f70c5 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -52,23 +52,27 @@ 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 -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 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/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 diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh index f8542f6..a871cc7 100755 --- a/config/hypr/scripts/LockScreen.sh +++ b/config/hypr/scripts/LockScreen.sh @@ -2,4 +2,6 @@ # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # For Hyprlock + pidof hyprlock || hyprlock -q --immediate + 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 071efb3..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, @@ -281,8 +314,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}", // 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 390b15e..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 @@ -126,12 +125,28 @@ 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 + # 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 - 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" @@ -224,10 +239,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