diff --git a/.config/libinput-gestures.conf b/.config/libinput-gestures.conf new file mode 100644 index 0000000..1ee73bd --- /dev/null +++ b/.config/libinput-gestures.conf @@ -0,0 +1,7 @@ +# browser back/forward +gesture swipe right xdotool key alt+Right +gesture swipe left xdotool key alt+Left + +# zoom +gesture pinch in 2 xdotool key ctrl+minus +gesture pinch out 2 xdotool key ctrl+plus diff --git a/.config/sway/config b/.config/sway/config index 8cd1509..bf76dd5 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -62,6 +62,7 @@ bindsym Mod4+minus scratchpad show floating_modifier Mod4 bindsym Mod4+Shift+f floating toggle bindsym Mod4+f focus mode_toggle +bindsym Mod4+F11 fullscreen toggle bindsym Mod4+x floating enable; resize set width 80 ppt; resize set height 100 ppt ; move position center @@ -105,6 +106,7 @@ exec mako exec redshift exec "systemctl --user import-environment; systemctl --user start sway-session.target" exec $term -e tmux attach +exec libinput-gestures-setup restart # Screen lock exec swayidle \ diff --git a/.config/sway/laser-rainbow.png b/.config/sway/laser-rainbow.png new file mode 100644 index 0000000..58718c9 Binary files /dev/null and b/.config/sway/laser-rainbow.png differ diff --git a/.config/sway/laser2.png b/.config/sway/laser2.png new file mode 100644 index 0000000..c75934b Binary files /dev/null and b/.config/sway/laser2.png differ diff --git a/.config/sway/status.sh b/.config/sway/status.sh new file mode 100755 index 0000000..b869662 --- /dev/null +++ b/.config/sway/status.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +# The abbreviated weekday (e.g., "Sat"), followed by the ISO-formatted date +# like 2018-10-06 and the time (e.g., 14:01) +date_formatted=$(date "+%a %F %H:%M") + +# Returns the battery status: "Full", "Discharging", or "Charging". +battery_status=$(cat /sys/class/power_supply/BAT0/status) + +# Emojis and characters for the status bar +# 💎 💻 💡 🔌 ⚡ 📁 \| +echo $battery_status 🔋 $date_formatted diff --git a/.config/sway/wallpaper.jpg b/.config/sway/wallpaper.jpg new file mode 100644 index 0000000..08cd9ce Binary files /dev/null and b/.config/sway/wallpaper.jpg differ