Advertisement
yididiel7

.config / openbox / autostart

Feb 9th, 2024 (edited)
944
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.86 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3.  
  4. ## Copyright (C) 2024 by Tyrone Hills All rights reserved <mobw4u@gmail.com>.
  5.  
  6. ## Kill if already running
  7. killall -9 xfsettingsd picom polybar mpd dunst ksuperkey xfce4-power-manager
  8.  
  9. ## Restore Wallpaper
  10. nitrogen --restore
  11.  
  12. ## xfce4-settings daemon
  13. xfsettingsd &
  14.  
  15. ## polkit agent
  16. if [[ ! `pidof xfce-polkit` ]]; then
  17.     /usr/lib/xfce-polkit/xfce-polkit &
  18. fi
  19.  
  20. ## Enable power management
  21. xfce4-power-manager &
  22.  
  23. ## Start Compositing Manager
  24. exec picom &
  25.  
  26. ## Launch Polybar
  27. bash ~/.config/openbox-themes/themes/polybar.sh
  28.  
  29. ## Notification Daemon
  30. exec dunst &
  31.  
  32. ## Start Music Player Daemon
  33. exec mpd &
  34.  
  35. ## Launch Plank
  36. exec plank &
  37.  
  38. ## Thunar Daemon
  39. exec thunar --daemon &
  40.  
  41. ## Start Clipboard Manager
  42. (sleep 3s && clipit) &
  43.  
  44. ## Enable Super Keys For Menu
  45. ksuperkey -e 'Super_L=Alt_L|F1' &
  46. ksuperkey -e 'Super_R=Alt_L|F1' &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement