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.

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