update configs
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||
monitor=DP-2,3440x1440@144,auto,auto
|
||||
monitor=DP-3,1920x1080,-1080x0,1,transform,1
|
||||
monitor=DP-3,1920x1080,-1080x-550,1,transform,1
|
||||
|
||||
|
||||
###################
|
||||
@ -28,8 +28,7 @@ monitor=DP-3,1920x1080,-1080x0,1,transform,1
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = alacritty
|
||||
$fileManager = nautilus
|
||||
$menu = wofi --show drun
|
||||
$fileManager = nautilus --new-window
|
||||
$browser = firefox
|
||||
|
||||
|
||||
@ -40,11 +39,18 @@ $browser = firefox
|
||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||
# Or execute your favorite apps at launch like this:
|
||||
|
||||
# exec-once = $terminal
|
||||
# exec-once = nm-applet &
|
||||
# exec-once = waybar & hyprpaper & firefox
|
||||
exec-once = hyprpaper
|
||||
exec-once = waybar
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
exec-once = dunst
|
||||
exec-once = wl-paste --type text --watch cliphist store # Stores only text data
|
||||
|
||||
exec-once = [ workspace special:term silent] $terminal
|
||||
exec-once = [ workspace special:browser silent] $browser -url "https://web.whatsapp.com"
|
||||
exec-once = [ workspace special:music silent] spotify
|
||||
|
||||
# Script to make bitwarden firefox extension windows launch in floating mode
|
||||
exec-once = ~/.config/hypr/scripts/float-bitwarden.sh
|
||||
|
||||
#############################
|
||||
### ENVIRONMENT VARIABLES ###
|
||||
@ -73,7 +79,7 @@ cursor {
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
gaps_out = 10,20,20,20
|
||||
|
||||
border_size = 2
|
||||
|
||||
@ -159,7 +165,7 @@ input {
|
||||
kb_options =
|
||||
kb_rules =
|
||||
|
||||
follow_mouse = 1
|
||||
follow_mouse = 2
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
|
||||
@ -180,6 +186,10 @@ device {
|
||||
sensitivity = -0.5
|
||||
}
|
||||
|
||||
# cursor {
|
||||
# no_warps = true
|
||||
# }
|
||||
|
||||
|
||||
###################
|
||||
### KEYBINDINGS ###
|
||||
@ -193,12 +203,16 @@ bind = $mainMod, T, exec, $terminal
|
||||
bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, Return, exec, tofi-drun | xargs hyprctl dispatch exec --
|
||||
bind = $mainMod, Q, killactive,
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod, M, exit,
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, R, exec, $menu
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = SUPER, V, exec, cliphist list | tofi | cliphist decode | wl-copy
|
||||
bind = $mainMod, X, togglefloating,
|
||||
bind = $mainMod, P, exec, bash -c ~/.config/hypr/presets/'$(ls ~/.config/hypr/presets | tofi)' # profile presets
|
||||
bind = $mainMod, J, togglesplit, # dwindle
|
||||
bind = $mainMod SHIFT, S, exec, hyprshot -m region
|
||||
bind = $mainMod, PRINT, exec, hyprshot -m window
|
||||
bind = $mainMod SHIFT, B, exec, pkill waybar & hyprctl dispatch exec waybar
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind = $mainMod, left, movefocus, l
|
||||
@ -206,7 +220,13 @@ bind = $mainMod, right, movefocus, r
|
||||
bind = $mainMod, up, movefocus, u
|
||||
bind = $mainMod, down, movefocus, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
# Move windows with mainMod + SHIFT + arrow keys
|
||||
bind = $mainMod SHIFT, left, movewindow, l
|
||||
bind = $mainMod SHIFT, right, movewindow, r
|
||||
bind = $mainMod SHIFT, up, movewindow, u
|
||||
bind = $mainMod SHIFT, down, movewindow, d
|
||||
|
||||
# Switch workspaces of primary monitor with mainMod + [1-9]
|
||||
bind = $mainMod, 1, workspace, 1
|
||||
bind = $mainMod, 2, workspace, 2
|
||||
bind = $mainMod, 3, workspace, 3
|
||||
@ -216,9 +236,19 @@ 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]
|
||||
# Switch workspaces of secondary monitor with mainMod + [F1-9]
|
||||
bind = $mainMod, F1, workspace, 11
|
||||
bind = $mainMod, F2, workspace, 12
|
||||
bind = $mainMod, F3, workspace, 13
|
||||
bind = $mainMod, F4, workspace, 14
|
||||
bind = $mainMod, F5, workspace, 15
|
||||
bind = $mainMod, F6, workspace, 16
|
||||
bind = $mainMod, F7, workspace, 17
|
||||
bind = $mainMod, F8, workspace, 18
|
||||
bind = $mainMod, F9, workspace, 19
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [1-9] (primary monitor)
|
||||
bind = $mainMod SHIFT, 1, movetoworkspace, 1
|
||||
bind = $mainMod SHIFT, 2, movetoworkspace, 2
|
||||
bind = $mainMod SHIFT, 3, movetoworkspace, 3
|
||||
@ -228,11 +258,25 @@ 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
|
||||
# Move active window to a workspace with mainMod + SHIFT + [F1-F9] (secondary monitor)
|
||||
bind = $mainMod SHIFT, F1, movetoworkspace, 11
|
||||
bind = $mainMod SHIFT, F2, movetoworkspace, 12
|
||||
bind = $mainMod SHIFT, F3, movetoworkspace, 13
|
||||
bind = $mainMod SHIFT, F4, movetoworkspace, 14
|
||||
bind = $mainMod SHIFT, F5, movetoworkspace, 15
|
||||
bind = $mainMod SHIFT, F6, movetoworkspace, 16
|
||||
bind = $mainMod SHIFT, F7, movetoworkspace, 17
|
||||
bind = $mainMod SHIFT, F8, movetoworkspace, 18
|
||||
bind = $mainMod SHIFT, F9, movetoworkspace, 19
|
||||
|
||||
# Special workspaces (scratchpad)
|
||||
bind = $mainMod, F10, togglespecialworkspace, term
|
||||
bind = $mainMod SHIFT, F10, movetoworkspace, special:term
|
||||
bind = $mainMod, F11, togglespecialworkspace, browser
|
||||
bind = $mainMod SHIFT, F11, movetoworkspace, special:browser
|
||||
bind = $mainMod, F12, togglespecialworkspace, music
|
||||
bind = $mainMod SHIFT, F12, movetoworkspace, special:music
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
bind = $mainMod, mouse_down, workspace, e+1
|
||||
@ -274,3 +318,23 @@ windowrulev2 = suppressevent maximize, class:.*
|
||||
|
||||
# Fix some dragging issues with XWayland
|
||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
||||
|
||||
# Window rules to assign windows to workspaces
|
||||
windowrulev2 = float,title:^(.*Extension: Bitwarden.*)$
|
||||
|
||||
# Open audio settings in floating mode
|
||||
windowrulev2 = float, size 1000 1000, move 50 50, class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = size 900 500, class:org.pulseaudio.pavucontrol
|
||||
windowrulev2 = move 2464 61, class:org.pulseaudio.pavucontrol
|
||||
|
||||
# Workspace rules to assign workspaces to monitors
|
||||
workspace = 1, monitor:DP-2
|
||||
workspace = 2, monitor:DP-2
|
||||
workspace = 3, monitor:DP-2
|
||||
workspace = 4, monitor:DP-2
|
||||
workspace = 5, monitor:DP-2
|
||||
workspace = 11, monitor:DP-3
|
||||
workspace = 12, monitor:DP-3
|
||||
workspace = 13, monitor:DP-3
|
||||
workspace = 14, monitor:DP-3
|
||||
workspace = 15, monitor:DP-3
|
||||
Reference in New Issue
Block a user