add gestures config
This commit is contained in:
parent
59c9ea94a4
commit
d3e06c015d
6 changed files with 21 additions and 0 deletions
7
.config/libinput-gestures.conf
Normal file
7
.config/libinput-gestures.conf
Normal 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
|
|
@ -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 \
|
||||
|
|
BIN
.config/sway/laser-rainbow.png
Normal file
BIN
.config/sway/laser-rainbow.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 774 KiB |
BIN
.config/sway/laser2.png
Normal file
BIN
.config/sway/laser2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 756 KiB |
12
.config/sway/status.sh
Executable file
12
.config/sway/status.sh
Executable 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
BIN
.config/sway/wallpaper.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 328 KiB |
Loading…
Reference in a new issue