mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
hypr: review config
* update some keys * fix windowrule that i broke like eternity ago
This commit is contained in:
parent
c41d196c5e
commit
1445142419
4 changed files with 33 additions and 36 deletions
|
|
@ -11,7 +11,6 @@ $mod = SUPER
|
|||
$browser = brave
|
||||
$terminal = kitty
|
||||
$notaker = obsidian
|
||||
$filemanager = pcmanfm
|
||||
# }}}
|
||||
# auto start {{{
|
||||
exec-once = waybar
|
||||
|
|
@ -116,7 +115,7 @@ gestures {
|
|||
windowrulev2 = workspace 1, class:(Logseq|obsidian)
|
||||
windowrulev2 = workspace 2, class:(firefox|Google-chrome|Brave-browser)
|
||||
windowrulev2 = workspace 3, class:(jetbrains-rider|org.octave.Octave)
|
||||
windowrulev2 = workspace 4, class:(Postman,Insomnium,HTTPie,org.keepassxc.KeePassXC)
|
||||
windowrulev2 = workspace 4, class:(KeePassXC|Insomnium)
|
||||
windowrulev2 = workspace 5, class:(discord|org.telegram.desktop|fractal|thunderbird)
|
||||
windowrulev2 = workspace 7, class:(Spotify)
|
||||
windowrulev2 = workspace 9, class:(zoom)
|
||||
|
|
@ -124,7 +123,7 @@ windowrulev2 = workspace 9, class:(zoom)
|
|||
windowrulev2 = float, class:(pavucontrol|blueman-manager)
|
||||
|
||||
# just fixes some annoyance
|
||||
windowrule = size 900 500, title:(Open File)(.*)$
|
||||
windowrule = size 700 400, title:(Open File)(.*)$
|
||||
windowrule = float, title:(Open File)(.*)$
|
||||
windowrule = move center, title:(Open File)(.*)$
|
||||
|
||||
|
|
@ -156,23 +155,24 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|||
bind = , SHIFT Print, exec, hyprshot -m output
|
||||
|
||||
# programs {{{
|
||||
bind = $mod, comma, exec, wofi-emoji
|
||||
|
||||
bind = $mod SHIFT, a, exec, anki
|
||||
bind = $mod SHIFT, d, exec, $notaker
|
||||
bind = $mod SHIFT, e, exec, wofi-emoji
|
||||
bind = $mod SHIFT, f, exec, $filemanager
|
||||
bind = $mod SHIFT, f, exec, newsflash
|
||||
bind = $mod SHIFT, s, exec, spotify
|
||||
bind = $mod SHIFT, t, exec, telegram-desktop
|
||||
bind = $mod SHIFT, w, exec, $browser
|
||||
# }}}
|
||||
# sound {{{
|
||||
# function keys {{{
|
||||
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%-
|
||||
# }}}
|
||||
|
|
@ -186,11 +186,11 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|||
bind = $mod, k, movefocus, u
|
||||
bind = $mod, l, movefocus, r
|
||||
|
||||
# Scroll through existing workspaces with mainMod + scroll
|
||||
# Scroll through existing workspaces with $mod + scroll
|
||||
bind = $mod, mouse_down, workspace, e-1
|
||||
bind = $mod, mouse_up, workspace, e+1
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
# Move/resize windows with $mod + LMB/RMB and dragging
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod, mouse:273, resizewindow
|
||||
|
||||
|
|
@ -204,26 +204,25 @@ windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|||
bind = $mod SHIFT, k, movewindow, u
|
||||
bind = $mod SHIFT, j, movewindow, d
|
||||
|
||||
# workspaces {{{
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
# workspaces
|
||||
bind = $mod, 1, workspace, 1
|
||||
bind = $mod, 2, workspace, 2
|
||||
bind = $mod, 3, workspace, 3
|
||||
bind = $mod, 4, workspace, 4
|
||||
bind = $mod, 5, workspace, 5
|
||||
bind = $mod, 6, workspace, 6
|
||||
bind = $mod, 7, workspace, 7
|
||||
bind = $mod, 8, workspace, 8
|
||||
bind = $mod, 9, workspace, 9
|
||||
|
||||
bind = $mod SHIFT, 1, movetoworkspacesilent, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspacesilent, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspacesilent, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspacesilent, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspacesilent, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspacesilent, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspacesilent, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
|
||||
# }}}
|
||||
bind = $mod SHIFT, 1, movetoworkspacesilent, 1
|
||||
bind = $mod SHIFT, 2, movetoworkspacesilent, 2
|
||||
bind = $mod SHIFT, 3, movetoworkspacesilent, 3
|
||||
bind = $mod SHIFT, 4, movetoworkspacesilent, 4
|
||||
bind = $mod SHIFT, 5, movetoworkspacesilent, 5
|
||||
bind = $mod SHIFT, 6, movetoworkspacesilent, 6
|
||||
bind = $mod SHIFT, 7, movetoworkspacesilent, 7
|
||||
bind = $mod SHIFT, 8, movetoworkspacesilent, 8
|
||||
bind = $mod SHIFT, 9, movetoworkspacesilent, 9
|
||||
# }}}
|
||||
# }}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue