Full Refactor and history reset
This commit is contained in:
170
dotfiles/hyprland.base.conf
Normal file
170
dotfiles/hyprland.base.conf
Normal file
@@ -0,0 +1,170 @@
|
||||
exec-once = dms run
|
||||
exec-once = systemctl --user start kanshi
|
||||
exec-once = systemctl --user start hypridle
|
||||
exec-once = systemctl --user start hyprpolkitagent
|
||||
|
||||
input {
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
sensitivity = 0.5
|
||||
touchpad {
|
||||
natural_scroll = no
|
||||
}
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 30
|
||||
gaps_out = 5, 20, 20, 20
|
||||
border_size = 0
|
||||
col.active_border = rgba(ffffff88)
|
||||
col.inactive_border = rgba(ffffff22)
|
||||
layout = master
|
||||
# layout = master
|
||||
}
|
||||
|
||||
master {
|
||||
orientation = center
|
||||
}
|
||||
|
||||
decoration {
|
||||
active_opacity = 1
|
||||
inactive_opacity = 1
|
||||
dim_inactive = true
|
||||
dim_strength = 0.2
|
||||
dim_special = 0
|
||||
rounding = 5
|
||||
border_part_of_window = false
|
||||
blur {
|
||||
enabled = true
|
||||
size = 5
|
||||
passes = 2
|
||||
brightness = 0.8
|
||||
}
|
||||
shadow {
|
||||
enabled = true
|
||||
range = 30
|
||||
render_power = 4
|
||||
color = rgba(00000099)
|
||||
}
|
||||
}
|
||||
|
||||
# Ultraide gaps
|
||||
# workspace = w[t1] m[DP-4] s[false], gapsout:10 1500
|
||||
# workspace = w[t1] m[DP-4] s[true], gapsout:10 1800
|
||||
# workspace = w[t2] m[DP-4] s[true], gapsout:10 1000
|
||||
|
||||
gesture = 4, horizontal, workspace
|
||||
gesture = 4, down, mod: ALT, close
|
||||
gesture = 4, up, mod: SUPER, fullscreen
|
||||
|
||||
group {
|
||||
col.border_active = rgba(7d32a899) rgba(da16f099) 45deg
|
||||
col.border_inactive = rgba(cccccc88)
|
||||
groupbar {
|
||||
font_family = "Iosevka Bold"
|
||||
font_size = 10
|
||||
height = 22
|
||||
text_color = 0xccccccff
|
||||
col.active = rgba(7d32a899)
|
||||
col.inactive = rgba(00000088)
|
||||
}
|
||||
}
|
||||
|
||||
animations {
|
||||
enabled = yes
|
||||
}
|
||||
|
||||
animation = specialWorkspace, 1, 10, default, fade
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo=true
|
||||
}
|
||||
|
||||
windowrule=float on,pin on,opaque on,no_dim on,no_shadow on, no_blur on, border_size 0, match:title Picture-in-Picture
|
||||
# windowrule = opacity 0.5, class:kitty
|
||||
|
||||
$mainMod = SUPER
|
||||
|
||||
bindle = ,XF86MonBrightnessUp, exec, brightnessctl set +10%
|
||||
bindle = ,XF86MonBrightnessDown, exec, brightnessctl set 10%-
|
||||
bindle=, XF86AudioRaiseVolume, exec, amixer sset Master 5%+
|
||||
bindle=, XF86AudioRaiseVolume, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%')
|
||||
bindle=, XF86AudioLowerVolume, exec, amixer sset Master 5%-
|
||||
bindle=, XF86AudioLowerVolume, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%')
|
||||
bindle=, XF86AudioMute, exec, amixer sset Master 1+ toggle
|
||||
bindle=, XF86AudioMute, exec, eww update volume=$(amixer sget Master | awk -F"[][]" '/Left:/ { print $2 }' | tr -d '%')
|
||||
bindle=, XF86Calculator, exec, kitty -e octave
|
||||
|
||||
bindle=, XF86AudioPlay, exec, playerctl play-pause
|
||||
bindle=, XF86AudioNext, exec, playerctl next
|
||||
bindle=, XF86AudioPrev, exec, playerctl previous
|
||||
|
||||
bind = $mainMod, F9, exec, hyprctl keyword monitor "DP-4, 2560x1440@60, 0x0, 1"
|
||||
bind = $mainMod, F10, exec, hyprctl keyword monitor "DP-4, 5120x1440@60, 0x0, 1"
|
||||
bind = $mainMod, RETURN, exec, kitty
|
||||
bind = $mainMod, W, killactive,
|
||||
bind = $mainMod SHIFT, F, togglefloating,
|
||||
bind = $mainMod, SPACE, exec, dms ipc call spotlight toggle
|
||||
bind = $mainMod, P, pseudo, # dwindle
|
||||
bind = $mainMod, V, togglesplit, # dwindle
|
||||
bind = $mainMod, G, togglegroup,
|
||||
bind = $mainMod SHIFT, G, moveoutofgroup,
|
||||
bind = $mainMod, TAB, changegroupactive,
|
||||
bind = $mainMod, F, fullscreen
|
||||
bind = $mainMod, b, exec, eww open --toggle side-panel
|
||||
bind = $mainMod, Print, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp -d)" - | wl-copy
|
||||
|
||||
bind = $mainMod, h, movefocus, l
|
||||
bind = $mainMod, l, movefocus, r
|
||||
bind = $mainMod, k, movefocus, u
|
||||
bind = $mainMod, j, movefocus, d
|
||||
|
||||
bind = $mainMod SHIFT, h, movewindow, l
|
||||
bind = $mainMod SHIFT, l, movewindow, r
|
||||
bind = $mainMod SHIFT, k, movewindow, u
|
||||
bind = $mainMod SHIFT, j, movewindow, d
|
||||
|
||||
# Switch workspaces with mainMod + [0-9]
|
||||
bind=SUPER,1,moveworkspacetomonitor,1 current
|
||||
bind=SUPER,1,workspace,1
|
||||
bind=SUPER,2,moveworkspacetomonitor,2 current
|
||||
bind=SUPER,2,workspace,2
|
||||
bind=SUPER,3,moveworkspacetomonitor,3 current
|
||||
bind=SUPER,3,workspace,3
|
||||
bind=SUPER,4,moveworkspacetomonitor,4 current
|
||||
bind=SUPER,4,workspace,4
|
||||
bind=SUPER,5,moveworkspacetomonitor,5 current
|
||||
bind=SUPER,5,workspace,5
|
||||
bind=SUPER,6,moveworkspacetomonitor,6 current
|
||||
bind=SUPER,6,workspace,6
|
||||
bind=SUPER,7,moveworkspacetomonitor,7 current
|
||||
bind=SUPER,7,workspace,7
|
||||
bind=SUPER,8,moveworkspacetomonitor,8 current
|
||||
bind=SUPER,8,workspace,8
|
||||
bind=SUPER,9,moveworkspacetomonitor,9 current
|
||||
bind=SUPER,9,workspace,9
|
||||
|
||||
# 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, grave, togglespecialworkspace, magic
|
||||
bind = $mainMod SHIFT, grave, 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
|
||||
Reference in New Issue
Block a user