update hyprland from nixos branch
This commit is contained in:
parent
6265faa787
commit
31f3b9e1b2
9 changed files with 78 additions and 36 deletions
17
hypr/config/environments/nvidia.conf
Executable file → Normal file
17
hypr/config/environments/nvidia.conf
Executable file → Normal file
|
|
@ -4,13 +4,20 @@
|
|||
# -----------------------------------------------------
|
||||
|
||||
# https://wiki.hyprland.org/Nvidia/
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = LIBVA_DRIVER_NAME,nvidia
|
||||
env = XDG_SESSION_TYPE,wayland
|
||||
env = GBM_BACKEND,nvidia-drm
|
||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||
# env = __GL_VRR_ALLOWED,1
|
||||
# env = WLR_DRM_NO_ATOMIC,1
|
||||
cursor {
|
||||
no_hardware_cursors = true
|
||||
}
|
||||
env = NVD_BACKEND,direct
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = __GL_VRR_ALLOWED,1
|
||||
env = WLR_DRM_NO_ATOMIC,1
|
||||
|
||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||
|
||||
|
|
|
|||
11
hypr/config/keybinds.conf
Executable file → Normal file
11
hypr/config/keybinds.conf
Executable file → Normal file
|
|
@ -2,7 +2,7 @@
|
|||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, X, killactive,
|
||||
bind = $mainMod, ESCAPE, exit,
|
||||
bind = $mainMod, ESCAPE, exec, $powerMenu
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, F, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
|
|
@ -44,13 +44,18 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
||||
|
||||
###############################################################################
|
||||
# Special workspaces
|
||||
###############################################################################
|
||||
# Scratchpad
|
||||
bind = CTRL SHIFT, S, togglespecialworkspace, magic
|
||||
bind = CTRL $mainMod, S, movetoworkspace, special:magic
|
||||
# Terminal
|
||||
bind = CTRL SHIFT, T, togglespecialworkspace, terminal
|
||||
bind = CTRL $mainMod, T, movetoworkspace, special:terminal
|
||||
# Music
|
||||
bind = CTRL SHIFT, M, togglespecialworkspace, music
|
||||
bind = CTRL $mainMod, M, movetoworkspace, special:music
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
|
|
@ -65,8 +70,8 @@ bindm = $mainMod, mouse:272, movewindow
|
|||
bindm = $mainMod, mouse:273, resizewindow
|
||||
|
||||
# Audio keybinds
|
||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+
|
||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%-
|
||||
bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
|
||||
bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-
|
||||
bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bind = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bind = , XF86AudioStop, exec,
|
||||
|
|
|
|||
30
hypr/config/rules.conf
Executable file → Normal file
30
hypr/config/rules.conf
Executable file → Normal file
|
|
@ -9,23 +9,27 @@ windowrulev2 = nomaxsize, class:.* # You'll probably like this.
|
|||
|
||||
|
||||
# Apps
|
||||
windowrule = workspace 1, title:^Spotify Premium$
|
||||
|
||||
windowrule = float, title:rofi
|
||||
|
||||
windowrule = workspace special:terminal, kitty
|
||||
windowrule = workspace special:music, title:^Spotify Premium$
|
||||
windowrulev2 = opacity 0.85 0.8, initialTitle:^Spotify Premium$
|
||||
|
||||
windowrule = workspace 2, discord
|
||||
windowrule = opacity 0.999, discord
|
||||
windowrulev2 = workspace 1,class:(discord)
|
||||
|
||||
windowrule = workspace 3, firefox
|
||||
windowrulev2 = workspace 1,class:(Caprine)
|
||||
windowrule = opacity 0.999, Caprine
|
||||
|
||||
windowrule = workspace 2, firefox
|
||||
windowrule = opacity 0.999, firefox
|
||||
|
||||
windowrule = float, kitty
|
||||
windowrule = workspace special:terminal, kitty
|
||||
windowrule = move 25% 25%, kitty
|
||||
windowrule = size 50% 50%, kitty
|
||||
windowrulev2 = workspace 4,float,class:(steam)
|
||||
windowrule = workspace 4, class:^(steam_app_*)$
|
||||
|
||||
windowrule = float, Thunar
|
||||
windowrule = move 12.5% 12.5%, Thunar
|
||||
windowrule = size 75% 75%, Thunar
|
||||
|
||||
windowrule = immediate, class:^(steam_app_553850)$
|
||||
# Workspaces
|
||||
workspace = 1, persistent:true
|
||||
workspace = 2, persistent:true
|
||||
workspace = 3, persistent:true
|
||||
workspace = 4, persistent:true
|
||||
|
||||
|
|
|
|||
5
hypr/config/startup.conf
Executable file → Normal file
5
hypr/config/startup.conf
Executable file → Normal file
|
|
@ -9,3 +9,8 @@ exec-once = emote
|
|||
# Wallpaper Daemon
|
||||
exec-once = swww-daemon
|
||||
|
||||
exec-once = [workspace 1 silent] discord --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
exec-once = [workspace 1 silent] caprine --enable-features=UseOzonePlatform --ozone-platform=wayland
|
||||
exec-once = [workspace 2 silent] firefox
|
||||
exec-once = [workspace special:music silent] spotify
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue