diff options
Diffstat (limited to '.config/sway/config.d')
-rw-r--r-- | .config/sway/config.d/00-colors | 16 | ||||
-rw-r--r-- | .config/sway/config.d/10-input | 10 | ||||
-rw-r--r-- | .config/sway/config.d/10-workspaces | 44 | ||||
-rw-r--r-- | .config/sway/config.d/20-keybinds | 73 | ||||
-rw-r--r-- | .config/sway/config.d/20-window-rules | 9 | ||||
-rw-r--r-- | .config/sway/config.d/30-bar | 17 |
6 files changed, 169 insertions, 0 deletions
diff --git a/.config/sway/config.d/00-colors b/.config/sway/config.d/00-colors new file mode 100644 index 0000000..990cca4 --- /dev/null +++ b/.config/sway/config.d/00-colors @@ -0,0 +1,16 @@ +set $base #191724 +set $text #e0def4 +set $urgent #eb6f92 +set $border #c4a7e7 +set $indicator #31748f +set $iborder #26233a +set $uborder #1f1d2e +set $sec_indicator #6e6a86 + +set $accent #c4a7e7 + +# client.<class> <border> <bg> <text> [<indicator> [<child_border>]] +client.focused $border $base $text $indicator $border +client.focused_inactive $iborder $base $text $sec_indicator $iborder +client.unfocused $uborder $base $text $sec_indicator $uborder +client.urgent $urgent $base $text $indicator $urgent diff --git a/.config/sway/config.d/10-input b/.config/sway/config.d/10-input new file mode 100644 index 0000000..50d7074 --- /dev/null +++ b/.config/sway/config.d/10-input @@ -0,0 +1,10 @@ +input "1:1:AT_Translated_Set_2_keyboard" { + xkb_layout br + xkb_options caps:swapescape + xkb_numlock enabled +} + +input "1739:33364:Synaptics_TM3336-004" { + drag enabled + tap enabled +} diff --git a/.config/sway/config.d/10-workspaces b/.config/sway/config.d/10-workspaces new file mode 100644 index 0000000..1d9ec20 --- /dev/null +++ b/.config/sway/config.d/10-workspaces @@ -0,0 +1,44 @@ +set $ws1 "1:一" +set $ws2 "2:二" +set $ws3 "3:三" +set $ws4 "4:四" +set $ws5 "5:五" +set $ws6 "6:六" +set $ws7 "7:七" +set $ws8 "8:八" +set $ws9 "9:九" +set $ws10 "10:十" + +# workspace $ws1 output $monlf +# workspace $ws2 output $monlf +# workspace $ws3 output $monlf +# workspace $ws4 output $monlf +# workspace $ws5 output $monlf +# workspace $ws6 output $monrt +# workspace $ws7 output $monrt +# workspace $ws8 output $monrt +# workspace $ws9 output $monrt +# workspace $ws10 output $monrt + +bindsym $mod+1 workspace number $ws1 +bindsym $mod+2 workspace number $ws2 +bindsym $mod+3 workspace number $ws3 +bindsym $mod+4 workspace number $ws4 +bindsym $mod+5 workspace number $ws5 +bindsym $mod+6 workspace number $ws6 +bindsym $mod+7 workspace number $ws7 +bindsym $mod+8 workspace number $ws8 +bindsym $mod+9 workspace number $ws9 +bindsym $mod+0 workspace number $ws10 + +bindsym $mod+Shift+1 move container to workspace number $ws1 +bindsym $mod+Shift+2 move container to workspace number $ws2 +bindsym $mod+Shift+3 move container to workspace number $ws3 +bindsym $mod+Shift+4 move container to workspace number $ws4 +bindsym $mod+Shift+5 move container to workspace number $ws5 +bindsym $mod+Shift+6 move container to workspace number $ws6 +bindsym $mod+Shift+7 move container to workspace number $ws7 +bindsym $mod+Shift+8 move container to workspace number $ws8 +bindsym $mod+Shift+9 move container to workspace number $ws9 +bindsym $mod+Shift+0 move container to workspace number $ws10 + 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" diff --git a/.config/sway/config.d/20-window-rules b/.config/sway/config.d/20-window-rules new file mode 100644 index 0000000..0287c90 --- /dev/null +++ b/.config/sway/config.d/20-window-rules @@ -0,0 +1,9 @@ +for_window [class="Pavucontrol"] floating enable +for_window [title="Picture-in-Picture"] sticky enable +for_window [class="Dragon-drag-and-drop"] sticky enable +for_window [class=".*.exe"] floating enable + +assign [class="Element"] $ws8 +assign [title="WhatsApp — Mozilla Firefox"] $ws8 +assign [class="Steam"] $ws9 +assign [class="discord"] $ws10 diff --git a/.config/sway/config.d/30-bar b/.config/sway/config.d/30-bar new file mode 100644 index 0000000..76a04c0 --- /dev/null +++ b/.config/sway/config.d/30-bar @@ -0,0 +1,17 @@ +bar { + status_command i3status + strip_workspace_numbers yes + position bottom + colors { + background $base + statusline $text + separator #ff0000 + # Category Border Background Text + focused_workspace $accent $accent #000000 + active_workspace $uborder $uborder $text + inactive_workspace $base $base $text + urgent_workspace $urgent $urgent $text + binding_mode $base $base $text + + } +} |