pub / dotfiles

Configuration of software on my computer
git clone https://src.jayvii.de/pub/dotfiles.git
Home | Log | Files | Exports | Refs | RSS

.startup.sh (1938B)


      1 #!/usr/bin/env bash
      2 
      3 # Fast Startup for GTK Applications
      4 echo "[Wayfire Startup] Export Environment Variables"
      5 dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK &
      6 
      7 # Set Wallpaper
      8 echo "[Wayfire Startup] Set Wallpaper"
      9 swaybg --mode fit --image ~/Bilder/Wallpaper/02.png &
     10 
     11 # Launch Systembar
     12 # echo "[Wayfire Startup] Launch Yambar"
     13 # yambar -c .config/yambar/config.yaml &
     14 echo "[Wayfire Startup] Launch Waybar"
     15 waybar &
     16 
     17 # Lock Screen
     18 echo "[Wayfire Startup] Launch Swayidle"
     19 swayidle before-sleep swaylock &
     20 swayidle timeout 300 swaylock &
     21 swayidle timeout 290 "makoctl set-mode away" resume "makoctl set-mode default" &
     22 
     23 # Screen Temperature
     24 echo "[Wayfire Startup] Launch wlsunset"
     25 sleep 5 && wlsunset &
     26 
     27 # set volume to 100% and mute
     28 echo "[Wayfire Startup] Set Audio Output Configuration"
     29 sleep 2 && pactl set-sink-volume @DEFAULT_SINK@ 100% &
     30 sleep 2 && pactl set-sink-mute @DEFAULT_SINK@ 1 &
     31 
     32 # set microphone to 15% and mute
     33 echo "[Wayfire Startup] Set Audio Input Configuration"
     34 sleep 2 && pactl set-source-volume @DEFAULT_SOURCE@ 15% &
     35 sleep 2 && pactl set-source-mute @DEFAULT_SOURCE@ 1 &
     36 
     37 # set brightness to 100%
     38 echo "[Wayfire Startup] Set Brightness"
     39 ~/.local/bin/brightness "inc" 100 &
     40 
     41 # Start Bluetooth Manager
     42 echo "[Wayfire Startup] Launch Blueman"
     43 blueman-applet &
     44 
     45 # Launch KDE Connect
     46 echo "[Wayfire Startup] Launch KDE-Connect"
     47 kdeconnect-indicator &
     48 sleep 10 && kdeconnect-cli --refresh &
     49 
     50 # Launch Nextcloud Sync
     51 echo "[Wayfire Startup] Launch Nextcloud Sync"
     52 sleep 10 && nextcloud --background &
     53 
     54 # Launch Nextcloud Talk
     55 echo "[Wayfire Startup] Launch Nextcloud Talk"
     56 $HOME/.local/opt/nextcloud-talk/Nextcloud\ Talk --background &
     57 
     58 # Launch Nextcloud Talk
     59 echo "[Wayfire Startup] Launch Signal"
     60 flatpak run org.signal.Signal &
     61 
     62 # Set GTK Theme
     63 gsettings get org.gnome.desktop.interface gtk-theme "Adwaita:dark"
     64 gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'