From 9f8df2fbd32797b568553729b50d987e10a70840 Mon Sep 17 00:00:00 2001 From: "Anna (navi) Figueiredo Gomes" Date: Wed, 28 Jun 2023 13:21:24 -0300 Subject: aaaa Signed-off-by: Anna (navi) Figueiredo Gomes --- .config/sway/config.d/20-keybinds | 73 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 .config/sway/config.d/20-keybinds (limited to '.config/sway/config.d/20-keybinds') diff --git a/.config/sway/config.d/20-keybinds b/.config/sway/config.d/20-keybinds new file mode 100644 index 0000000..bd8440f --- /dev/null +++ b/.config/sway/config.d/20-keybinds @@ -0,0 +1,73 @@ +bindsym $mod+Ctrl+c reload +bindsym $mod+Ctrl+r restart +bindsym $mod+q kill +bindsym $mod+Ctrl+Shift+q exec poweroff +bindsym $mod+Ctrl+Shift+e exit +bindsym $mod+Ctrl+Shift+r exec restart + +bindsym $mod+u [urgent=latest] focus + +#bindsym $mod+g gaps inner all toggle 5 + +bindsym $mod+Return exec $term +bindsym $mod+p exec $menu +#bindsym $mod+Shift+x exec dm-tool lock + +floating_modifier $mod + +#bindsym $mod+Escape exec "main-menu" + +bindsym $mod+b split h +bindsym $mod+v split v +bindsym $mod+Tab split toggle +bindsym $mod+Escape workspace back_and_forth + +bindsym $mod+t layout tabbed +bindsym $mod+w layout default +bindsym $mod+Shift+Tab layout toggle split + +bindsym $mod+BackSpace focus mode_toggle +bindsym $mod+Shift+BackSpace floating toggle +bindsym $mod+Ctrl+BackSpace sticky toggle + +bindsym $mod+f fullscreen toggle +bindsym $mod+a focus parent +bindsym $mod+Shift+a focus child + +# ============ Navegation & Focus Keybinds ============ +bindsym $mod+h focus left +bindsym $mod+j focus down +bindsym $mod+k focus up +bindsym $mod+l focus right + +bindsym $mod+Shift+h move left +bindsym $mod+Shift+j move down +bindsym $mod+Shift+k move up +bindsym $mod+Shift+l move right + +bindsym $mod+Ctrl+h resize shrink width 5 px or 5 ppt +bindsym $mod+Ctrl+j resize shrink height 5 px or 5 ppt +bindsym $mod+Ctrl+k resize grow height 5 px or 5 ppt +bindsym $mod+Ctrl+l resize grow width 5 px or 5 ppt + +bindsym $mod+Shift+minus move scratchpad +bindsym $mod+minus scratchpad show +# bindsym $mod+tilda for_window [instace="dropdown_*"] scratchpad show + +# ============ Funcion Keys ============ +bindsym XF86AudioRaiseVolume exec --no-startup-id volume -i 5 +bindsym XF86AudioLowerVolume exec --no-startup-id volume -d 5 +bindsym XF86AudioMute exec --no-startup-id volume -t + +bindsym XF86AudioPlay exec --no-startup-id "mpc toggle" +bindsym XF86AudioNext exec --no-startup-id "mpc next" +bindsym XF86AudioPrev exec --no-startup-id "mpc prev" + +bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +5% +bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 5%- + +# ============ User Keybinds ============ +bindsym $mod+Shift+S exec --no-startup-id "printedit -s" +bindsym $mod+Control+S exec --no-startup-id "printedit" + +bindsym $mod+s exec --no-startup-id "i3-big-swap.py" -- cgit v1.2.3