CLI config/dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
3.2 KiB

  1. #! /bin/sh
  2. export PANEL_FIFO="/tmp/djsissom-panel-fifo"
  3. export XDG_CURRENT_DESKTOP="KDE"
  4. #export QT_QPA_PLATFORMTHEME="qt5ct"
  5. export SAL_USE_VCLPLUGIN="kde4"
  6. sxhkd & # start hotkey daemon
  7. bspc config border_width 2
  8. bspc config window_gap 12
  9. bspc config split_ratio 0.6
  10. #bspc config borderless_monocle true
  11. #bspc config gapless_monocle true
  12. bspc config history_aware_focus true
  13. #bspc config pointer_follows_monitor true
  14. #bspc config auto_cancel true
  15. bspc config remove_disabled_monitors false
  16. bspc config remove_unplugged_monitors false
  17. #bspc config persistent_monitors true
  18. bspc config merge_overlapping_monitors true
  19. bspc config presel_feedback_color \#FFFFFF
  20. bspc config ignore_ewmh_focus true
  21. bspc config click_to_focus true
  22. bspc config pointer_modifier mod1
  23. bspc config normal_border_color '#000000'
  24. bspc config active_border_color '#000000'
  25. bspc config focused_border_color '#00FFEE'
  26. # hack to fix monitor order
  27. #bspc monitor -s left
  28. bspc rule -a Gimp state=floating
  29. bspc rule -a Gimp-2.8 state=floating
  30. bspc rule -a *:gwenview state=floating layer=above
  31. bspc rule -a *:gv state=floating
  32. bspc rule -a *:feh state=floating
  33. bspc rule -a *:Plugin-container state=floating
  34. bspc rule -a *:Conky sticky=on manage=off lower=on
  35. bspc rule -a *:Screenkey manage=off
  36. bspc rule -a Steam border=off state=floating
  37. bspc rule -a Stellaris border=off state=fullscreen
  38. #bspc rule -a vlc:vlc state=floating layer=above
  39. bspc config external_rules_command "$HOME/.config/bspwm/external_rules"
  40. i=1
  41. #for monitor in DVI-D-0 DVI-I-1 DP-1; do
  42. #for monitor in $(bspc query -M); do
  43. for monitor in $(bspc query -M --names); do
  44. bspc monitor $monitor \
  45. -d $i/Desktop-2 $i/Desktop-1 $i/Desktop-0 $i/Desktop+1 $i/Desktop+2
  46. #-n "$i" \
  47. let i++
  48. done
  49. #NMON=$i
  50. unset i
  51. for i in {1..6}; do
  52. bspc desktop --focus next;
  53. bspc monitor --focus next;
  54. done
  55. #bspc monitor -r Desktop2
  56. #bspc monitor DVI-D-0 -d I II III
  57. #bspc monitor DVI-I-0 -d IV V VI
  58. #bspc monitor DP-1 -d VII VIII IX
  59. #!/bin/sh
  60. #
  61. #i=1
  62. #for monitor in $(bspc query -M); do
  63. #bspc monitor $monitor \
  64. # -n "$i" \
  65. # -d $i/{i,ii,iii,iv,v,vi,vii,viii,ix,x}
  66. # let i++
  67. #done
  68. #NMON=$i
  69. #unset i
  70. #
  71. #bspc config top_padding 14
  72. #
  73. ## Visual options
  74. #bspc config split_ratio 0.50
  75. #bspc config border_width 1
  76. #bspc config window_gap 4
  77. #bspc config borderless_monocle true
  78. #bspc config gapless_monocle true
  79. #bspc config focus_follows_pointer true
  80. #bspc config auto_alternate true
  81. #bspc config auto_cancel true
  82. #bspc config normal_border_color "#504339"
  83. #bspc config active_border_color "#504339"
  84. #bspc config focused_border_color "#817267"
  85. #bspc config presel_border_color "#9a875f"
  86. #bspc config urgent_border_color "#504339"
  87. #bspc config normal_frame_opacity 0.0
  88. #bspc config focused_frame_opacity 0.1
  89. #
  90. #
  91. ## Rules
  92. #bspc rule -a Skype pseudo_tiled=on
  93. #bspc rule -a Spotify pseudo_tiled=on
  94. #bspc rule -a Thunar pseudo_tiled=on
  95. #bspc rule -a Skype pseudo_tiled=on
  96. #bspc rule -a File-roller pseudo_tiled=on
  97. #bspc rule -a Transmission-gtk pseudo_tiled=on
  98. #bspc rule -a Conky sticky=on manage=off lower=on
  99. #bspc rule -a astime sticky=on
  100. #bspc rule -a feh floating=on manage=off
  101. #
  102. [ -e "$PANEL_FIFO" ] && bspc subscribe report > "$PANEL_FIFO" &
  103. pgrep -x panel > /dev/null || bspwm-panel &