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