mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
improve some variables
This commit is contained in:
parent
74cc88fee3
commit
35d5dc490a
4 changed files with 12 additions and 24 deletions
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
i3s=$(i3-msg -t get_workspaces)
|
||||
|
||||
if [ '[]' == "$i3s" ]; then
|
||||
echo "i3 not running"
|
||||
else
|
||||
if [ ! -f /tmp/autostart ]; then
|
||||
tmux new-session -s i3-pannel -n etc -d 'sleep 5; /usr/bin/nm-applet --no-agent'
|
||||
tmux new-window -t i3-pannel:1 -n nextcloud 'sleep 30; /usr/bin/nextcloud'
|
||||
touch /tmp/autostart
|
||||
else
|
||||
ddate
|
||||
fi
|
||||
fi
|
||||
|
|
@ -15,6 +15,15 @@ i3_keybindings_extra:
|
|||
name: Volue (default)
|
||||
key: $mod+Shift+F12
|
||||
exec: --no-startup-id amixer sset Master 40%
|
||||
- keybinding:
|
||||
name: darker
|
||||
key: XF86MonBrightnessDown
|
||||
exec: --no-startup-id light -U 12
|
||||
- keybinding:
|
||||
name: lighter
|
||||
key: XF86MonBrightnessUp
|
||||
exec: --no-startup-id light -A 9
|
||||
|
||||
|
||||
i3_applications:
|
||||
- application:
|
||||
|
@ -36,8 +45,9 @@ i3_desktop_env:
|
|||
background: "/home/{{ user }}/.config/background.png"
|
||||
|
||||
i3lock_options: "i3lock --image=/home/{{ user }}/.config/lockscreen.png"
|
||||
|
||||
# optional .bashrc commands
|
||||
bash:
|
||||
bashrc: "if [ ! -f /tmp/autostart ]; then\n /opt/start.sh \n# ssh-add ~/.ssh/id_ed25519\nelse\n ddate;fi\n"
|
||||
bashrc: "alias pwgen=\"/usr/bin/pwgen --num-passwords=2000 --numerals --capitalize --secure --no-vowels --symbols 66 | grep -v '0' | grep -v 'o' | grep -v 'O' | grep -v 'r' | grep -v 'v' | grep -v 'I' | grep -v 'l' | grep -v 'y' | grep -v 'z' | grep -v '1' | grep -v '#' | grep -v '%' | grep -v '`' | grep -v '´' | grep -v '@' | tail -1\"\n"
|
||||
|
||||
|
||||
|
|
|
@ -16,11 +16,4 @@
|
|||
group: "{{ user }}"
|
||||
mode: 0644
|
||||
|
||||
- name: copy start
|
||||
copy:
|
||||
src: files/start.sh
|
||||
dest: /opt/start.sh
|
||||
owner: "root"
|
||||
group: "root"
|
||||
mode: 0644
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 06a76f8b2872519b57d9b4ea5c5d2fcc03bfbe52
|
||||
Subproject commit a8afabbfa5d46c09e436688b8b3c33b2e48bbdea
|
Loading…
Reference in a new issue