Advertisement
Guest User

tigervnc, bspwm, st+alpha, compton

a guest
Apr 16th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. ➜ cat .xinitrc
  3. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4. exec bspwm
  5.  
  6. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. ➜ cat .config/bspwm/bspwmrc
  8. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. #! /bin/sh
  10.  
  11. wal -i $HOME/megasync/0004_Media/wpo/ &
  12. sxhkd &
  13. xsetroot -cursor_name left_ptr &
  14. compton -b &
  15. dunst &
  16. x0vncserver -rfbauth $HOME/.vnc/passwd &
  17. $HOME/.config/polybar/launch.sh
  18.  
  19. bspc monitor -d I II III IV V VI VII VIII IX X
  20.  
  21. bspc config border_width 0
  22. bspc config window_gap 12
  23.  
  24. bspc config split_ratio 0.52
  25. bspc config borderless_monocle true
  26. bspc config gapless_monocle false
  27.  
  28. bspc config focus_follows_pointer true
  29.  
  30. # my
  31. bspc rule -a Gimp desktop='^8' state=fdloating follow=on
  32. bspc rule -a Screenkey manage=off
  33.  
  34. # mynt
  35. #bspc rule -a feh state=floating follow=on
  36. #bspc rule -a firefox desktop=^2 follow=on
  37. # bspc rule -a Steam desktop=^3 follow=on
  38. bspc rule -a telegram-desktop desktop=^4 follow=on
  39. # bspc rule -a discord desktop=^4 follow=on
  40. # bspc rule -a mpv state=floating focus=on
  41.  
  42. # source the colors.
  43. . "${HOME}/.cache/wal/colors.sh"
  44.  
  45. # Set the border colors.
  46. bspc config normal_border_color "$color1"
  47. bspc config active_border_color "$color2"
  48. bspc config focused_border_color "$color15"
  49. # Use the line below if you are on bspwm >= 0.9.4
  50. bspc config presel_feedback_color "$color1"
  51. # Use the line below if you are on bspwm < 0.9.4
  52. #bspc config presel_border_color "$color1"
  53.  
  54. # Old border colors
  55. # bspc config normal_border_color "#282A36"
  56. # bspc config focused_border_color "#343746"
  57. # bspc config urgent_border_color "#B58900"
  58. # bspc config presel_border_color "#26E2FF"
  59.  
  60. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  61. ➜ cat .config/compton.conf
  62. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  63. # Shadow
  64. shadow = true;
  65. no-dnd-shadow = true;
  66. no-dock-shadow = true;
  67. clear-shadow = true;
  68. shadow-radius = 7;
  69. shadow-offset-x = -7;
  70. shadow-offset-y = -7;
  71. # shadow-opacity = 0.7;
  72. # shadow-red = 0.0;
  73. # shadow-green = 0.0;
  74. # shadow-blue = 0.0;
  75. shadow-exclude = [
  76. "name = 'Notification'",
  77. "class_g = 'Conky'",
  78. "class_g ?= 'Notify-osd'",
  79. "class_g = 'Cairo-clock'",
  80. "_GTK_FRAME_EXTENTS@:c"
  81. ];
  82. # shadow-exclude = "n:e:Notification";
  83. # shadow-exclude-reg = "x10+0+0";
  84. # xinerama-shadow-crop = true;
  85.  
  86. # Opacity
  87. menu-opacity = 0.8;
  88. inactive-opacity = 0.8;
  89. # active-opacity = 0.8;
  90. frame-opacity = 0.7;
  91. inactive-opacity-override = false;
  92. alpha-step = 0.06;
  93. # inactive-dim = 0.2;
  94. # inactive-dim-fixed = true;
  95. blur-background = true;
  96. # blur-background-frame = true;
  97. blur-method = "kawase";
  98. blur-strength = 4;
  99. blur-kern = "3x3box";
  100. # blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
  101. # blur-background-fixed = true;
  102. blur-background-exclude = [
  103. "window_type = 'dock'",
  104. "window_type = 'desktop'",
  105. "_GTK_FRAME_EXTENTS@:c"
  106. ];
  107. #opacity-rule = [
  108. # "90:class_g = 'st-256color'"
  109. #
  110. #];
  111.  
  112. # Fading
  113. fading = true;
  114. # fade-delta = 30;
  115. fade-in-step = 0.03;
  116. fade-out-step = 0.03;
  117. # no-fading-openclose = true;
  118. # no-fading-destroyed-argb = true;
  119. fade-exclude = [ ];
  120.  
  121. # Other
  122. # backend = "xrender";
  123. backend = "glx";
  124. mark-wmwin-focused = true;
  125. mark-ovredir-focused = true;
  126. # use-ewmh-active-win = true;
  127. detect-rounded-corners = true;
  128. detect-client-opacity = true;
  129. refresh-rate = 0;
  130. vsync = "none";
  131. dbe = false;
  132. paint-on-overlay = true;
  133. # sw-opti = true;
  134. # unredir-if-possible = true;
  135. # unredir-if-possible-delay = 5000;
  136. # unredir-if-possible-exclude = [ ];
  137. focus-exclude = [ "class_g = 'Cairo-clock'" ];
  138. detect-transient = true;
  139. detect-client-leader = true;
  140. invert-color-include = [ ];
  141. # resize-damage = 1;
  142.  
  143. # GLX backend
  144. glx-no-stencil = true;
  145. glx-copy-from-front = false;
  146. # glx-use-copysubbuffermesa = true;
  147. glx-no-rebind-pixmap = true;
  148. glx-swap-method = "undefined";
  149. # glx-use-gpushader4 = true;
  150. # xrender-sync = true;
  151. # xrender-sync-fence = true;
  152.  
  153. # Window type settings
  154. wintypes:
  155. {
  156. tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
  157. };
  158.  
  159. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  160. ➜ cat .bashrc
  161. # %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  162. #
  163. # ~/.bashrc
  164. #
  165.  
  166. # If not running interactively, don't do anything
  167. [[ $- != *i* ]] && return
  168.  
  169.  
  170. alias ls='ls --color=auto'
  171. alias termrec='asciinema rec'
  172.  
  173. ssh() { /usr/bin/ssh "$@" | ct; }
  174. # telnet() { /usr/bin/ssh "$@" | ct; }
  175.  
  176. PS1='[\u@\h \W]\$ '
  177.  
  178. GIT_PROMPT_ONLY_IN_REPO=1
  179. source ~/.bash-git-prompt/gitprompt.sh
  180. source promptless.sh
  181. pfetch
  182.  
  183. PATH=/home/leorikz/.local/bin:$PATH
  184.  
  185. # tmux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement