Advertisement
Guest User

.xinitrc

a guest
Sep 11th, 2023
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Load Resources
  4. #xrdb -merge ~/.Xresources
  5.  
  6. #Set up an icon tray
  7. #stalonetray &
  8.  
  9. #Fire up apps
  10. # xscreensaver -no-splash &
  11.  
  12. #!/bin/sh
  13.  
  14. userresources=$HOME/.Xresources
  15. sysresource=/etc/X11/xinit/.Xresources
  16.  
  17. if [ -f $sysresources ] ; then
  18. xrdb -merge $sysresources
  19. fi
  20.  
  21. if [ -f "$userresources" ]; then
  22. xrdb -merge "$userresources"
  23. fi
  24.  
  25. if [ -d /etc/X11/xinit/xinitrc.d ]; then
  26. for f in /etc/X11/xinit/sinitrc.d/?*.sh ; do
  27. [ -x "$f" ] && . "$f"
  28. done
  29. unset f
  30. fi
  31. # dual monitor
  32. xrandr --output DP-1 --primary --auto
  33. xrandr --output HDMI-2 --right-of DP-1 --rotate left
  34. xrandr --output eDP-1 --off
  35. #xrandr --output DVI-D-1-2 --auto --primary
  36. #
  37. xtheme ayu
  38. #picom -CG --active-opactiy &
  39.  
  40. # You lost the game
  41. # WM
  42. # exec xmonad
  43. #exec herbstluftwm --locked
  44.  
  45.  
  46. # Set background image with feh
  47. # feh --bg-fill ~/Pictures/XMonadBG.jpg &
  48.  
  49. if [ -x /usr/bin/nm-applet ] ; then
  50. nm-applet --sm-disable &
  51. fi
  52.  
  53. # set monitor settings
  54.  
  55. # set default audio
  56.  
  57. # set opacity
  58. picom -CG --active-opacity 1.0 --shadow-ignore-shaped &
  59.  
  60. #eval 'cat ~/.fehbg'
  61. #xmobar ~/.xmonad/.xmobarrc &
  62. exec xmonad
  63.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement