Browse Source

Merge pull request #236 from JaKooLit/main

Synchronizing Main to development
pull/242/head
Ja.KooLit 2 years ago committed by GitHub
parent
commit
332b0afaa0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      config/hypr/UserConfigs/Startup_Apps.conf
  2. 3
      config/hypr/UserConfigs/WindowRules.conf
  3. 1
      config/hypr/configs/Keybinds.conf
  4. 7
      config/hypr/scripts/Refresh.sh

1
config/hypr/UserConfigs/Startup_Apps.conf

@ -26,7 +26,6 @@ exec-once = swaync &
#exec-once = blueman-applet &
#exec-once = rog-control-center &
#clipboard manager
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

3
config/hypr/UserConfigs/WindowRules.conf

@ -86,6 +86,9 @@ windowrulev2 = opacity 0.9 0.8, class:^(seahorse)$ # gnome-keyring gui
#layerrule = blur,class:^([Rr]ofi)$
#layerrule = ignorezero, <rofi>
layerrule = ignorezero, overview
layerrule = blur, overview
#windowrulev2 = bordercolor rgb(EE4B55) rgb(880808), fullscreen:1
#windowrulev2 = bordercolor rgb(282737) rgb(1E1D2D), floating:1
#windowrulev2 = opacity 0.8 0.8, pinned:1

1
config/hypr/configs/Keybinds.conf

@ -30,6 +30,7 @@ bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwi
bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager
bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC panel
bind = SHIFT, ALT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout
bind = $mainMod, A, exec, ags -t 'overview'
# FEATURES / EXTRAS (UserScripts)
bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings

7
config/hypr/scripts/Refresh.sh

@ -15,13 +15,15 @@ file_exists() {
}
# Kill already running processes
_ps=(waybar rofi swaync)
_ps=(waybar rofi swaync ags)
for _prs in "${_ps[@]}"; do
if pidof "${_prs}" >/dev/null; then
pkill "${_prs}"
fi
done
ags -q
sleep 0.3
# Relaunch waybar
waybar &
@ -30,6 +32,9 @@ waybar &
sleep 0.5
swaync > /dev/null 2>&1 &
# relaunch ags
ags &
# Relaunching rainbow borders if the script exists
sleep 1
if file_exists "${UserScripts}/RainbowBorders.sh"; then

Loading…
Cancel
Save