Преглед на файлове

Tweaked setting for new bspwm config and small emacs tags tweak

master
Josh Wolfe преди 11 месеца
родител
ревизия
8272d6a9e8
No account linked to committer's email address
променени са 5 файла, в които са добавени 50 реда и са изтрити 47 реда
  1. 2
    0
      bin/bin/autohide
  2. 21
    25
      bspwm/.config/bspwm/bspwmrc
  3. 25
    20
      bspwm/.config/sxhkd/sxhkdrc
  4. 1
    1
      emacs/.emacs.d/README.org
  5. 1
    1
      polybar/.config/polybar/config

+ 2
- 0
bin/bin/autohide Целия файл

@@ -9,6 +9,8 @@ fi

xinput test AT\ Translated\ Set\ 2\ keyboard | while read -r in ; do
if [[ "$in" = "key press 133" ]]; then
xdo raise -N "Polybar"
xdo raise -a "Polybar tray window"
xdo show -N "Polybar"
xdo show -a "Polybar tray window"
elif [[ "$in" = "key release 133" ]]; then

+ 21
- 25
bspwm/.config/bspwm/bspwmrc Целия файл

@@ -2,33 +2,29 @@

sxhkd &

# Auto Start
xsetroot -cursor_name left_ptr
xinput set-button-map 14 1 2 3 5 4 6 7 8 9 10 11 12
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'
~/bin/battery_notify&
feh --bg-scale ~/Pictures/star_wars_wallpaper.jpg
powertop --auto-tune
tlp start
xset r rate 225 30
(dropbox&)

bspc config border_width 2
bspc config window_gap 5
bspc config top_padding 27

bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true

bspc config border_width 2
bspc config window_gap 0
bspc config top_padding 0
bspc config split_ratio 0.5
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config focus_follows_pointer true
bspc config single_monocle true

bspc rule -a Gimp desktop='^8' state=floating follow=on
bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
bspc rule -a Emacs state=tiled

bspc monitor -d www Term I II III IV V VI VII VIII

polybar wolfe
xinput set-button-map 14 1 2 3 5 4 6 7 8 9 10 11 12
setxkbmap -option compose:ralt
xsetroot -cursor_name left_ptr
~/bin/caps
~/bin/key-rate

(dropbox start&)
(nm-applet&)
(~/bin/battery_notify&)
(~/bin/autohide&)

feh --bg-scale --randomize ~/Pictures/wallpapers/*
polybar my-awesome-polybar

+ 25
- 20
bspwm/.config/sxhkd/sxhkdrc Целия файл

@@ -4,44 +4,49 @@

# terminal emulator
super + Return
terminator
urxvt

# emacs
super + backslash
emacs
emacsclient -c

# chrome
super + c
chromium
firefox-developer-edition

# program launcher
super + space
rofi -show run -font "snap 10" -o 85
rofi -show drun

super + d
rofi-pass

super + shift + d
rofi-pass --insert

super + n
~/bin/lock.sh

Print
sleep 0.2; \
scrot -q 100 -s ~/temp.png && xclip -selection clipboard -t image/png -i ~/temp.png

# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
super + Escape pkill -USR1 -x sxhkd

# volume keys
XF86AudioRaiseVolume
amixer -D pulse sset Master 2%+
amixer -D pulse sset Master 2%+
XF86AudioLowerVolume
amixer -D pulse sset Master 2%-
amixer -D pulse sset Master 2%-
XF86AudioMute
amixer set Master toggle
amixer set Master toggle

# brightness keys
XF86MonBrightnessUp
xbacklight -inc 5
xbacklight -inc 5
XF86MonBrightnessDown
xbacklight -dec 5

# swap keyboard layout
super + p
~/bin/toggle-layout
# swap keyboard layout
super + r
~/bin/toggle-russian
xbacklight -dec 5

#
# bspwm hotkeys
@@ -96,7 +101,7 @@ super + {_,shift + }c
bspc node -f {next,prev}

# focus the next/previous desktop
super + bracket{left,right}
super + {slash,at}
bspc desktop -f {prev,next}

# focus the last node/desktop
@@ -110,7 +115,7 @@ super + {o,i}
bspc wm -h on

# focus or send to the given desktop
super + {_,shift + }{1-9,0}
super + {_,shift + }{ampersand, bracketleft, braceleft, braceright, parenleft, equal, asterisk, parenright, plus, bracketright}
bspc {desktop -f,node -d} '^{1-9,10}'

#

+ 1
- 1
emacs/.emacs.d/README.org Целия файл

@@ -909,7 +909,7 @@ Setup some basic quality of life org settings.


(defun wolfe/org-tags-compute-width ()
(- (floor (* 0.8 (frame-width)))))
(- (floor (* 0.6 (frame-width)))))

(add-hook 'org-mode-hook
(lambda ()

+ 1
- 1
polybar/.config/polybar/config Целия файл

@@ -343,7 +343,7 @@ format-packetloss = <animation-packetloss> <label-connected>
; ; %downspeed% [wireless+wired]
; ; %linkspeed% [wired]
; ; Default: %ifname% %local_ip%
label-connected = %essid%%upspeed:8%%downspeed:8%
label-connected = %essid% %downspeed:8%%upspeed:8%
label-connected-foreground = #eefafafa
;
; ; Available tokens:

Loading…
Отказ
Запис