Fix gestures and nginx config
This commit is contained in:
parent
1008f5fb71
commit
10d65d87ce
|
@ -1,4 +1,4 @@
|
|||
exec libinput-gestures -c $DOTFILES_PATH/os/linux/libinput/sway-gestures.conf
|
||||
exec libinput-gestures -c ~/.config/libinput-gestures.conf
|
||||
exec swayidle -w timeout 300 'swaylock -f -c 000000' timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep 'swaylock -f -c 000000'
|
||||
|
||||
bindswitch lid:toggle exec swaylock
|
||||
|
|
0
host/layer/nginx-user-public/.nginx-autoindex-after.html
Normal file → Executable file
0
host/layer/nginx-user-public/.nginx-autoindex-after.html
Normal file → Executable file
0
host/layer/nginx-user-public/.nginx-autoindex-before.html
Normal file → Executable file
0
host/layer/nginx-user-public/.nginx-autoindex-before.html
Normal file → Executable file
|
@ -5,15 +5,15 @@ set h $argv[2]
|
|||
set c $argv[3]
|
||||
|
||||
pushd (dirname $me)
|
||||
function force_link
|
||||
function _cp
|
||||
sudo rm -f "$argv[2]"
|
||||
echo "Linking $argv[1] to $argv[2]"
|
||||
sudo ln -s "$argv[1]" "$argv[2]"
|
||||
echo "Copying $argv[1] to $argv[2]"
|
||||
sudo cp "$argv[1]" "$argv[2]"
|
||||
end
|
||||
|
||||
force_link (pwd)/user-public-http.conf /etc/nginx/user-public-http.conf
|
||||
force_link (pwd)/user-public-server.conf /etc/nginx/user-public-server.conf
|
||||
force_link (pwd)/.nginx-autoindex-before.html /usr/share/nginx/html/.nginx-autoindex-before.html
|
||||
force_link (pwd)/.nginx-autoindex-after.html /usr/share/nginx/html/.nginx-autoindex-after.html
|
||||
_cp (pwd)/user-public-http.conf /etc/nginx/user-public-http.conf
|
||||
_cp (pwd)/user-public-server.conf /etc/nginx/user-public-server.conf
|
||||
_cp (pwd)/.nginx-autoindex-before.html /usr/share/nginx/html/.nginx-autoindex-before.html
|
||||
_cp (pwd)/.nginx-autoindex-after.html /usr/share/nginx/html/.nginx-autoindex-after.html
|
||||
|
||||
echo 'Don\'t forget to include the nginx files in your config inside their respective blocks!'
|
||||
|
|
|
@ -47,4 +47,5 @@ paru -Sy --needed --noconfirm \
|
|||
reflector `# Simplify Mirror Management` \
|
||||
inetutils `# netutils` \
|
||||
nnn `# CLI File Manager` \
|
||||
avahi nss-mdns `# .local DNS` \
|
||||
man-db man-pages `# Come On, Man!`
|
||||
|
|
|
@ -1,2 +1,10 @@
|
|||
swipe_threshold 25
|
||||
timeout 0.9
|
||||
|
||||
# TODO: sway gestures?
|
||||
|
||||
gesture swipe left 3 swaymsg workspace back_and_forth
|
||||
|
||||
gesture swipe right 2 swaymsg seat seat0 cursor press BTN_EXTRA && swaymsg seat seat0 cursor release BTN_EXTRA
|
||||
|
||||
gesture swipe left 2 swaymsg seat seat0 cursor press BTN_SIDE && swaymsg seat seat0 cursor release BTN_SIDE
|
||||
|
|
Reference in a new issue