From 00b185ad64b500d9ad15d1954e851dbdbae93e3f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 25 May 2024 11:36:06 +0900 Subject: added whatsapp-for-linux window rules --- config/hypr/UserConfigs/WindowRules.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 1e949eca..6d807e28 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)$ -- cgit v1.2.3 From f558af53fda2c86c3719def1b84eb68d3f6d4ac7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 25 May 2024 12:23:18 +0900 Subject: added ferdium windowrules --- config/hypr/UserConfigs/WindowRules.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 6d807e28..0ee664e6 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)$ -- cgit v1.2.3 From 03683f9e7229d6f1fcbed6facae6b77ddd054b74 Mon Sep 17 00:00:00 2001 From: ThaSioul <7595965+ThaSiouL@users.noreply.github.com> Date: Sat, 25 May 2024 11:47:10 +0200 Subject: fix: remove cause of hyprlock crashing by (caused by multiple instances running) Also added optional Display Timeouts to hypridle.conf (commented out by default) --- config/hypr/hypridle.conf | 26 +++++++++++++++++++++----- config/hypr/scripts/LockScreen.sh | 2 +- 2 files changed, 22 insertions(+), 6 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf index 549f1b1c..b71c21df 100644 --- a/config/hypr/hypridle.conf +++ b/config/hypr/hypridle.conf @@ -4,13 +4,21 @@ general { - # lock_cmd = notify-send "lock!" # dbus/sysd lock command (loginctl lock-session) - # unlock_cmd = notify-send "unlock!" # same as above, but unlock - before_sleep_cmd = hyprlock # command ran before sleep - # after_sleep_cmd = notify-send "Awake!" # command ran after sleep + lock_cmd = pidof hyprlock || hyprlock # runs hyprlock if it is not already running (this is always run when "loginctl lock-session" is called) + # unlock_cmd = killall hyprlock # kills hyprlock when unlocking (this is always run when "loginctl unlock-session" is called) + before_sleep_cmd = loginctl lock-session # ensures that the session is locked before going to sleep + after_sleep_cmd = hyprctl dispatch dpms on # turn of screen after sleep (not strictly necessary, but just in case) ignore_dbus_inhibit = false # whether to ignore dbus-sent idle-inhibit requests (used by e.g. firefox or steam) } +# turn off screen faster if session is already locked +# (disabled by default) +# listener { +# timeout = 30 # 30 seconds +# on-timeout = pidof hyprlock && hyprctl dispatch dpms off # turns off the screen if hyprlock is active +# on-resume = pidof hyprlock && hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired. +# } + # Warn listener { timeout = 540 # 9 min @@ -21,10 +29,18 @@ listener { # Screenlock listener { timeout = 600 # 10 min - on-timeout = hyprlock # command to run when timeout has passed + on-timeout = loginctl lock-session # command to run when timeout has passed # on-resume = notify-send "Welcome back to your desktop!" # command to run when activity is detected after timeout has fired. } +# Turn off screen +# (disabled by default) +# listener { +# timeout = 630 # 10.5 min +# on-timeout = hyprctl dispatch dpms off # command to run when timeout has passed +# on-resume = hyprctl dispatch dpms on # command to run when activity is detected after timeout has fired. +# } + # Suspend # disabled by default # listener { # timeout = 1200 # 20 min diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh index ce2320ab..f8542f64 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 +pidof hyprlock || hyprlock -q --immediate -- cgit v1.2.3 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: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 142de86a..6c034562 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 -- cgit v1.2.3 From 9bf916556b3df4033012333946f14c6d28e13338 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 May 2024 01:08:06 +0900 Subject: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 8681eb30..aa5b2310 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 390b15e5..8bd0b334 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 -- cgit v1.2.3 From 939328fe35a1648b7f7bbc1f7d261520db6d0e62 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 27 May 2024 01:27:19 +0900 Subject: re-organize windowrules.conf --- config/hypr/UserConfigs/WindowRules.conf | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 0ee664e6..734a7056 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)$ -- cgit v1.2.3 From 467250d12a88c99a5ea8db3e3f9d86efb47b5b5c Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 02:24:33 +0900 Subject: modified / added some keybinds --- config/hypr/configs/Keybinds.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index 6c034562..c1f70c5e 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 -- cgit v1.2.3 From f593df6b480bb082f4131486822b755c334fedc7 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Tue, 28 May 2024 03:38:21 +0900 Subject: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf index 7c1af41a..c763bc90 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 071efb34..9e7e646a 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 8bd0b334..b05b996c 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" -- cgit v1.2.3 From dea333a91912da3ac6cb8e50a088279a71e48933 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 02:04:57 +0900 Subject: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index aa5b2310..8858cf8b 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 -- cgit v1.2.3 From 366de8e39ed3ac525c7a29686ebcd7c70ccc1e1f Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 05:10:50 +0900 Subject: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index 8858cf8b..d171b599 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 1ca9b5d8..57bb984e 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 89f9086d..de17f6ac 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 -- cgit v1.2.3 From 7710734db0e8d6e828cae91cc7a05f5537cd590a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Wed, 29 May 2024 05:33:54 +0900 Subject: updated cursor section --- config/hypr/UserConfigs/UserSettings.conf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf index 57bb984e..be8e4845 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 -- cgit v1.2.3 From 76765c119d0512a7d2ed60b69ec1c020ed5e793b Mon Sep 17 00:00:00 2001 From: James Appleton Date: Wed, 29 May 2024 18:22:25 +1000 Subject: 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(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/Brightness.sh b/config/hypr/scripts/Brightness.sh index 7d43f570..8f9fbf22 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 -- cgit v1.2.3 From 4ac0591cce6acb6296e90940c9598b9798e85600 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 May 2024 03:01:00 +0900 Subject: removed the immediate lockscreen function... have 1 secs grace period --- config/hypr/scripts/LockScreen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh index ce2320ab..56d496a5 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 -- cgit v1.2.3 From 564b42487a34d7823be196e2c13c6a791a649ec4 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 May 2024 03:48:06 +0900 Subject: removed the immediate flag --- config/hypr/scripts/LockScreen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/LockScreen.sh b/config/hypr/scripts/LockScreen.sh index a871cc75..0fd62cab 100755 --- a/config/hypr/scripts/LockScreen.sh +++ b/config/hypr/scripts/LockScreen.sh @@ -3,5 +3,5 @@ # For Hyprlock -pidof hyprlock || hyprlock -q --immediate +pidof hyprlock || hyprlock -q -- cgit v1.2.3 From 7d5852f30fa9ca2fe72f2e0e237081d045b0587e Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Fri, 31 May 2024 03:15:18 +0900 Subject: added ENV-GDK_scale - useful for those who use monitor-scaling --- config/hypr/UserConfigs/ENVariables.conf | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf index d171b599..c6bea01b 100644 --- a/config/hypr/UserConfigs/ENVariables.conf +++ b/config/hypr/UserConfigs/ENVariables.conf @@ -14,6 +14,12 @@ env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland +# xwayland apps scale fix (useful if you are use monitor scaling) +# see https://wiki.hyprland.org/Configuring/XWayland/ +# toolkit-specific scale +# env = GDK_SCALE,2 + + # firefox env = MOZ_ENABLE_WAYLAND,1 -- cgit v1.2.3 From 5a0bed839dcdf31fde559514d35938267c0dba28 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 1 Jun 2024 06:38:20 +0900 Subject: updated window rules --- config/hypr/UserConfigs/WindowRules.conf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/WindowRules.conf b/config/hypr/UserConfigs/WindowRules.conf index 734a7056..3fe8de77 100644 --- a/config/hypr/UserConfigs/WindowRules.conf +++ b/config/hypr/UserConfigs/WindowRules.conf @@ -6,12 +6,13 @@ #windowrule = workspace 6 silent,^(gamescope)$ # windowrule center -windowrule = center,^(pavucontrol) +windowrule = center,^(pavucontrol|org.pulseaudio.pavucontrol) windowrule = center,^([Ww]hatsapp-for-linux)$ windowrule = center,^([Ff]erdium)$ # WINDOWRULE v2 # windowrule v2 - position +windowrulev2 = center,floating:1 windowrulev2 = center, class:([Tt]hunar), title:(File Operation Progress) windowrulev2 = center, class:([Tt]hunar), title:(Confirm to replace files) @@ -48,7 +49,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)$ +windowrulev2 = float, class:^(pavucontrol|org.pulseaudio.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 @@ -60,8 +61,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)$ +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)$ -- cgit v1.2.3 From f1e6ce425ed7bfc08762ecaee07c381ec4d86967 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sat, 1 Jun 2024 17:03:21 +0900 Subject: keybind e for brightness and volume controls --- config/hypr/UserConfigs/Laptops.conf | 8 ++++---- config/hypr/configs/Keybinds.conf | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'config/hypr') diff --git a/config/hypr/UserConfigs/Laptops.conf b/config/hypr/UserConfigs/Laptops.conf index 00d8b8c6..2f1f2077 100644 --- a/config/hypr/UserConfigs/Laptops.conf +++ b/config/hypr/UserConfigs/Laptops.conf @@ -7,13 +7,13 @@ $mainMod = SUPER $scriptsDir = $HOME/.config/hypr/scripts $UserConfigs = $HOME/.config/hypr/UserConfigs -bind = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down -bind = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up +binde = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down +binde = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile bind = , xf86Launch4, exec, asusctl profile -n #FN+F5 change of fan profiles (Quite, Balance, Performance) -bind = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec -bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc +binde = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec +binde = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad # Screenshot keybindings for Asus G15 (no PrinSrc button) diff --git a/config/hypr/configs/Keybinds.conf b/config/hypr/configs/Keybinds.conf index c1f70c5e..a270ab6f 100644 --- a/config/hypr/configs/Keybinds.conf +++ b/config/hypr/configs/Keybinds.conf @@ -59,8 +59,8 @@ bind = ALT,Tab,cyclenext bind = ALT,Tab,bringactivetotop # Special Keys / Hot Keys -bindl = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up -bindl = , xf86audiolowervolume, exec, $scriptsDir/Volume.sh --dec #volume down +bindel = , xf86audioraisevolume, exec, $scriptsDir/Volume.sh --inc #volume up +bindel = , 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 -- cgit v1.2.3 From 692fdccbdd304d81d588eab1256a44620a675050 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Sun, 2 Jun 2024 23:26:11 +0900 Subject: Bumping to v2.2.13, wallpaper wont be backup anymore but rather just overwrite existing one --- config/hypr/v2.2.12 | 5 ----- config/hypr/v2.2.13 | 5 +++++ copy.sh | 9 --------- 3 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 config/hypr/v2.2.12 create mode 100644 config/hypr/v2.2.13 (limited to 'config/hypr') diff --git a/config/hypr/v2.2.12 b/config/hypr/v2.2.12 deleted file mode 100644 index 31b3414d..00000000 --- a/config/hypr/v2.2.12 +++ /dev/null @@ -1,5 +0,0 @@ -### https://github.com/JaKooLit ### -## https://github.com/JaKooLit/Hyprland-Dots -## This is to have a reference of which version would be - -## note that this will always be higher than the released versions \ No newline at end of file diff --git a/config/hypr/v2.2.13 b/config/hypr/v2.2.13 new file mode 100644 index 00000000..31b3414d --- /dev/null +++ b/config/hypr/v2.2.13 @@ -0,0 +1,5 @@ +### https://github.com/JaKooLit ### +## https://github.com/JaKooLit/Hyprland-Dots +## This is to have a reference of which version would be + +## note that this will always be higher than the released versions \ No newline at end of file diff --git a/copy.sh b/copy.sh index de17f6ac..9366ea39 100755 --- a/copy.sh +++ b/copy.sh @@ -236,15 +236,6 @@ for DIR in ags btop cava fastfetch hypr kitty Kvantum qt5ct qt6ct rofi swappy sw fi done -for DIRw in wallpapers; do - DIRPATH=~/Pictures/"$DIRw" - if [ -d "$DIRPATH" ]; then - 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 - printf "\n%.0s" {1..2} # Copying config files -- cgit v1.2.3 From 7f08f094980e969f683fadb133e511c5aee93bd9 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 3 Jun 2024 03:43:07 +0900 Subject: added error sound for screenshot not saved --- config/hypr/scripts/ScreenShot.sh | 2 ++ config/hypr/scripts/Sounds.sh | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'config/hypr') diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh index d2ee51a2..5d15ee68 100755 --- a/config/hypr/scripts/ScreenShot.sh +++ b/config/hypr/scripts/ScreenShot.sh @@ -22,6 +22,7 @@ notify_view() { "${sDIR}/Sounds.sh" --screenshot else ${notify_cmd_shot} "Screenshot of '${active_window_class}' not Saved" + "${sDIR}/Sounds.sh" --error fi elif [[ "$1" == "swappy" ]]; then ${notify_cmd_shot} "Screenshot Captured." @@ -32,6 +33,7 @@ notify_view() { "${sDIR}/Sounds.sh" --screenshot else ${notify_cmd_shot} "Screenshot NOT Saved." + "${sDIR}/Sounds.sh" --error fi fi } diff --git a/config/hypr/scripts/Sounds.sh b/config/hypr/scripts/Sounds.sh index e19feea4..9ab9127d 100755 --- a/config/hypr/scripts/Sounds.sh +++ b/config/hypr/scripts/Sounds.sh @@ -26,8 +26,13 @@ elif [[ "$1" == "--volume" ]]; then exit 0 fi soundoption="audio-volume-change.*" +elif [[ "$1" == "--error" ]]; then + if [[ "$muteScreenshots" = true ]]; then + exit 0 + fi + soundoption="dialog-error.*" else - echo -e "Available sounds: --screenshot, --volume" + echo -e "Available sounds: --screenshot, --volume, --error" exit 0 fi -- cgit v1.2.3