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.

132 lines
3.5 KiB

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