Liu Song’s Projects


~/Projects/confbook

git clone https://code.lsong.org/confbook

Commit

Commit
ea362c1db09e1c3ed80bf2b519382512cca6b5e1
Author
Lsong <[email protected]>
Date
2023-07-04 07:28:35 +0000 +0000
Diffstat
 bspwm/bspwmrc | 24 ++++++++++--------------
 tmux/tmux.conf | 4 ++--

update


diff --git a/bspwm/bspwmrc b/bspwm/bspwmrc
index 329c728258d90d2ecbd42dbe1979d39829281f85..174ece4db3feeec32460d1aa9b0ccf84ec34485a 100755
--- a/bspwm/bspwmrc
+++ b/bspwm/bspwmrc
@@ -1,54 +1,50 @@
 #! /bin/sh
-#
 
 pgrep -x sxhkd > /dev/null || sxhkd &
-
+#! /bin/sh
 bspc monitor -d 1 2 3 4
 
 bspc config split_ratio          0.52
 bspc config borderless_monocle   true
 
-
 # General bspwm config options
-bspc config border_width				5
+bspc config border_width		5
-bspc config window_gap					2
+bspc config window_gap			2
-bspc config border_radius				2
+bspc config border_radius		2
 bspc config focus_follows_pointer       true
 bspc config gapless_monocle             true
-#! /bin/sh
 pgrep -x sxhkd > /dev/null || sxhkd &
-#! /bin/sh
 bspc monitor -d 1 2 3 4
+# bspc config single_monocle            true
 bspc config top_monocle_padding         20
 bspc config left_monocle_padding        20 
 bspc config right_monocle_padding       20 
 bspc config bottom_monocle_padding      20 
-#bspc config ignore_ewmh_fullscreen      enter
+# bspc config ignore_ewmh_fullscreen    enter
 bspc config ignore_ewmh_struts          true
 bspc config top_padding                 50
 
 
 bspc rule -a firefox desktop='^2'
 bspc rule -a Code-OSS desktop='^3'
-bspc rule --add Polybar                     layer=below manage=off
+bspc rule --add Polybar                 manage=off layer=below
-bspc rule --add Rofi						manage=off
+bspc rule --add Rofi	                  manage=off
 # bspc rule -a Gimp desktop='^3' state=floating follow=on
 # bspc rule -a mplayer2 state=floating
 # bspc rule -a Kupfer.py focus=on
 # bspc rule -a Screenkey manage=off
 
 
-eww -c ~/.config/eww/mybar kill 
+# eww -c ~/.config/eww/mybar kill 
 # eww -c ~/.config/eww/mybar daemon    
 # eww -c ~/.config/eww/mybar open bar_right
 # eww -c ~/.config/eww/mybar open bar_center
 # eww -c ~/.config/eww/mybar open bar_left
 
 picom &
+pgrep -x sxhkd > /dev/null || sxhkd &
 
 killall polybar
 polybar & > /dev/null
-# polybar -c ~/.config/eww/mybar/polybar_tray.ini tray& > /dev/null
-
 
 feh --bg-scale $HOME/Pictures/Wallpapers/wallpaper.webp




diff --git a/tmux/tmux.conf b/tmux/tmux.conf
index 0fe3a8c7dd580005bd409dc940c13204a6e923cc..5a3041b266ce1792a8f5f5073ade54f7b73959d9 100644
--- a/tmux/tmux.conf
+++ b/tmux/tmux.conf
@@ -28,9 +28,9 @@ unbind C-b
 set -g prefix C-a
 
 # Kill pane/window/session shortcuts
-bind X confirm-before -p "kill-window #W? (y/n)" kill-window
+bind X confirm-before -p "kill-window #W? (y/N)" kill-window
-# enable mouse mode
 setw -g mode-keys vi
+set-option -s set-clipboard off
 # move to last active window
 bind Tab last-window