mirror of
https://git.sr.ht/~coasteen/dotfiles
synced 2025-11-04 14:47:38 +01:00
167 lines
4.9 KiB
Text
167 lines
4.9 KiB
Text
exec autotiling
|
|
exec foot -s
|
|
input "1267:12448:ELAN0709:00_04F3:30A0_Touchpad" {
|
|
dwt enabled
|
|
tap enabled
|
|
middle_emulation enabled
|
|
}
|
|
|
|
gaps inner 5
|
|
gaps outer 15
|
|
|
|
set $mod Mod4
|
|
set $left h
|
|
set $down j
|
|
set $up k
|
|
set $right l
|
|
set $term footclient
|
|
set $filemgr footclient -e yazi
|
|
set $filemgr2 caja
|
|
set $menu wmenu-run -f "UbuntuMono 15" -N "#1c1c1c" -n "#B0B0B0" -S "#2d2d2d" -s "#ffffff" -l 10
|
|
set $browser brave
|
|
|
|
output eDP-1 disable
|
|
output HDMI-A-1 pos 1920 0
|
|
|
|
output * bg /home/coast/Pictures/nature4.png fill
|
|
output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
|
|
exec swayidle -w \
|
|
timeout 300 'swaylock -f -c 000000' \
|
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
|
before-sleep 'swaylock -f -c 000000'
|
|
|
|
input * {
|
|
xkb_options caps:escape
|
|
}
|
|
|
|
default_border pixel 4
|
|
default_floating_border pixel 4
|
|
|
|
for_window [class=".*"] border pixel 4
|
|
|
|
client.focused #666666 #000000 #ffffff #666666 #666666
|
|
client.unfocused #444444 #000000 #ffffff #444444 #444444
|
|
client.focused_inactive #444444 #000000 #ffffff #444444 #444444
|
|
client.urgent #ff0000 #000000 #ffffff #ff0000 #ff0000
|
|
|
|
|
|
bindsym $mod+Return exec $term
|
|
|
|
bindsym $mod+s kill
|
|
|
|
bindsym $mod+r exec $menu
|
|
|
|
bindsym $mod+Shift+b exec $browser
|
|
|
|
floating_modifier $mod normal
|
|
|
|
bindsym $mod+Shift+c reload
|
|
|
|
bindsym $mod+Shift+q exec 'swaymsg exit'
|
|
|
|
bindsym $mod+Shift+f exec $filemgr
|
|
bindsym $mod+Shift+i exec $filemgr2
|
|
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+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+b splith
|
|
bindsym $mod+v splitv
|
|
|
|
bindsym $mod+Shift+s layout stacking
|
|
bindsym $mod+Shift+w layout tabbed
|
|
bindsym $mod+Shift+e layout toggle split
|
|
|
|
bindsym $mod+f fullscreen
|
|
|
|
bindsym Print exec /home/coast/.local/src/local/bin/screenie-wl
|
|
|
|
bindsym $mod+space floating toggle
|
|
|
|
bindsym $mod+Shift+space focus mode_toggle
|
|
|
|
bindsym $mod+a focus parent
|
|
|
|
bindsym $mod+Shift+u exec 'pkill waybar; waybar &'
|
|
|
|
bindsym $mod+Shift+minus move scratchpad
|
|
|
|
bindsym $mod+minus scratchpad show
|
|
mode "resize" {
|
|
bindsym $left resize shrink width 10px
|
|
bindsym $down resize grow height 10px
|
|
bindsym $up resize shrink height 10px
|
|
bindsym $right resize grow width 10px
|
|
|
|
bindsym Right resize shrink width 10px
|
|
bindsym Up resize grow height 10px
|
|
bindsym Down resize shrink height 10px
|
|
bindsym Left resize grow width 10px
|
|
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
}
|
|
bindsym $mod+Shift+d mode "resize"
|
|
|
|
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
|
|
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
|
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
|
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
|
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
|
|
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
|
|
|
|
bar {
|
|
position top
|
|
font pango:Ubuntu 12
|
|
|
|
status_command while date +'%I:%M %p'; do sleep 1; done
|
|
status_command while $HOME/.local/bin/sway-status; do sleep 1; done
|
|
|
|
tray_output primary
|
|
|
|
colors {
|
|
statusline #ffffff
|
|
background #1c1c1c
|
|
inactive_workspace #1c1c1c #1c1c1c #aaaaaa
|
|
focused_workspace #2d2d2d #262626 #ffffff
|
|
urgent_workspace #aa0000 #ff0000 #ffffff
|
|
}
|
|
}
|
|
|
|
include /etc/sway/config.d/*
|
|
for_window [app_id="foot"] opacity 0.9
|