update
This commit is contained in:
parent
2c8ca743b5
commit
9a48ea1466
141
hyprland.conf
141
hyprland.conf
@ -9,22 +9,21 @@
|
|||||||
# Create your files separately and then link them to this file like this:
|
# Create your files separately and then link them to this file like this:
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
################
|
################
|
||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=DP-1,2560x1440@144,0x0,1, vrr, 0
|
monitor=DP-1,2560x1440@144,0x0,1, vrr, 1
|
||||||
monitor=DP-3,2560x1440@144,2560x0,1, vrr, 0
|
monitor=DP-3,2560x1440@144,2560x0,1, vrr, 1
|
||||||
|
|
||||||
|
source = ~/.config/hypr/keybindings.conf
|
||||||
# source = ~/.config/hypr/env.conf
|
# source = ~/.config/hypr/env.conf
|
||||||
# unscale XWayland
|
# unscale XWayland
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### MY PROGRAMS ###
|
### MY PROGRAMS ###
|
||||||
###################
|
###################
|
||||||
@ -34,8 +33,9 @@ xwayland {
|
|||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = ghostty
|
$terminal = ghostty
|
||||||
$fileManager = dolphin
|
$fileManager = dolphin
|
||||||
# $menu = wofi --show drun
|
|
||||||
$menu = rofi -show drun
|
$menu = rofi -show drun
|
||||||
|
# $notification_daemon = dunst
|
||||||
|
$notification_daemon = swaync
|
||||||
|
|
||||||
|
|
||||||
#################
|
#################
|
||||||
@ -45,9 +45,13 @@ $menu = rofi -show drun
|
|||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
# Or execute your favorite apps at launch like this:
|
# Or execute your favorite apps at launch like this:
|
||||||
|
|
||||||
|
exec-once = $notification_daemon
|
||||||
exec-once = $terminal
|
exec-once = $terminal
|
||||||
# exec-once = nm-applet &
|
exec-once = hyprpm reload -n
|
||||||
|
exec-once = nm-applet &
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
exec-once = hyprsunset
|
||||||
|
exec-once = /usr/lib/polkit-kde-authentication-agent-1
|
||||||
|
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@ -58,6 +62,8 @@ exec-once = waybar
|
|||||||
|
|
||||||
# env = XCURSOR_SIZE,24
|
# env = XCURSOR_SIZE,24
|
||||||
# env = HYPRCURSOR_SIZE,24
|
# env = HYPRCURSOR_SIZE,24
|
||||||
|
# done in ../uswm/env and ../uswm/env-hyprland
|
||||||
|
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
### LOOK AND FEEL ###
|
### LOOK AND FEEL ###
|
||||||
@ -202,94 +208,28 @@ device {
|
|||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
render {
|
||||||
|
explicit_sync = true
|
||||||
|
}
|
||||||
|
|
||||||
|
misc {
|
||||||
|
font_family = JetBrainsMono Nerd Font
|
||||||
|
}
|
||||||
|
|
||||||
# {{{ WORKSPACES
|
# {{{ WORKSPACES
|
||||||
# workspace = name:,monitor:DP-1
|
# workspace = name:,monitor:DP-1
|
||||||
workspace = 1,monitor:DP-1,default:true,persistent:false,defaultName:
|
workspace = 2,monitor:DP-1,defaultName:
|
||||||
workspace = 2,monitor:DP-1,persistent:false,defaultName:
|
# workspace = 2,monitor:DP-1,persistent:false
|
||||||
workspace = 3,monitor:DP-1,persistent:false,defaultName:
|
# workspace = 3,monitor:DP-1,persistent:false
|
||||||
workspace = 4,monitor:DP-1,persistent:false
|
# workspace = 4,monitor:DP-1,persistent:false
|
||||||
workspace = 5,monitor:DP-1,persistent:false
|
# workspace = 5,monitor:DP-1,persistent:false
|
||||||
workspace = 6,monitor:DP-3,persistent:false,default:true
|
# workspace = 6,monitor:DP-3,persistent:false,default:true
|
||||||
workspace = 7,monitor:DP-3,persistent:false
|
# workspace = 7,monitor:DP-3,persistent:false
|
||||||
workspace = 8,monitor:DP-3,persistent:false
|
# workspace = 8,monitor:DP-3,persistent:false
|
||||||
workspace = 9,monitor:DP-3,persistent:false
|
# workspace = 9,monitor:DP-3,persistent:false
|
||||||
workspace = 10,monitor:DP-3,persistent:false
|
# workspace = 10,monitor:DP-3,persistent:false
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
# {{{ KEYBINDINGS
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
|
||||||
$mainMod = ALT # Sets "Windows" key as main modifier
|
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
|
||||||
bind = $mainMod, RETURN, exec, $terminal
|
|
||||||
bind = $mainMod, Q, killactive,
|
|
||||||
# bind = $mainMod, M, exit,
|
|
||||||
bind = $mainMod, E, exec, $fileManager
|
|
||||||
bind = $mainMod, V, togglefloating,
|
|
||||||
bind = $mainMod, d, exec, $menu
|
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod, t, togglesplit, # dwindle
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
|
||||||
bind = $mainMod, h, movefocus, l
|
|
||||||
bind = $mainMod, l, movefocus, r
|
|
||||||
bind = $mainMod, k, movefocus, u
|
|
||||||
bind = $mainMod, j, movefocus, d
|
|
||||||
|
|
||||||
bind = CTRL+ALT, j, focusmonitor, r
|
|
||||||
bind = CTRL+ALT, k, focusmonitor, l
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod, 6, workspace, 6
|
|
||||||
bind = $mainMod, 7, workspace, 7
|
|
||||||
bind = $mainMod, 8, workspace, 8
|
|
||||||
bind = $mainMod, 9, workspace, 9
|
|
||||||
bind = $mainMod, 0, workspace, 10
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspace, 4
|
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspace, 5
|
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspace, 6
|
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspace, 7
|
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspace, 8
|
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspace, 9
|
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspace, 10
|
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
|
||||||
bind = $mainMod, S, togglespecialworkspace, magic
|
|
||||||
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
# Laptop multimedia keys for volume and LCD brightness
|
|
||||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
||||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
|
||||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
|
||||||
|
|
||||||
# Requires playerctl
|
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
|
||||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
||||||
|
|
||||||
# }}}
|
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
@ -301,6 +241,7 @@ bindl = , XF86AudioPrev, exec, playerctl previous
|
|||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrulev2 = float, class:com.mitchellh.ghostty
|
# windowrulev2 = float, class:com.mitchellh.ghostty
|
||||||
windowrulev2 = float, class:discord
|
windowrulev2 = float, class:discord
|
||||||
|
windowrulev2 = workspace 9 silent, class:discord
|
||||||
|
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
@ -315,3 +256,23 @@ windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinn
|
|||||||
windowrulev2 = suppressevent maximize, class:^(zen)$
|
windowrulev2 = suppressevent maximize, class:^(zen)$
|
||||||
exec-once = $HOME/.local/bin/bitwarden-nofloat.sh
|
exec-once = $HOME/.local/bin/bitwarden-nofloat.sh
|
||||||
# ENABLE_HDR_WSI=1 mpv --vo=gpu-next --target-colorspace-hint --gpu-api=vulkan --gpu-context=waylandvk "filename"
|
# ENABLE_HDR_WSI=1 mpv --vo=gpu-next --target-colorspace-hint --gpu-api=vulkan --gpu-context=waylandvk "filename"
|
||||||
|
|
||||||
|
# {{{ Screen sharing workaround: https://wiki.hyprland.org/Useful-Utilities/Screen-Sharing/#xwayland
|
||||||
|
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = noblur, class:^(xwaylandvideobridge)$
|
||||||
|
windowrulev2 = nofocus, class:^(xwaylandvideobridge)$
|
||||||
|
# }}}
|
||||||
|
|
||||||
|
|
||||||
|
plugin {
|
||||||
|
split-monitor-workspaces {
|
||||||
|
count = 5
|
||||||
|
keep_focused = 1
|
||||||
|
enable_notifications = 1
|
||||||
|
enable_persistent_workspaces = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
84
keybindings.conf
Normal file
84
keybindings.conf
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
# Set programs that you use
|
||||||
|
$terminal = ghostty
|
||||||
|
$fileManager = dolphin
|
||||||
|
# $menu = wofi --show drun
|
||||||
|
$menu = rofi -show drun
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
$mainMod = ALT # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
|
|
||||||
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
|
bind = $mainMod, RETURN, exec, $terminal
|
||||||
|
bind = $mainMod, Q, killactive,
|
||||||
|
# bind = $mainMod, M, exex uswm stop,
|
||||||
|
bind = $mainMod, E, exec, $fileManager
|
||||||
|
bind = $mainMod, V, togglefloating,
|
||||||
|
bind = $mainMod, d, exec, $menu
|
||||||
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
|
bind = $mainMod, t, togglesplit, # dwindle
|
||||||
|
|
||||||
|
# Move focus with mainMod + arrow keys
|
||||||
|
bind = $mainMod, h, movefocus, l
|
||||||
|
bind = $mainMod, l, movefocus, r
|
||||||
|
bind = $mainMod, k, movefocus, u
|
||||||
|
bind = $mainMod, j, movefocus, d
|
||||||
|
|
||||||
|
# Move focus to next monitor
|
||||||
|
bind = CTRL+ALT, j, focusmonitor, r
|
||||||
|
bind = CTRL+ALT, k, focusmonitor, l
|
||||||
|
|
||||||
|
# Switch workspaces with mainMod + [0-9]
|
||||||
|
bind = $mainMod, 1, split-workspace, 1
|
||||||
|
bind = $mainMod, 2, split-workspace, 2
|
||||||
|
bind = $mainMod, 3, split-workspace, 3
|
||||||
|
bind = $mainMod, 4, split-workspace, 4
|
||||||
|
bind = $mainMod, 5, split-workspace, 5
|
||||||
|
bind = $mainMod, 6, split-workspace, 6
|
||||||
|
bind = $mainMod, 7, split-workspace, 7
|
||||||
|
bind = $mainMod, 8, split-workspace, 8
|
||||||
|
bind = $mainMod, 9, split-workspace, 9
|
||||||
|
bind = $mainMod, 0, split-workspace, 10
|
||||||
|
|
||||||
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
|
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
||||||
|
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
||||||
|
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
||||||
|
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
||||||
|
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
||||||
|
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
||||||
|
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
||||||
|
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
||||||
|
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
||||||
|
bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
|
||||||
|
|
||||||
|
# Example special workspace (scratchpad)
|
||||||
|
bind = $mainMod, S, togglespecialworkspace, magic
|
||||||
|
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
|
||||||
|
|
||||||
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
|
# Laptop multimedia keys for volume and LCD brightness
|
||||||
|
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
|
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
|
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
||||||
|
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
||||||
|
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
||||||
|
|
||||||
|
# Requires playerctl
|
||||||
|
bindl = , XF86AudioNext, exec, playerctl next
|
||||||
|
bindl = , XF86AudioPause, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||||
|
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||||
|
|
||||||
|
# rofi
|
||||||
|
bind = $mainMod SHIFT, v, exec, rofi-rbw
|
||||||
|
|
||||||
|
# ncmcppp
|
||||||
|
bind = $mainMod, n, exec, ghostty --command=/usr/bin/ncmpcpp
|
Loading…
x
Reference in New Issue
Block a user