This commit is contained in:
jay
2023-05-30 01:26:05 +08:00
parent ae1ee3bcfc
commit a2d8cddefe
5 changed files with 23 additions and 13 deletions
+8 -3
View File
@@ -4,6 +4,8 @@
#
# Read `man 5 sway` for a complete reference.
font JetBrainsMono Nerd Font 10
### Variables
#
# Logo key. Use Mod1 for Alt.
@@ -26,7 +28,7 @@ set $menu wofi --show drun
#
# Default wallpaper (more resolutions are available in @datadir@/backgrounds/sway/)
# output * bg @datadir@/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
output * bg ~/.config/sway/bg.png fill
output * bg /home/jay/.config/sway/bg.png fill
#
# Example configuration:
#
@@ -36,9 +38,12 @@ output * bg ~/.config/sway/bg.png fill
# exec_always xdg-desktop-portal -r
# exec_always xdg-desktop-portal-wlr
exec ~/bin/wayland-env.sh
exec --no-startup-id dbus-update-activation-environment --all
exec gentoo-pipewire-launcher &
exec_always kanshi
exec dex -a -e sway
exec mako
# for sway overview
# exec_always rm -f /tmp/sovpipe && mkfifo /tmp/sovpipe && tail -f /tmp/sovpipe | sov -t 100
@@ -113,8 +118,8 @@ input type:touchpad {
bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -10%; pkill -RTMIN+8 waybar"
bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle; pkill -RTMIN+8 waybar"
bindsym XF86MonBrightnessUp exec "/home/jay/bin/backlight-control --path /sys/class/backlight/intel_backlight set +10%"
bindsym XF86MonBrightnessDown exec "/home/jay/bin/backlight-control --path /sys/class/backlight/intel_backlight set -- -10%"
bindsym XF86MonBrightnessUp exec "xbacklight -inc 5"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 5"
#
# Moving around:
#