mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
hypr: fix breking config
This commit is contained in:
parent
a272803dd5
commit
02e8b70ecf
1 changed files with 22 additions and 22 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# vim: foldmethod=marker ts=2 sw=2
|
||||
# vim: foldmethod=marker ts=2 sw=2 ft=hyprlang
|
||||
monitor=,highres,auto,1
|
||||
|
||||
## variables {{{
|
||||
# variables {{{
|
||||
$mod = SUPER
|
||||
$terminal = kitty
|
||||
# }}}
|
||||
## auto start {{{
|
||||
# auto start {{{
|
||||
exec-once = waybar
|
||||
exec-once = hyprpaper
|
||||
exec-once = dunst
|
||||
|
|
@ -18,7 +18,7 @@ exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESK
|
|||
exec-once = swayidle -w timeout 120 '$lock' timeout 1200 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock'
|
||||
exec-once = wlsunset -S 10:00 -s 19:00
|
||||
# }}}
|
||||
## inputs {{{
|
||||
# inputs {{{
|
||||
input {
|
||||
kb_layout = us,ua
|
||||
kb_variant =
|
||||
|
|
@ -39,7 +39,7 @@ input {
|
|||
}
|
||||
}
|
||||
# }}}
|
||||
## general {{{
|
||||
# general {{{
|
||||
general {
|
||||
gaps_in = 2
|
||||
gaps_out = 4
|
||||
|
|
@ -50,7 +50,7 @@ general {
|
|||
layout = dwindle # master
|
||||
}
|
||||
# }}}
|
||||
## decorations {{{
|
||||
# decorations {{{
|
||||
decoration {
|
||||
rounding = 3
|
||||
|
||||
|
|
@ -66,7 +66,7 @@ decoration {
|
|||
col.shadow = rgba(1a1a1aee)
|
||||
}
|
||||
# }}}
|
||||
## animations {{{
|
||||
# animations {{{
|
||||
animations {
|
||||
enabled = false
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ animations {
|
|||
animation = workspaces, 1, 6, default
|
||||
}
|
||||
# }}}
|
||||
## dwindle layout {{{
|
||||
# dwindle layout {{{
|
||||
# https://wiki.hyprland.org/Configuring/Dwindle-Layout
|
||||
dwindle {
|
||||
pseudotile = false
|
||||
|
|
@ -89,7 +89,7 @@ dwindle {
|
|||
default_split_ratio = 1
|
||||
}
|
||||
# }}}
|
||||
## master layout {{{
|
||||
# master layout {{{
|
||||
# https://wiki.hyprland.org/Configuring/Master-Layout
|
||||
master {
|
||||
new_is_master = false
|
||||
|
|
@ -98,7 +98,7 @@ master {
|
|||
new_on_top = true
|
||||
}
|
||||
# }}}
|
||||
## misc {{{
|
||||
# misc {{{
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
|
|
@ -106,14 +106,14 @@ misc {
|
|||
key_press_enables_dpms = true
|
||||
}
|
||||
# }}}
|
||||
## gestures {{{
|
||||
# gestures {{{
|
||||
gestures {
|
||||
workspace_swipe = true
|
||||
workspace_swipe_invert = false
|
||||
workspace_swipe_create_new = false
|
||||
}
|
||||
# }}}
|
||||
## window rules {{{
|
||||
# window rules {{{
|
||||
windowrulev2 = workspace 1, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC)
|
||||
windowrulev2 = workspace 2, class:(firefox|Google-chrome)
|
||||
windowrulev2 = workspace 2, title:(Google Chrome)
|
||||
|
|
@ -142,7 +142,7 @@ windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
|||
windowrulev2 = nofocus,class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||
# }}}
|
||||
## keymaps {{{
|
||||
# keymaps {{{
|
||||
bind = $mod, q, killactive
|
||||
bind = $mod, Return, exec, $terminal
|
||||
|
||||
|
|
@ -156,7 +156,7 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
|||
bind = , Print, exec, grim -g "$(slurp)" - | wl-copy
|
||||
bind = Alt, Print, exec, grim -g "$(slurp)"
|
||||
|
||||
## programs {{{
|
||||
# programs {{{
|
||||
bind = $mod SHIFT, w, exec, firefox
|
||||
bind = $mod SHIFT, f, exec, nautilus
|
||||
bind = $mod SHIFT, d, exec, ~/.local/appimage/logseq.AppImage
|
||||
|
|
@ -164,24 +164,24 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
|||
bind = $mod SHIFT, s, exec, spotify
|
||||
bind = $mod SHIFT, t, exec, telegram-desktop
|
||||
bind = $mod SHIFT, c, exec, morgen
|
||||
## }}}
|
||||
## sound {{{
|
||||
# }}}
|
||||
# sound {{{
|
||||
bindl = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bindl = , XF86AudioLowerVolume, exec, wpctl set-volume -l 1.4 @DEFAULT_AUDIO_SINK@ 5%-
|
||||
bindl = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
||||
bindl = , XF86AudioNext, exec, playerctl next
|
||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
||||
## }}}
|
||||
## brightness {{{
|
||||
# }}}
|
||||
# brightness {{{
|
||||
bindl = , XF86MonBrightnessUp, exec, brightnessctl set +5%
|
||||
bindl = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||
## }}}
|
||||
## layout spesific {{{
|
||||
# }}}
|
||||
# layout spesific {{{
|
||||
bind = $mod, P, pseudo, # dwindle
|
||||
bind = $mod ALT, J, togglesplit, # dwindle
|
||||
# }}}
|
||||
## wm {{{
|
||||
# wm {{{
|
||||
bind = $mod, h, movefocus, l
|
||||
bind = $mod, j, movefocus, d
|
||||
bind = $mod, k, movefocus, u
|
||||
|
|
@ -205,7 +205,7 @@ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
|||
bind = $mod SHIFT, k, movewindow, u
|
||||
bind = $mod SHIFT, j, movewindow, d
|
||||
|
||||
## workspaces {{{
|
||||
# workspaces {{{
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue