74 lines
2 KiB
Text
74 lines
2 KiB
Text
# Preferences
|
|
set $mod Mod4
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
set $term foot
|
|
set $menu /home/tavo/.config/scripts/menu/menu "Run:" run
|
|
output * bg /home/tavo/Pictures/backgrounds/background.jpg fill
|
|
|
|
# Keybinds
|
|
input "type:pointer" accel_profile flat
|
|
input "type:touchpad" natural_scroll enabled
|
|
bindsym $mod+Return exec $term
|
|
bindsym $mod+c kill
|
|
bindsym $mod+r exec $menu
|
|
floating_modifier $mod normal
|
|
bindsym $mod+q reload
|
|
bindsym $mod+Shift+q exec swaymsg exit
|
|
|
|
# Navigation
|
|
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
|
|
|
|
# Workspaces
|
|
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 "
|
|
|
|
# Layout
|
|
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
|
|
default_border pixel 2
|
|
gaps inner 5
|
|
|
|
bar {
|
|
position top
|
|
|
|
# When the status_command prints a new line to stdout, swaybar updates.
|
|
# The default just shows the current date and time.
|
|
status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
|
|
|
colors {
|
|
statusline #ffffff
|
|
background #323232
|
|
inactive_workspace #32323200 #32323200 #5c5c5c
|
|
}
|
|
}
|