This commit is contained in:
Surferlul 2021-08-20 23:35:06 +02:00
parent fbbbb65b56
commit 0228560041
2 changed files with 24 additions and 1 deletions

18
rc.lua
View File

@ -227,6 +227,19 @@ do
end
-- }}}
-- {{{ Startup Commands
do
local cmds =
{
string.format("%s/.config/awesome/startup.sh", os.getenv("HOME")),
}
for _,i in pairs(cmds) do
awful.util.spawn(i)
end
end
-- }}}
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
--beautiful.init(gears.filesystem.get_themes_dir() .. "default/theme.lua")
@ -901,7 +914,10 @@ awful.rules.rules = {
keys = clientkeys,
buttons = clientbuttons,
screen = awful.screen.preferred,
placement = awful.placement.no_overlap+awful.placement.no_offscreen
placement = awful.placement.no_overlap+awful.placement.no_offscreen,
maximized_horizontal = false,
maximized_vertical = false,
maximized = false,
}
},

7
startup.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
xinput --set-prop "SYNA7DB5:01 06CB:CD41 Touchpad" $(xinput list-props $(xinput list | grep 'Touchpad' | cut -f 2 | cut -d'=' -f 2) | grep "Disable While Typing Enabled (" | cut -d'(' -f 2 | cut -d')' -f 1) 0
xinput --set-prop "SYNA7DB5:01 06CB:CD41 Touchpad" $(xinput list-props $(xinput list | grep 'Touchpad' | cut -f 2 | cut -d'=' -f 2) | grep "Tapping Enabled (" | cut -d'(' -f 2 | cut -d')' -f 1) 1
xinput --set-prop "SYNA7DB5:01 06CB:CD41 Touchpad" $(xinput list-props $(xinput list | grep 'Touchpad' | cut -f 2 | cut -d'=' -f 2) | grep "Natural Scrolling Enabled (" | cut -d'(' -f 2 | cut -d')' -f 1) 1
xinput --set-prop "SYNA7DB5:01 06CB:CD41 Touchpad" $(xinput list-props $(xinput list | grep 'Touchpad' | cut -f 2 | cut -d'=' -f 2) | grep "Middle Emulation Enabled (" | cut -d'(' -f 2 | cut -d')' -f 1) 1
#python ~/user/projects/startup/presence.py &
picom --experimental-backends --backend glx &