add gestures config

This commit is contained in:
Daniel Lundin 2020-03-08 12:53:35 +01:00
parent 59c9ea94a4
commit d3e06c015d
No known key found for this signature in database
GPG key ID: 6AB527C9196ACDCC
6 changed files with 21 additions and 0 deletions

View file

@ -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

View file

@ -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 \

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 KiB

BIN
.config/sway/laser2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 756 KiB

12
.config/sway/status.sh Executable file
View file

@ -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

BIN
.config/sway/wallpaper.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB