diff --git a/rc.lua b/rc.lua index 93a3372..9535cb7 100644 --- a/rc.lua +++ b/rc.lua @@ -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, } }, diff --git a/startup.sh b/startup.sh new file mode 100755 index 0000000..3537e31 --- /dev/null +++ b/startup.sh @@ -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 &