120 lines
3.1 KiB
Text
120 lines
3.1 KiB
Text
# Preferences
|
|
output * {
|
|
bg ~/Pictures/Backgrounds/background.jpg fill
|
|
}
|
|
|
|
input type:touchpad {
|
|
natural_scroll enabled
|
|
tap enabled
|
|
}
|
|
|
|
input type:pointer {
|
|
accel_profile flat
|
|
}
|
|
|
|
input type:keyboard {
|
|
xkb_layout us,latam
|
|
xkb_options grp:win_space_toggle
|
|
repeat_delay 300
|
|
repeat_rate 45
|
|
}
|
|
|
|
set $mod Mod4
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
set $term foot
|
|
set $menu ~/.config/scripts/menu/menu "Run:" run | xargs swaymsg exec --
|
|
set $passmgr ~/.config/scripts/sway/swaypass
|
|
set $passotp ~/.config/scripts/sway/swayotp
|
|
set $volup ~/.config/scripts/volup
|
|
set $voldown ~/.config/scripts/voldown
|
|
set $mute ~/.config/scripts/mute
|
|
set $micup ~/.config/scripts/micup
|
|
set $micdown ~/.config/scripts/micdown
|
|
set $micmute ~/.config/scripts/micmute
|
|
set $brightup ~/.config/scripts/brightup
|
|
set $brightdown ~/.config/scripts/brightdown
|
|
set $powermenu ~/.config/scripts/menu/menu-power
|
|
set $prtscr grim -g "$(slurp)" -o ~/screen.png
|
|
|
|
# Keybinds
|
|
floating_modifier $mod normal
|
|
# -
|
|
bindsym $mod+Return exec $term
|
|
bindsym $mod+r exec $menu
|
|
bindsym $mod+Shift+p exec $passmgr
|
|
bindsym $mod+Shift+o exec $passotp
|
|
bindsym XF86AudioRaiseVolume exec $volup
|
|
bindsym XF86AudioLowerVolume exec $voldown
|
|
bindsym XF86AudioMute exec $mute
|
|
bindsym Shift+XF86AudioRaiseVolume exec $micup
|
|
bindsym Shift+XF86AudioLowerVolume exec $micdown
|
|
bindsym Shift+XF86AudioMute exec $micmute
|
|
bindsym XF86MonBrightnessUp exec $brightup
|
|
bindsym XF86MonBrightnessDown exec $brightdown
|
|
bindsym Print exec $prtscr
|
|
# -
|
|
bindsym $mod+Shift+q exec swaymsg exit
|
|
bindsym $mod+p exec $powermenu
|
|
bindsym $mod+q reload
|
|
bindsym $mod+c kill
|
|
# -
|
|
bindsym $mod+$left focus left
|
|
bindsym $mod+$down focus down
|
|
bindsym $mod+$up focus up
|
|
bindsym $mod+$right focus right
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus right
|
|
# -
|
|
bindsym $mod+Shift+$left move left
|
|
bindsym $mod+Shift+$down move down
|
|
bindsym $mod+Shift+$up move up
|
|
bindsym $mod+Shift+$right move right
|
|
bindsym $mod+Shift+Left move left
|
|
bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
# -
|
|
bindsym $mod+1 workspace " I "
|
|
bindsym $mod+2 workspace " II "
|
|
bindsym $mod+3 workspace " III "
|
|
bindsym $mod+4 workspace " IV "
|
|
bindsym $mod+5 workspace " V "
|
|
bindsym $mod+Shift+1 move container to workspace " I "
|
|
bindsym $mod+Shift+2 move container to workspace " II "
|
|
bindsym $mod+Shift+3 move container to workspace " III "
|
|
bindsym $mod+Shift+4 move container to workspace " IV "
|
|
bindsym $mod+Shift+5 move container to workspace " V "
|
|
# -
|
|
bindsym $mod+b splith
|
|
bindsym $mod+v splitv
|
|
bindsym $mod+Shift+t layout tabbed
|
|
bindsym $mod+e layout toggle split
|
|
bindsym $mod+f fullscreen
|
|
bindsym $mod+Shift+f floating toggle
|
|
|
|
# Layout
|
|
client.focused #00000000 #2e9ef4 #00000000
|
|
default_border pixel 1
|
|
gaps inner 5
|
|
|
|
bar {
|
|
position bottom
|
|
font pango:JetBrainsMono Bold 9
|
|
status_command ~/.config/scripts/sway/swaystatus
|
|
height 20
|
|
|
|
colors {
|
|
background #00000000
|
|
statusline #2e9ef4
|
|
focused_workspace #2e9ef450 #2e9ef420 #ffffff
|
|
inactive_workspace #00000000 #00000000 #2e9ef4
|
|
}
|
|
}
|
|
|
|
# Autostart
|
|
exec_always dunst
|