Compare commits

..

No commits in common. "6a4d60616697c021419c3d86636dc7ac8a16f8e6" and "aa0d0c64ae3e59a306bc628ca8eab67756b7d235" have entirely different histories.

2 changed files with 20 additions and 11 deletions
sway

View file

@ -9,27 +9,36 @@ set $down 45
set $up 46
## {l>>1}
set $right 47
set $term systemd-run --user alacritty
set $menu systemd-run --user --scope wofi --show drun -i
set $term alacritty
set $menu wofi --show drun -i
set $status_command i3status-rs
exec systemd-run --user --scope swayidle -w \
exec swayidle -w \
timeout 300 'swaylock -f -c 000000' \
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
lock 'swaylock -f -c 000000' \
lock "swaylock -f -c 000000" \
before-sleep 'swaylock -f -c 000000'
# Copy PATH into dbus session
exec dbus-update-activation-environment --systemd PATH
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
#
# Scratchpad:
#
bindcode $mod+Shift+20 move scratchpad
bindcode $mod+20 scratchpad show
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindcode $mod+Shift+20 move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindcode $mod+20 scratchpad show
#
# Resizing containers:
#
mode "resize" {

View file

@ -1,8 +1,8 @@
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindsym XF86MonBrightnessDown exec brightnessctl -e set 10%-
bindsym XF86MonBrightnessUp exec brightnessctl -e set 10%+
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl prev