dotfiles-x113d722ad
hyprland: add some important variables, use gammastep
+39 −17
1 file changed
- M .config/hypr/hyprland.conf +39 −17
| @@ -1,22 +1,18 @@ | |||
| 1 | 1 | autogenerated = 0 | |
| 2 | 2 | ||
| 3 | − | # source = ~/.config/hypr/monitors.conf | |
| 4 | − | ||
| 5 | − | ||
| 6 | 3 | ################### | |
| 7 | 4 | ### MY PROGRAMS ### | |
| 8 | 5 | ################### | |
| 9 | 6 | $terminal = alacritty | |
| 10 | 7 | $fileManager = pcmanfm | |
| 11 | − | # $menu = rofi -show drun | |
| 12 | − | $menu = rofi -show drun | |
| 13 | − | $browser = brave | |
| 8 | + | $menu = rofi -show run | |
| 9 | + | $browser = zen-browser | |
| 14 | 10 | ||
| 15 | 11 | ||
| 16 | 12 | ################# | |
| 17 | 13 | ### AUTOSTART ### | |
| 18 | 14 | ################# | |
| 19 | − | exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & hyprsunset & hypridle) | |
| 15 | + | exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & gammastep & hypridle) | |
| 20 | 16 | exec-once = systemctl --user start hyprpolkitagent | |
| 21 | 17 | ||
| 22 | 18 | plugin { | |
| @@ -33,12 +29,24 @@ plugin { | |||
| 33 | 29 | env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/ | |
| 34 | 30 | env = XCURSOR_SIZE,24 | |
| 35 | 31 | env = HYPRCURSOR_SIZE,24 | |
| 32 | + | env = GTK_THEME,Arc-Dark | |
| 36 | 33 | ||
| 37 | 34 | # XDG Specifications | |
| 38 | 35 | env = XDG_CURRENT_DESKTOP,Hyprland | |
| 39 | 36 | env = XDG_SESSION_TYPE,wayland | |
| 40 | 37 | env = XDG_SESSION_DESKTOP,Hyprland | |
| 41 | 38 | ||
| 39 | + | # Toolkit | |
| 40 | + | env = GDK_BACKEND,wayland,x11,* # GTK: Use Wayland if available; if not, try X11 and then any other GDK backend. | |
| 41 | + | env = QT_QPA_PLATFORM,wayland;xcb # Qt: Use Wayland if available, fall back to X11 if not | |
| 42 | + | env = SDL_VIDEODRIVER,Wayland # Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues | |
| 43 | + | env = CLUTTER_BACKEND,wayland # Clutter applications to try and use the Wayland backend | |
| 44 | + | ||
| 45 | + | # Nvidia | |
| 46 | + | # env = GBM_BACKEND,nvidia-drm | |
| 47 | + | # env = __GLX_VENDOR_LIBRARY_NAME,nvidia | |
| 48 | + | # env = LIBVA_DRIVER_NAME,nvidia | |
| 49 | + | ||
| 42 | 50 | ####################### | |
| 43 | 51 | ### PLUGIN SETTINGS ### | |
| 44 | 52 | ####################### | |
| @@ -61,6 +69,7 @@ ecosystem { | |||
| 61 | 69 | } | |
| 62 | 70 | ||
| 63 | 71 | permission = /usr/(bin|local/bin)/grim, screencopy, allow | |
| 72 | + | permission = /usr/(bin|local/bin)/hyprlock, screencopy, allow | |
| 64 | 73 | permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow | |
| 65 | 74 | permission = /usr/(bin|local/bin)/hyprpm, plugin, allow | |
| 66 | 75 | permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow | |
| @@ -86,16 +95,21 @@ decoration { | |||
| 86 | 95 | rounding = 8 | |
| 87 | 96 | ||
| 88 | 97 | ||
| 89 | − | blur { | |
| 90 | − | enabled = false | |
| 91 | − | size = 3 | |
| 92 | − | passes = 1 | |
| 93 | − | } | |
| 98 | + | # blur { | |
| 99 | + | # enabled = false | |
| 100 | + | # size = 3 | |
| 101 | + | # passes = 1 | |
| 102 | + | # } | |
| 103 | + | ||
| 94 | 104 | ||
| 95 | − | # drop_shadow = yes | |
| 96 | − | # shadow_range = 4 | |
| 97 | − | # shadow_render_power = 3 | |
| 98 | − | # col.shadow = rgba(1a1a1aee) | |
| 105 | + | # blur { | |
| 106 | + | # enabled = true | |
| 107 | + | # size = 3 | |
| 108 | + | # passes = 3 | |
| 109 | + | # new_optimizations = true | |
| 110 | + | # vibrancy = 0.1696 | |
| 111 | + | # ignore_opacity = true | |
| 112 | + | # } | |
| 99 | 113 | } | |
| 100 | 114 | ||
| 101 | 115 | animations { | |
| @@ -136,6 +150,12 @@ master { | |||
| 136 | 150 | misc { | |
| 137 | 151 | force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers | |
| 138 | 152 | disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :( | |
| 153 | + | disable_splash_rendering = true | |
| 154 | + | ||
| 155 | + | mouse_move_enables_dpms = true | |
| 156 | + | key_press_enables_dpms = true | |
| 157 | + | ||
| 158 | + | vrr = 0 # Disable adaptive sync | |
| 139 | 159 | } | |
| 140 | 160 | ||
| 141 | 161 | ||
| @@ -194,6 +214,8 @@ bind = $mainMod SHIFT, P, pseudo, # dwindle | |||
| 194 | 214 | bind = $mainMod, J, togglesplit, # dwindle | |
| 195 | 215 | binde = $mainMod, tab, cyclenext, prev | |
| 196 | 216 | bind = $mainMod, b, exec, killall waybar || waybar | |
| 217 | + | bind = $mainMod, grave, exec, rofiunicode | |
| 218 | + | bind = $mainMod, escape, exec, sysact | |
| 197 | 219 | ||
| 198 | 220 | # Applications | |
| 199 | 221 | bind = $mainMod, W, exec, $browser | |
| @@ -202,7 +224,7 @@ bind = $mainMod, W, exec, $browser | |||
| 202 | 224 | bind = $mainMod, m, exec, $terminal -e "ncmpcpp" | |
| 203 | 225 | bind = $mainMod, p, exec, mpc toggle | |
| 204 | 226 | binde = $mainMod, comma, exec, mpc seek -10 | |
| 205 | − | bind = $mainMod, period, exec, mpc seek +10 | |
| 227 | + | binde = $mainMod, period, exec, mpc seek +10 | |
| 206 | 228 | ||
| 207 | 229 | # Swap current focused window with master | |
| 208 | 230 | bind = $mainMod, space, layoutmsg, swapwithmaster | |