adding dvorak layout and switcher

This commit is contained in:
Lucas Barbieri 2024-01-10 12:27:51 -03:00
parent 14ac3d8cd6
commit 2e9d1e2ad4
3 changed files with 27 additions and 7 deletions

View File

@ -1,6 +1,8 @@
# control bindings # control bindings
$mainMod = SUPER $mainMod = SUPER
bind = $mainMod, apostrophe, exec, hyprctl switchxkblayout logotech-gaming-keyboard next
# app bindings # app bindings
bind = $mainMod, Return, exec, wezterm bind = $mainMod, Return, exec, wezterm
bind = $mainMod, E, exec, thunar bind = $mainMod, E, exec, thunar
@ -13,7 +15,6 @@ bind = CONTROL SHIFT, Print, exec, ~/.local/bin/print-tmp.sh
bind = CONTROL, Print, exec, ~/.local/bin/print-window.sh bind = CONTROL, Print, exec, ~/.local/bin/print-window.sh
bind = $mainMod, b, exec, MOZ_ENABLE_WAYLAND=1 firefox-bin bind = $mainMod, b, exec, MOZ_ENABLE_WAYLAND=1 firefox-bin
bind = $mainMod ALT, x, exec, XL_SECRET_PROVIDER=file xivlauncher bind = $mainMod ALT, x, exec, XL_SECRET_PROVIDER=file xivlauncher
bind = $mainMod, apostrophe, exec, ~/scripts/animations.sh
# window control # window control
bind = $mainMod SHIFT, C, killactive, bind = $mainMod SHIFT, C, killactive,

View File

@ -1,3 +1,5 @@
# rules file
workspace= 9, border:0,rounding:0,decorate:0, workspace= 9, border:0,rounding:0,decorate:0,
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
@ -41,9 +43,9 @@ windowrule=workspace 9 silent,cs2
windowrule=workspace 11 silent,.*league.* windowrule=workspace 11 silent,.*league.*
windowrule=workspace 11 silent,.*riot.* windowrule=workspace 11 silent,.*riot.*
windowrule=float,steam_.* windowrule=float,steam_.*
windowrule=fakefullscreen,steam_.* # windowrule=fakefullscreen,steam_.*
windowrule=nomaximizerequest,steam_.* # windowrule=nomaximizerequest,steam_.*
windowrule=nofullscreenrequest,steam_.* # windowrule=nofullscreenrequest,steam_.*
windowrule=workspace 9 silent,steam_.* windowrule=workspace 9 silent,steam_.*
windowrule=workspace 10 silent,SFP_UI windowrule=workspace 10 silent,SFP_UI
windowrule=workspace 4 silent,Spotify windowrule=workspace 4 silent,Spotify

View File

@ -1,8 +1,8 @@
input { input {
kb_layout = br kb_layout = br,br
kb_variant = abnt2 kb_variant = abnt2,dvorak
kb_options = ctrl:nocaps,grp:alt_shift_toggle
kb_model = kb_model =
kb_options =
kb_rules = kb_rules =
follow_mouse = 1 follow_mouse = 1
@ -14,6 +14,11 @@ input {
sensitivity = -0.3 # -1.0 - 1.0, 0 means no modification. sensitivity = -0.3 # -1.0 - 1.0, 0 means no modification.
} }
device:logotech-gaming-keyboard {
kb_layout = br,br
kb_variant = abnt2,dvorak
kb_options = ctrl:nocaps,grp:alt_shift_toggle
}
general { general {
gaps_in = 0 gaps_in = 0
gaps_out = 0 gaps_out = 0
@ -72,3 +77,15 @@ misc {
binds { binds {
workspace_back_and_forth = true workspace_back_and_forth = true
} }
plugin {
hyprbars {
# example config
bar_height = 20
# example buttons (R -> L)
# hyprbars-button = color, size, on-click
hyprbars-button = rgb(ff4040), 10, 󰖭, hyprctl dispatch killactive
hyprbars-button = rgb(eeee11), 10, , hyprctl dispatch fullscreen 1
}
}