fixed autostart
This commit is contained in:
+4
-9
@@ -288,7 +288,7 @@ We start by simply defining the standard headers used by the three files. These
|
||||
|
||||
#+end_src
|
||||
** autostart.sh
|
||||
#+begin_src shell :mkdirp yes :tangle ~/.config/autostart.sh
|
||||
#+begin_src shell :mkdirp yes :tangle ~/.autostart.sh
|
||||
#!/bin/sh
|
||||
# DO NOT EDIT THIS FILE DIRECTLY
|
||||
# This is a file generated from a literate programing source file
|
||||
@@ -758,7 +758,7 @@ import os
|
||||
|
||||
@hook.subscribe.startup_once
|
||||
def autostart():
|
||||
home = os.path.expanduser('~/.config/autostart.sh')
|
||||
home = os.path.expanduser('~/.autostart.sh')
|
||||
subprocess.call(['sh', home])
|
||||
#+end_src
|
||||
*** Custom Microphone Widgets
|
||||
@@ -1942,7 +1942,7 @@ Authentication information will be stored in a encrypted file that is part of my
|
||||
'((:source "~/.authinfo.gpg")))
|
||||
#+end_src
|
||||
**** Start Daemon on Startup
|
||||
#+begin_src shell :tangle ~/.config/autostart.sh
|
||||
#+begin_src shell :tangle ~/.autostart.sh
|
||||
emacs --daemon &
|
||||
#+end_src
|
||||
**** Misc
|
||||
@@ -2568,7 +2568,7 @@ family = "UbuntuMonoNerdFont"
|
||||
style = "Regular"
|
||||
#+end_src
|
||||
The size is set via the autostart script depending on the system type (Laptop/Desktop)
|
||||
#+begin_src shell :mkdirp yes :tangle ~/.config/autostart.sh
|
||||
#+begin_src shell :mkdirp yes :tangle ~/.autostart.sh
|
||||
# Use hostnamectl to get system information
|
||||
chassis_type=$(hostnamectl status | grep "Chassis:" | awk '{print $2}')
|
||||
# Check if the chassis type is "laptop"
|
||||
@@ -2929,8 +2929,3 @@ inkscape
|
||||
6. configure networks
|
||||
- [[https://www.scc.kit.edu/dienste/7181.php][eduroam]]
|
||||
|
||||
* Other TODOs
|
||||
** TODO configure Bitwarden via config file
|
||||
- remove manual task afterwards
|
||||
** TODO add Firefox user via update.sh
|
||||
- remove manual task afterwards
|
||||
|
||||
Reference in New Issue
Block a user