fixed autostart

This commit is contained in:
paul-loedige
2024-02-20 00:50:26 +01:00
parent c41630b7f6
commit c8b32226d8
177 changed files with 4 additions and 217 deletions
+4 -9
View File
@@ -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