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.

127 lines
3.3 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, Desktop-1, Desktop-0, Desktop+1, Desktop+2}
  46. #-n "$i" \
  47. #-d $i/{I,II,III,IV,V,VI,VII,VIII,IX,X}
  48. let i++
  49. done
  50. #NMON=$i
  51. unset i
  52. for i in {1..6}; do
  53. bspc desktop --focus next;
  54. bspc monitor --focus next;
  55. done
  56. #bspc monitor -r Desktop2
  57. #bspc monitor DVI-D-0 -d I II III
  58. #bspc monitor DVI-I-0 -d IV V VI
  59. #bspc monitor DP-1 -d VII VIII IX
  60. #!/bin/sh
  61. #
  62. #i=1
  63. #for monitor in $(bspc query -M); do
  64. #bspc monitor $monitor \
  65. # -n "$i" \
  66. # -d $i/{i,ii,iii,iv,v,vi,vii,viii,ix,x}
  67. # let i++
  68. #done
  69. #NMON=$i
  70. #unset i
  71. #
  72. #bspc config top_padding 14
  73. #
  74. ## Visual options
  75. #bspc config split_ratio 0.50
  76. #bspc config border_width 1
  77. #bspc config window_gap 4
  78. #bspc config borderless_monocle true
  79. #bspc config gapless_monocle true
  80. #bspc config focus_follows_pointer true
  81. #bspc config auto_alternate true
  82. #bspc config auto_cancel true
  83. #bspc config normal_border_color "#504339"
  84. #bspc config active_border_color "#504339"
  85. #bspc config focused_border_color "#817267"
  86. #bspc config presel_border_color "#9a875f"
  87. #bspc config urgent_border_color "#504339"
  88. #bspc config normal_frame_opacity 0.0
  89. #bspc config focused_frame_opacity 0.1
  90. #
  91. #
  92. ## Rules
  93. #bspc rule -a Skype pseudo_tiled=on
  94. #bspc rule -a Spotify pseudo_tiled=on
  95. #bspc rule -a Thunar pseudo_tiled=on
  96. #bspc rule -a Skype pseudo_tiled=on
  97. #bspc rule -a File-roller pseudo_tiled=on
  98. #bspc rule -a Transmission-gtk pseudo_tiled=on
  99. #bspc rule -a Conky sticky=on manage=off lower=on
  100. #bspc rule -a astime sticky=on
  101. #bspc rule -a feh floating=on manage=off
  102. #
  103. [ -e "$PANEL_FIFO" ] && bspc subscribe report > "$PANEL_FIFO" &
  104. pgrep -x panel > /dev/null || bspwm-panel &