summaryrefslogtreecommitdiffstats
path: root/awesome/autorun.sh
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2021-03-01 10:21:27 +0100
committersalad <fmoenne-@student.le-101.fr>2021-03-01 10:21:27 +0100
commitf196f26d47dae50c5c5db74ad7e06d1feede8b8c (patch)
tree9de18ebb55d33e571c8b75259308ee54243d4405 /awesome/autorun.sh
parentadd snippets (diff)
downloaddotfiles-f196f26d47dae50c5c5db74ad7e06d1feede8b8c.tar.gz
dotfiles-f196f26d47dae50c5c5db74ad7e06d1feede8b8c.tar.bz2
dotfiles-f196f26d47dae50c5c5db74ad7e06d1feede8b8c.tar.xz
dotfiles-f196f26d47dae50c5c5db74ad7e06d1feede8b8c.tar.zst
dotfiles-f196f26d47dae50c5c5db74ad7e06d1feede8b8c.zip
add awesome config
Diffstat (limited to 'awesome/autorun.sh')
-rwxr-xr-xawesome/autorun.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/awesome/autorun.sh b/awesome/autorun.sh
new file mode 100755
index 0000000..7d21924
--- /dev/null
+++ b/awesome/autorun.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+function run {
+ if ! pgrep -f $1 ;
+ then
+ $@&
+ fi
+}
+
+run compton
+run xset r rate 200 150
+run setxkbmap -layout "us,fr" -option "grp:alt_shift_toggle"