diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-03-10 13:59:42 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-03-10 13:59:42 +0900 |
| commit | 8219436a1324531bdd44e8a248a2bd1de8d5f516 (patch) | |
| tree | 776a5bd66ccc47d743fe93ad66091b5db5b907ac | |
| parent | 66fbcb8869fd0e0d768c730e0671c0f0d9eba81c (diff) | |
Dropped pyprland
| -rw-r--r-- | config/hypr/UserConfigs/Startup_Apps.conf | 2 | ||||
| -rw-r--r-- | config/hypr/UserConfigs/UserKeybinds.conf | 13 | ||||
| -rw-r--r-- | config/hypr/pyprland.toml | 14 | ||||
| -rw-r--r-- | config/hypr/v2.3.14-dev (renamed from config/hypr/v2.3.13) | 0 | ||||
| -rwxr-xr-x | copy.sh | 9 |
5 files changed, 10 insertions, 28 deletions
diff --git a/config/hypr/UserConfigs/Startup_Apps.conf b/config/hypr/UserConfigs/Startup_Apps.conf index e5fa2bae..aa873f82 100644 --- a/config/hypr/UserConfigs/Startup_Apps.conf +++ b/config/hypr/UserConfigs/Startup_Apps.conf @@ -37,8 +37,6 @@ exec-once = $UserScripts/RainbowBorders.sh # Starting hypridle to start hyprlock exec-once = hypridle -# Start pyprland daemon -exec-once = pypr & # Here are list of features available but disabled by default # exec-once = swww-daemon --format xrgb && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper diff --git a/config/hypr/UserConfigs/UserKeybinds.conf b/config/hypr/UserConfigs/UserKeybinds.conf index 447bcaef..5b14209b 100644 --- a/config/hypr/UserConfigs/UserKeybinds.conf +++ b/config/hypr/UserConfigs/UserKeybinds.conf @@ -37,6 +37,15 @@ bind = $mainMod SHIFT, F, fullscreen # whole full screen bind = $mainMod CTRL, F, fullscreen, 1 # fake full screen bind = $mainMod, SPACE, togglefloating, #Float Mode bind = $mainMod ALT, SPACE, exec, hyprctl dispatch workspaceopt allfloat #All Float Mode +bind = $mainMod SHIFT, Return, exec, [float; move 15% 5%; size 70% 60%] $term # Dropdown terminal + +# Desktop zooming or magnifier +bind = $mainMod ALT, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 1.5}')" +bind = $mainMod ALT, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 1.5}')" + +## NOTES for ja (Hyprland version 0.39 (Ubuntu 24.04)) +#bind = $mainMod ALT, mouse_down, exec, hyprctl keyword misc:cursor_zoom_factor "$(hyprctl getoption misc:cursor_zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 1.5}')" +#bind = $mainMod ALT, mouse_up, exec, hyprctl keyword misc:cursor_zoom_factor "$(hyprctl getoption misc:cursor_zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 1.5}')" # Waybar / Bar related bind = $mainMod CTRL ALT, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar @@ -55,10 +64,6 @@ bind = $mainMod SHIFT, O, exec, $UserScripts/ZshChangeTheme.sh # Change oh-my-zs bindln = ALT_L, SHIFT_L, exec, $scriptsDir/SwitchKeyboardLayout.sh # Change keyboard layout bind = $mainMod ALT, C, exec, $UserScripts/RofiCalc.sh # calculator (qalculate) -# pyprland (This is not available in Debian and Ubuntu) -bind = $mainMod SHIFT, Return, exec, pypr toggle term # Dropdown terminal not avail Debian and Ubuntu -bind = $mainMod, Z, exec, pypr zoom # Toggle Desktop Zoom - # For passthrough keyboard into a VM # bind = $mainMod ALT, P, submap, passthru diff --git a/config/hypr/pyprland.toml b/config/hypr/pyprland.toml deleted file mode 100644 index 731a8093..00000000 --- a/config/hypr/pyprland.toml +++ /dev/null @@ -1,14 +0,0 @@ -# /* ----------- 💫 https://github.com/JaKooLit 💫 -------- */ # - -[pyprland] - -plugins = [ - "scratchpads", - "magnify", -] - -[scratchpads.term] -animation = "fromTop" -command = "kitty --class kitty-dropterm" -class = "kitty-dropterm" -size = "75% 60%" diff --git a/config/hypr/v2.3.13 b/config/hypr/v2.3.14-dev index 31b3414d..31b3414d 100644 --- a/config/hypr/v2.3.13 +++ b/config/hypr/v2.3.14-dev @@ -115,13 +115,6 @@ if hostnamectl | grep -q 'Operating System: NixOS'; then sed -i '/^exec-once = \$scriptsDir\/Polkit\.sh$/ s/^#*/#/' config/hypr/UserConfigs/Startup_Apps.conf fi -# to check if Debian or Ubuntu or based distros -if grep -iq '^\(ID_LIKE\|ID\)=.*\(debian\|ubuntu\)' /etc/os-release >/dev/null 2>&1; then - echo "${INFO} Debian/Ubuntu based distro. Disabling pyprland since it does not work properly" 2>&1 | tee -a "$LOG" || true - # disabling pyprland as causing issues - sed -i '/^\s*exec-once = pypr &\s*/ s/^/#/' config/hypr/UserConfigs/Startup_Apps.conf -fi - # activating hyprcursor on env by checking if the directory ~/.icons/Bibata-Modern-Ice/hyprcursors exists if [ -d "$HOME/.icons/Bibata-Modern-Ice/hyprcursors" ]; then HYPRCURSOR_ENV_FILE="config/hypr/UserConfigs/ENVariables.conf" @@ -684,7 +677,7 @@ if [ -d "$BACKUP_HYPR_PATH" ]; then done # Restore files automatically - FILE_B=("monitors.conf" "workspaces.conf" "pyprland.toml") + FILE_B=("monitors.conf" "workspaces.conf") for FILE_RESTORE in "${FILE_B[@]}"; do BACKUP_FILE="$BACKUP_HYPR_PATH/$FILE_RESTORE" |
