Compare commits
3 Commits
05b7b53677
...
d7305dc070
| Author | SHA1 | Date | |
|---|---|---|---|
| d7305dc070 | |||
| 95a87d5112 | |||
| 9c11f4b357 |
@@ -52,7 +52,6 @@ environment:
|
|||||||
MACHINE_HAS_KEEPASSX: "false"
|
MACHINE_HAS_KEEPASSX: "false"
|
||||||
MACHINE_HAS_NEXTCLOUD: "true"
|
MACHINE_HAS_NEXTCLOUD: "true"
|
||||||
MACHINE_HAS_STEAM: "true"
|
MACHINE_HAS_STEAM: "true"
|
||||||
MACHINE_HAS_DISCORD: "true"
|
|
||||||
MACHINE_HAS_RESTIC_BACKUP: "false"
|
MACHINE_HAS_RESTIC_BACKUP: "false"
|
||||||
MACHINE_HAS_ELEMENT: "true"
|
MACHINE_HAS_ELEMENT: "true"
|
||||||
MACHINE_RESOLUTION_X: "2560"
|
MACHINE_RESOLUTION_X: "2560"
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ BindsTo=windowmanager.target
|
|||||||
After=windowmanager.target
|
After=windowmanager.target
|
||||||
|
|
||||||
Wants=blueman.service
|
Wants=blueman.service
|
||||||
#Wants=discord.service
|
|
||||||
Wants=dpms.service
|
Wants=dpms.service
|
||||||
Wants=dunst.service
|
Wants=dunst.service
|
||||||
Wants=element.service
|
Wants=element.service
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env blueman-applet
|
ExecStart=/usr/bin/env blueman-applet
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
BindsTo=autostart.target
|
|
||||||
After=windowmanager.target
|
|
||||||
|
|
||||||
ConditionPathExists=%h/.var/run/features/discord
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/env discord
|
|
||||||
PassEnvironment=DISPLAY
|
|
||||||
@@ -7,3 +7,4 @@ Type=oneshot
|
|||||||
ExecStart=/usr/bin/env xset s off
|
ExecStart=/usr/bin/env xset s off
|
||||||
ExecStart=/usr/bin/env xset dpms 0 0 300
|
ExecStart=/usr/bin/env xset dpms 0 0 300
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
|
ExecStart=/usr/bin/env dunst -config %h/.config/dunstrc
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ ConditionPathExists=%h/.var/run/features/element
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env element-desktop
|
ExecStart=/usr/bin/env element-desktop
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P %i
|
ExecStart=/usr/bin/env firefox --setDefaultBrowser -P %i
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
|
ExecStart=/usr/bin/env gnome-keyring-daemon --start --foreground --components secrets
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -7,3 +7,4 @@ ConditionPathExists=%h/.var/run/features/gpg_agent
|
|||||||
Type=forking
|
Type=forking
|
||||||
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
|
ExecStart=/usr/bin/env gpg-agent --homedir %h/.gnupg --no-detach --daemon
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -6,3 +6,4 @@ ConditionPathExists=%h/.var/run/features/keepassx
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx
|
ExecStart=/usr/bin/env keepassx --keyfile %h/.secret/main.key %h/.secret/main.kdbx
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -4,5 +4,7 @@ After=windowmanager.target
|
|||||||
ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
ConditionPathExists=%h/.var/run/features/machine_is_laptop
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
|
ExecStart=/usr/bin/env bash -c 'grep "^${ACPI_LID_NAME}.*enabled" /proc/acpi/wakeup && echo " ${ACPI_LID_NAME}" | sudo tee /proc/acpi/wakeup'
|
||||||
|
RemainAfterExit=true
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ ConditionPathExists=%h/.var/run/features/nextcloud
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env nextcloud --background
|
ExecStart=/usr/bin/env nextcloud --background
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|
||||||
MemoryHigh=20%
|
MemoryHigh=20%
|
||||||
MemoryMax=30%
|
MemoryMax=30%
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env nm-applet
|
ExecStart=/usr/bin/env nm-applet
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env pasystray
|
ExecStart=/usr/bin/env pasystray
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf
|
ExecStart=/usr/bin/env redshift-gtk -c %h/.config/redshift.conf
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env spotify
|
ExecStart=/usr/bin/env spotify
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ ConditionPathExists=%h/.var/run/features/steam
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env steam
|
ExecStart=/usr/bin/env steam
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -5,3 +5,4 @@ After=windowmanager.target
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
|
ExecStart=/usr/bin/env yubikey-touch-detector -libnotify
|
||||||
PassEnvironment=DISPLAY
|
PassEnvironment=DISPLAY
|
||||||
|
Restart=always
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ assign [class="^Spotify$"] $workspace9
|
|||||||
|
|
||||||
assign [class="^Google-chrome$"] $workspace7
|
assign [class="^Google-chrome$"] $workspace7
|
||||||
assign [class="^Chromium$"] $workspace7
|
assign [class="^Chromium$"] $workspace7
|
||||||
assign [class="^discord"] $workspace7
|
|
||||||
assign [class="^Steam"] $workspace5
|
assign [class="^Steam"] $workspace5
|
||||||
for_window [class="^Steam$"] move to workspace $workspace5
|
for_window [class="^Steam$"] move to workspace $workspace5
|
||||||
|
|
||||||
|
|||||||
@@ -329,9 +329,6 @@ packages:
|
|||||||
man:
|
man:
|
||||||
ubuntu: ["man-db", "manpages"]
|
ubuntu: ["man-db", "manpages"]
|
||||||
archlinux: ["man-db", "man-pages"]
|
archlinux: ["man-db", "man-pages"]
|
||||||
discord:
|
|
||||||
ubuntu: []
|
|
||||||
archlinux: ["discord"]
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
ubuntu: ["nextcloud-desktop"]
|
ubuntu: ["nextcloud-desktop"]
|
||||||
archlinux: ["nextcloud-client"]
|
archlinux: ["nextcloud-client"]
|
||||||
@@ -394,3 +391,6 @@ packages:
|
|||||||
vim:
|
vim:
|
||||||
ubuntu: ["vim"]
|
ubuntu: ["vim"]
|
||||||
archlinux: ["gvim"]
|
archlinux: ["gvim"]
|
||||||
|
discord:
|
||||||
|
ubuntu: []
|
||||||
|
archlinux: ["discord"]
|
||||||
|
|||||||
@@ -53,7 +53,6 @@ mkdir -p "${FEATURE_DIR}"
|
|||||||
[[ $MACHINE_HAS_NEXTCLOUD == "true" ]] && touch "${FEATURE_DIR}"/nextcloud
|
[[ $MACHINE_HAS_NEXTCLOUD == "true" ]] && touch "${FEATURE_DIR}"/nextcloud
|
||||||
[[ $MACHINE_HAS_KEEPASSX == "true" ]] && touch "${FEATURE_DIR}"/keepassx
|
[[ $MACHINE_HAS_KEEPASSX == "true" ]] && touch "${FEATURE_DIR}"/keepassx
|
||||||
[[ $MACHINE_HAS_STEAM == "true" ]] && touch "${FEATURE_DIR}"/steam
|
[[ $MACHINE_HAS_STEAM == "true" ]] && touch "${FEATURE_DIR}"/steam
|
||||||
[[ $MACHINE_HAS_DISCORD == "true" ]] && touch "${FEATURE_DIR}"/discord
|
|
||||||
[[ $MACHINE_HAS_RESTIC_BACKUP == "true" ]] && touch "${FEATURE_DIR}"/restic_backup
|
[[ $MACHINE_HAS_RESTIC_BACKUP == "true" ]] && touch "${FEATURE_DIR}"/restic_backup
|
||||||
[[ $MACHINE_HAS_ELEMENT == "true" ]] && touch "${FEATURE_DIR}"/element
|
[[ $MACHINE_HAS_ELEMENT == "true" ]] && touch "${FEATURE_DIR}"/element
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user