Browse Source

- Breaking Changes.

- Quick Edit script moved to user scripts - I understand some users wants to use other editor
- RofiBeats moved to user scripts - This is because users wants their own stations :)
- RofiBeats keybinds changed to SUPER SHIFT M keybind
- Keybinds to change layout SUPER ALT L
- Wlogout Script adjusted with 4K.
- Wallpaper Scripts are moved to UserScripts. This is because if users has a different location of wallpapers and also wants a different animations
pull/116/head
JaKooLit 2 years ago
parent
commit
16621bef0e
  1. 2
      config/hypr/UserConfigs/Monitors.conf
  2. 2
      config/hypr/UserConfigs/Startup_Apps.conf
  3. 0
      config/hypr/UserScripts/00-Readme
  4. 0
      config/hypr/UserScripts/QuickEdit.sh
  5. 0
      config/hypr/UserScripts/RofiBeats.sh
  6. 0
      config/hypr/UserScripts/Wallpaper.sh
  7. 0
      config/hypr/UserScripts/WallpaperRandom.sh
  8. 0
      config/hypr/UserScripts/WallpaperSelect.sh
  9. 19
      config/hypr/configs/Keybinds.conf
  10. 2
      config/hypr/scripts/KeyHints.sh
  11. 6
      config/hypr/scripts/Wlogout.sh

2
config/hypr/UserConfigs/Monitors.conf

@ -15,7 +15,7 @@ monitor=,preferred,auto,1
#monitor = eDP-1, preferred, auto, 1
#monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen
#monitor = DP-2, preferred, auto, 1
#monitor = DP-3, 1920x1080@240, auto, 1
#monitor = DP-1, preferred, auto, 1
#monitor = HDMI-A-1, preferred,auto,1

2
config/hypr/UserConfigs/Startup_Apps.conf

@ -4,7 +4,7 @@
$scriptsDir = $HOME/.config/hypr/scripts
$UserscriptsDir = $HOME/.config/hypr/UserScripts
$lock = $scriptsDir/LockScreen.sh
$SwwwRandom = $scriptsDir/WallpaperRandom.sh
$SwwwRandom = $UserscriptsDir/WallpaperRandom.sh
$WallpaperPath = $HOME/Pictures/wallpapers

0
config/hypr/UserScripts/00-Readme

0
config/hypr/scripts/QuickEdit.sh → config/hypr/UserScripts/QuickEdit.sh

0
config/hypr/scripts/RofiBeats.sh → config/hypr/UserScripts/RofiBeats.sh

0
config/hypr/scripts/Wallpaper.sh → config/hypr/UserScripts/Wallpaper.sh

0
config/hypr/scripts/WallpaperRandom.sh → config/hypr/UserScripts/WallpaperRandom.sh

0
config/hypr/scripts/WallpaperSelect.sh → config/hypr/UserScripts/WallpaperSelect.sh

19
config/hypr/configs/Keybinds.conf

@ -3,32 +3,33 @@
$mainMod = SUPER
$scriptsDir = $HOME/.config/hypr/scripts
$UserScripts = $HOME/.config/hypr/UserScripts
bind = CTRL ALT, Delete, exec, hyprctl dispatch exit 0
bind = $mainMod, Q, killactive,
bind = $mainMod, F, fullscreen
bind = $mainMod SHIFT, Q, closewindow,
bind = $mainMod SHIFT, F, togglefloating,
bind = $mainMod ALT, F, exec, hyprctl dispatch workspaceopt allfloat
bind = $mainMod, F, fullscreen
bind = $mainMod, Q, killactive,
bind = CTRL ALT, L, exec, $scriptsDir/LockScreen.sh
bind = CTRL ALT, P, exec, $scriptsDir/Wlogout.sh
# FEATURES / EXTRAS
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file
bind = $mainMod ALT, R, exec, $scriptsDir/Refresh.sh # Refresh waybar, swaync, rofi
bind = $mainMod CTRL, S, exec, $scriptsDir/RofiBeats.sh # online music
bind = $mainMod ALT, E, exec, $scriptsDir/RofiEmoji.sh # emoji
bind = $mainMod, H, exec, $scriptsDir/KeyHints.sh # Small help file
bind = $mainMod, E, exec, $scriptsDir/QuickEdit.sh # Quick Edit Hyprland Settings
bind = $mainMod SHIFT, B, exec, $scriptsDir/ChangeBlur.sh # Toggle blur settings
bind = $mainMod SHIFT, G, exec, $scriptsDir/GameMode.sh # animations ON/OFF
bind = $mainMod ALT, K, exec, $scriptsDir/SwitchKeyboardLayout.sh # Switch Keyboard Layout
bind = $mainMod, Space, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout
bind = $mainMod ALT, L, exec, $scriptsDir/ChangeLayout.sh # Toggle Master or Dwindle Layout
bind = $mainMod ALT, V, exec, $scriptsDir/ClipManager.sh # Clipboard Manager
bind = $mainMod SHIFT, N, exec, swaync-client -t -sw # swayNC panel
# Wallpaper related keybinds
bind = $mainMod, W, exec, $scriptsDir/WallpaperSelect.sh # Select wallpaper to apply
bind = CTRL ALT, W, exec, $scriptsDir/Wallpaper.sh # Random wallpapers
# FEATURES / EXTRAS (UserScripts)
bind = $mainMod, E, exec, $UserScripts/QuickEdit.sh # Quick Edit Hyprland Settings
bind = $mainMod ALT, M, exec, $UserScripts/RofiBeats.sh # online music
bind = $mainMod, W, exec, $UserScripts/WallpaperSelect.sh # Select wallpaper to apply
bind = CTRL ALT, W, exec, $UserScripts/Wallpaper.sh # Random wallpapers
# Waybar / Bar related
bind = $mainMod, B, exec, killall -SIGUSR1 waybar # Toggle hide/show waybar

2
config/hypr/scripts/KeyHints.sh

@ -57,7 +57,7 @@ yad --width=$dynamic_width --height=$dynamic_height \
"CTRL ALT L" "screen lock" "(swaylock)" \
"CTRL ALT Del" "Hyprland Exit" "(SAVE YOUR WORK!!!)" \
" F" "Fullscreen" "Toggles to full screen" \
" Spacebar" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
" ALT L" "Toggle Dwindle | Master Layout" "Hyprland Layout" \
" Shift F" "Toggle float" "single window" \
" ALT F" "Toggle all windows to float" "all windows" \
" Shift B" "Toggle Blur" "normal or less blur" \

6
config/hypr/scripts/Wlogout.sh

@ -1,8 +1,8 @@
#!/bin/bash
# Set variables for parameters
A_2160=2500
B_2160=2700
A_2160=500
B_2160=500
A_1440=500
B_1440=550
A_1080=300
@ -24,7 +24,7 @@ echo "Detected Resolution: $resolution"
# Set parameters based on screen resolution and scaling factor
if ((resolution >= 2160)); then
wlogout --protocol layer-shell -b 6 -T $(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}") &
wlogout --protocol layer-shell -b 3 -T $(awk "BEGIN {printf \"%.0f\", $A_2160 * 2160 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_2160 * 2160 * $hypr_scale / $resolution}") &
echo "Setting parameters for resolution >= 2160p"
elif ((resolution >= 1440)); then
wlogout --protocol layer-shell -b 6 -T $(awk "BEGIN {printf \"%.0f\", $A_1440 * 1440 * $hypr_scale / $resolution}") -B $(awk "BEGIN {printf \"%.0f\", $B_1440 * 1440 * $hypr_scale / $resolution}") &

Loading…
Cancel
Save