diff options
| author | JaKooLit <jimmielovejay.com> | 2023-12-17 22:09:37 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2023-12-17 22:09:37 +0900 |
| commit | 70d3ed24206ba3445a73b75328f7688c6f78e894 (patch) | |
| tree | d900cff5caaac019e95259aeaef57699ecc60ad4 /config | |
| parent | 96c5794d550d34bce500828f4160667d70d60681 (diff) | |
minor tweaks before final
Diffstat (limited to 'config')
| -rw-r--r-- | config/hypr/configs/Settings.conf | 2 | ||||
| -rw-r--r-- | config/hypr/configs/WindowRules.conf | 20 | ||||
| -rwxr-xr-x | config/hypr/scripts/AirplaneMode.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/ChangeBlur.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/SwitchKeyboardLayout.sh | 4 |
5 files changed, 15 insertions, 15 deletions
diff --git a/config/hypr/configs/Settings.conf b/config/hypr/configs/Settings.conf index 066998fe..55b3dec1 100644 --- a/config/hypr/configs/Settings.conf +++ b/config/hypr/configs/Settings.conf @@ -59,7 +59,7 @@ decoration { blur { enabled = true - size = 6 + size = 5 passes = 2 ignore_opacity = true new_optimizations = true diff --git a/config/hypr/configs/WindowRules.conf b/config/hypr/configs/WindowRules.conf index bfcb022c..99bc50ad 100644 --- a/config/hypr/configs/WindowRules.conf +++ b/config/hypr/configs/WindowRules.conf @@ -1,7 +1,6 @@ ## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more - windowrule = float, org.kde.polkit-kde-authentication-agent-1 windowrule = float, nm-connection-editor|blueman-manager windowrule = float, pavucontrol @@ -17,12 +16,9 @@ windowrule = float, yad #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ -# windowrule = move 1380 495,^(pavucontrol) # Make sure to change these valuers -windowrule = center,^(pavucontrol) # Make sure to delete this line if uncommen the line above -#windowrule = size 533 533,^(pavucontrol) # These are optionals. But recommended +windowrule = center,^(pavucontrol) # windowrule v2 - windowrulev2 = workspace 1, class:^(thunderbird)$ windowrulev2 = workspace 2, class:^(firefox)$ windowrulev2 = workspace 2, class:^(Firefox-esr)$ @@ -38,15 +34,15 @@ windowrulev2 = workspace 9 silent, class:^(audacious)$ #opacity (transparent) #enable as desired windowrulev2 = opacity 0.9 0.6, class:^([Rr]ofi)$ -windowrulev2 = opacity 0.9 0.7, class:^(firefox)$ -windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$ +windowrulev2 = opacity 0.9 0.6, class:^(firefox)$ +windowrulev2 = opacity 0.9 0.7, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ -windowrulev2 = opacity 0.9 0.8, class:^(kitty)$ -#windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ -windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ -windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ -windowrulev2 = opacity 0.9 0.7, class:^(yad)$ +windowrulev2 = opacity 0.9 0.7, class:^(kitty)$ +windowrulev2 = opacity 0.9 0.6, class:^(mousepad)$ +windowrulev2 = opacity 0.9 0.6, class:^(codium-url-handler)$ +windowrulev2 = opacity 0.9 0.6, class:^(VSCodium)$ +windowrulev2 = opacity 0.9 0.6, class:^(yad)$ #layerrule = unset,class:^([Rr]ofi)$ #layerrule = blur,class:^([Rr]ofi)$ diff --git a/config/hypr/scripts/AirplaneMode.sh b/config/hypr/scripts/AirplaneMode.sh index dc9a5956..428a09bd 100755 --- a/config/hypr/scripts/AirplaneMode.sh +++ b/config/hypr/scripts/AirplaneMode.sh @@ -1,6 +1,6 @@ #!/bin/bash -dunstify -u low -i "$dunst_notif" +dunst_notif="$HOME/.config/dunst/images/bell.png" wifi="$(nmcli r wifi | awk 'FNR = 2 {print $1}')" if [ "$wifi" == "enabled" ]; then diff --git a/config/hypr/scripts/ChangeBlur.sh b/config/hypr/scripts/ChangeBlur.sh index 46d8a1f8..891e22eb 100755 --- a/config/hypr/scripts/ChangeBlur.sh +++ b/config/hypr/scripts/ChangeBlur.sh @@ -9,7 +9,7 @@ if [ "${STATE}" == "2" ]; then hyprctl keyword decoration:blur:passes 1 dunstify -u low -i "$dunst_notif" "Less blur" else - hyprctl keyword decoration:blur:size 6 + hyprctl keyword decoration:blur:size 5 hyprctl keyword decoration:blur:passes 2 dunstify -u low -i "$dunst_notif" "Normal blur" fi diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh index e7c56b42..9d1ee844 100755 --- a/config/hypr/scripts/SwitchKeyboardLayout.sh +++ b/config/hypr/scripts/SwitchKeyboardLayout.sh @@ -2,6 +2,7 @@ layout_f="$HOME/.cache/kb_layout" settings_file="$HOME/.config/hypr/configs/Settings.conf" +dunst_notif="$HOME/.config/dunst/images/bell.png" # Check if ~/.cache/kb_layout exists and create it with a default layout from Settings.conf if not found if [ ! -f "$layout_f" ]; then @@ -37,3 +38,6 @@ new_layout="${layout_mapping[next_index]}" # Update the keyboard layout hyprctl keyword input:kb_layout "$new_layout" echo "$new_layout" > "$layout_f" + +# Notification for the new keyboard layout +dunstify -u low -i "$dunst_notif" "Keyboard layout set to $new_layout"
\ No newline at end of file |
