2023-09-02 19:47:37 +00:00
|
|
|
### Variables
|
|
|
|
set $mod Mod4
|
|
|
|
set $left h
|
|
|
|
set $down j
|
|
|
|
set $up k
|
|
|
|
set $right l
|
|
|
|
|
2023-11-28 08:53:50 +00:00
|
|
|
set $term foot
|
2023-09-12 20:30:54 +00:00
|
|
|
set $browser firefox
|
2023-09-02 19:47:37 +00:00
|
|
|
set $lock swaylock
|
2023-09-12 20:31:13 +00:00
|
|
|
set $rofi_cmd rofi -terminal '$term'
|
|
|
|
set $menu $rofi_cmd -show combi -combi-modes drun#run -modes combi
|
2023-09-02 19:47:37 +00:00
|
|
|
|
|
|
|
input * {
|
|
|
|
xkb_layout us
|
|
|
|
xkb_options "compose:prsc"
|
|
|
|
}
|
|
|
|
|
|
|
|
seat * hide_cursor when-typing enable
|
|
|
|
|
|
|
|
### Key bindings
|
|
|
|
floating_modifier $mod normal
|
|
|
|
|
|
|
|
bindsym $mod+Return exec $term
|
|
|
|
bindsym $mod+i exec $browser
|
|
|
|
bindsym $mod+Shift+y exec $lock
|
2023-09-12 20:31:13 +00:00
|
|
|
bindsym $mod+d exec $menu
|
2023-09-02 19:47:37 +00:00
|
|
|
|
|
|
|
bindsym $mod+z exec light -U 0.5
|
|
|
|
bindsym $mod+x exec light -A 0.5
|
|
|
|
bindsym $mod+Shift+z exec light -U 5
|
|
|
|
bindsym $mod+Shift+x exec light -A 5
|
|
|
|
|
|
|
|
bindsym $mod+Shift+q kill
|
|
|
|
bindsym $mod+Shift+c reload
|
|
|
|
bindsym $mod+Shift+e exit
|
|
|
|
|
|
|
|
# Move your focus around
|
|
|
|
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 number 1
|
|
|
|
bindsym $mod+2 workspace number 2
|
|
|
|
bindsym $mod+3 workspace number 3
|
|
|
|
bindsym $mod+4 workspace number 4
|
|
|
|
bindsym $mod+5 workspace number 5
|
|
|
|
bindsym $mod+6 workspace number 6
|
|
|
|
bindsym $mod+7 workspace number 7
|
|
|
|
bindsym $mod+8 workspace number 8
|
|
|
|
bindsym $mod+9 workspace number 9
|
|
|
|
bindsym $mod+0 workspace number 10
|
|
|
|
|
|
|
|
bindsym $mod+Shift+1 move container to workspace number 1
|
|
|
|
bindsym $mod+Shift+2 move container to workspace number 2
|
|
|
|
bindsym $mod+Shift+3 move container to workspace number 3
|
|
|
|
bindsym $mod+Shift+4 move container to workspace number 4
|
|
|
|
bindsym $mod+Shift+5 move container to workspace number 5
|
|
|
|
bindsym $mod+Shift+6 move container to workspace number 6
|
|
|
|
bindsym $mod+Shift+7 move container to workspace number 7
|
|
|
|
bindsym $mod+Shift+8 move container to workspace number 8
|
|
|
|
bindsym $mod+Shift+9 move container to workspace number 9
|
|
|
|
bindsym $mod+Shift+0 move container to workspace number 10
|
|
|
|
|
|
|
|
bindsym $mod+o splith
|
|
|
|
bindsym $mod+u splitv
|
|
|
|
|
|
|
|
bindsym $mod+s layout stacking
|
|
|
|
bindsym $mod+t layout tabbed
|
|
|
|
bindsym $mod+e layout toggle split
|
|
|
|
|
|
|
|
bindsym $mod+f fullscreen
|
|
|
|
|
|
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
|
|
|
|
bindsym $mod+Shift+minus move scratchpad
|
|
|
|
bindsym $mod+minus scratchpad show
|
|
|
|
|
|
|
|
bindsym $mod+Ctrl+$left grow left 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+$down grow down 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+$up grow up 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+$right grow right 10 px or 10 ppt
|
|
|
|
|
|
|
|
bindsym $mod+Ctrl+Left grow left 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+Down grow down 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+Up grow up 10 px or 10 ppt
|
|
|
|
bindsym $mod+Ctrl+Right grow right 10 px or 10 ppt
|
|
|
|
|
2023-09-27 12:47:07 +00:00
|
|
|
set $accent #e96161
|
|
|
|
|
|
|
|
output * bg #e6e6e6 solid_color
|
|
|
|
|
|
|
|
gaps inner 12
|
|
|
|
gaps left 8
|
|
|
|
gaps right 8
|
|
|
|
gaps bottom 8
|
|
|
|
gaps top 0
|
|
|
|
default_border normal 0
|
2023-09-02 19:47:37 +00:00
|
|
|
font "APL386 Unicode 8"
|
|
|
|
|
2023-09-27 12:47:07 +00:00
|
|
|
client.focused $accent $accent $accent $accent $accent
|
|
|
|
client.unfocused #5c5c5c #5c5c5c #5c5c5c #5c5c5c #5c5c5c
|
|
|
|
client.focused_inactive #5c5c5c #5c5c5c #5c5c5c #5c5c5c #5c5c5c
|
|
|
|
|
|
|
|
for_window [app_id="firefox"] border normal 1
|
2023-09-02 19:47:37 +00:00
|
|
|
|
|
|
|
# Status Bar:
|
|
|
|
bar {
|
2023-09-27 12:47:07 +00:00
|
|
|
position top
|
|
|
|
gaps 16 20
|
2023-09-02 19:47:37 +00:00
|
|
|
font "APL386 Unicode 8"
|
|
|
|
|
|
|
|
status_command ~/.config/sway/status_command
|
|
|
|
|
|
|
|
colors {
|
2023-09-27 12:47:07 +00:00
|
|
|
background #ffffff
|
|
|
|
statusline #000000
|
|
|
|
focused_workspace $accent $accent #ffffff
|
|
|
|
active_workspace #ffffff #ffffff #000000
|
|
|
|
inactive_workspace #ffffff #ffffff #000000
|
2023-09-02 19:47:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
include /etc/sway/config.d/*
|