blob: 043de2bf0e3c2896cfc813b4e2a713e8e904422c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Set user_name to your username in dom0
{% set user_name = 'skylar' %}
wm--install-wm-pkgs:
pkg.installed:
- pkgs:
- i3 # My window manager of choice
- i3-settings-qubes # Sane defaults for i3 on QubesOS
- nitrogen # GUI wallpaper program
- arandr # GUI display configuration
- rofi # App launcher, dmenu alternative
- zenity # Tui dependency
- dunst # Notifications
- adwaita-qt5 # For dark mode in dom0
- ImageMagick # For i3 blur-lock script
'mkdir /home/{{ user_name }}/.config/i3':
cmd.run:
- creates: /home/{{ user_name }}/.config/i3/
/home/{{ user_name }}/.config/i3/config:
file.managed:
- source: salt://dots/i3-config
- user: root
- group: root
- mode: 777
/usr/bin/blurlock:
file.managed:
- source: salt://scripts/blurlock.sh
- user: root
- group: root
- mode: 777
enable-dark-mode:
file.managed:
- name: /etc/environment
- source: salt://dots/dark-mode-env
- user: root
- group: root
- mode: 777
'sudo mv /usr/bin/qubes-i3-sensible-terminal /usr/bin/qubes-i3-sensible-terminal-default':
cmd.run:
- creates: /usr/bin/qubes-i3-sensible-terminal-default
/usr/bin/qubes-i3-sensible-terminal:
file.managed:
- source: salt://scripts/qubes-i3-sensible-terminal
- user: root
- group: root
- mode: 777
/home/{{ user_name }}/Pictures/wallpaper.png:
file.managed:
- source: salt://dots/wallpaper.png
/etc/X11/xorg.conf.d/90-touchpad.conf:
file.managed:
- source: salt://dots/90-touchpad.conf
- user: root
- group: root
- mode: 777
'sudo mv /usr/bin/dmenu /usr/bin/dmenu-unlinked':
cmd.run:
- creates: /usr/bin/dmenu-unlinked
'sudo ln -s /usr/bin/rofi /usr/bin/dmenu':
cmd.run:
- creates: /usr/bin/dmenu
'mkdir /home/{{ user_name }}/.config/rofi':
cmd.run:
- creates: /home/{{ user_name }}/.config/rofi/
/home/{{ user_name }}/.config/rofi/config.rasi:
file.managed:
- source: salt://dots/rofi-config.rasi
- user: root
- group: root
- mode: 777
|