86 lines
2.7 KiB
Plaintext
86 lines
2.7 KiB
Plaintext
set $mod Mod4
|
|
set $term kitty
|
|
# set $menu dmenu_path | wofi --show=run --matching fuzzy | xargs swaymsg exec --
|
|
set $menu dmenu_path | wofi --show=run --matching | xargs swaymsg exec --
|
|
|
|
#xwayland disable
|
|
|
|
output * bg ~/.config/sway/wallpapers/mountains.jpg fill
|
|
|
|
output eDP-1 scale 1.4
|
|
|
|
### Idle configuration
|
|
#
|
|
# Example configuration:
|
|
#
|
|
# 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'
|
|
#
|
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
# your displays after another 300 seconds, and turn your screens back on when
|
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
|
|
|
bindsym $mod+p exec kitty -e python
|
|
|
|
bindsym $mod+Return exec $term
|
|
bindsym $mod+Shift+q kill
|
|
bindsym $mod+d exec $menu
|
|
|
|
floating_modifier $mod normal
|
|
|
|
bindsym $mod+Shift+c reload
|
|
bindsym $mod+Shift+e exec --no-startup-id i3-msg exit
|
|
|
|
#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 %X'; do sleep 1; done
|
|
#
|
|
# colors {
|
|
# statusline #ffffff
|
|
# background #323232
|
|
# inactive_workspace #32323200 #32323200 #5c5c5c
|
|
# }
|
|
#}
|
|
bar {
|
|
swaybar_command waybar
|
|
position top
|
|
}
|
|
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 100 #increase sound volume
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 100 #decrease sound volume
|
|
bindsym Shift+XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +5 --max-volume 300 #increase sound volume
|
|
bindsym Shift+XF86AudioLowerVolume exec --no-startup-id pulsemixer --change-volume -5 --max-volume 300 #decrease sound volume
|
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle # mute sound
|
|
|
|
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause
|
|
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
|
|
bindsym XF86AudioNext exec --no-startup-id playerctl next
|
|
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
|
|
|
|
bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl set +5%
|
|
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 5%-
|
|
|
|
include ~/.config/sway/config.d/*
|
|
|
|
bindsym $mod+c exec --no-startup-id kitty -e python
|
|
|
|
for_window [title="blueman-manager"] floating enable
|
|
|
|
for_window [class="^.*"] border pixel 3
|
|
default_floating_border none
|
|
default_floating_border normal 0
|
|
hide_edge_borders smart
|
|
|
|
gaps inner 20
|
|
smart_gaps on
|
|
|
|
blur enable
|
|
blur_radius 8
|
|
|
|
exec --no-startup-id dbus-update-activation-environment DISPLAY
|