Browse Source

Cleanup and fixes. More bspwm rules.

master
SolitudeSF 6 months ago
parent
commit
53b789e055
No known key found for this signature in database
9 changed files with 17 additions and 21 deletions
  1. 0
    2
      bin/fzy-kill
  2. 0
    7
      bin/fzy-pgrep
  3. 4
    0
      bspwm
  4. 5
    1
      firefox/userChrome.css
  5. 1
    1
      kitty/kitty.conf
  6. 2
    2
      ntr/templates/dunst
  7. 2
    1
      profile
  8. 1
    1
      sx.sh
  9. 2
    6
      xbps-src

+ 0
- 2
bin/fzy-kill View File

@@ -1,2 +0,0 @@
#!/bin/sh
kill $(fzpgrep ${1:-.})

+ 0
- 7
bin/fzy-pgrep View File

@@ -1,7 +0,0 @@
#!/bin/sh
ps up $(pgrep -f ${@:-.}) | \
while read -r l; do
printf '%s\n' "$l" >&2
fzy | awk '{print $2}'
break
done

+ 4
- 0
bspwm View File

@@ -14,3 +14,7 @@ bspc rule -a Firefox desktop='^2'
bspc rule -a mpv state=floating
bspc rule -a Peek state=floating
bspc rule -a kittyfloat state=floating
bspc rule -a TelegramDesktop desktop='^3'
bspc rule -a Hexchat desktop='^3'
bspc rule -a Ripcord desktop='^3'
bspc rule -a Steam desktop='^4'

+ 5
- 1
firefox/userChrome.css View File

@@ -1,3 +1,4 @@
/* Hide tabbar */
#TabsToolbar {
visibility: collapse !important;
}
@@ -6,9 +7,12 @@
max-width: none !important;
min-width: 0px !important;
}

/* Hide sidebar header and outline */
#sidebar-box + #sidebar-splitter {
display: none !important;
}

#sidebar-box #sidebar-header {
visibility: collapse;
display: none;
}

+ 1
- 1
kitty/kitty.conf View File

@@ -194,7 +194,7 @@ map kitty_mod+a>d set_background_opacity default
# target: os_window window tab overlay none
# new_{window,tab,os_window}{,_with_cwd} $program? $source?
# pipe $source $target $program
map f1 pipe @ansi_alternate overlay less +g -R
map kitty_mod+f1 pipe @ansi_alternate overlay less +g -R
# map f2 pipe @selection overlay less +g -R
map ctrl+alt+enter new_os_window_with_cwd
map ctrl+g new_tab_with_cwd tig

+ 2
- 2
ntr/templates/dunst View File

@@ -45,7 +45,7 @@ show_indicators = yes

icon_position = left
max_icon_size = 32
icon_path = /usr/share/icons/Paper/16x16/status/:/usr/share/icons/Paper/16x16/devices/:/usr/share/icons/Paper/16x16/apps/
icon_path = /usr/share/icons/Papirus/32x32/status/:/usr/share/icons/Papirus/32x32/devices/:/usr/share/icons/Papirus/32x32/apps/:/usr/share/icons/Papirus/32x32/actions

### History ###

@@ -55,7 +55,7 @@ history_length = 20
### Misc/Advanced ###

dmenu = /usr/bin/rofi -dmenu -p dunst:
browser = <{$HOME}>/app/firefox/firefox
browser = /usr/bin/firefox
always_run_script = true
title = Dunst
class = Dunst

+ 2
- 1
profile View File

@@ -5,11 +5,12 @@ XDG_CONFIG_HOME=$HOME/.local/etc
XDG_RUNTIME_DIR=/tmp/runtime-$USER
XBPS_DISTDIR=$HOME/git/void-packages
DOTS_DIR=$HOME/dot
GOPATH=$HOME/.go

mkdir -p $XDG_RUNTIME_DIR

# Override system variables
PATH=$HOME/.local/bin:$HOME/.nimble/bin:$PATH
PATH=$HOME/.local/bin:$DOTS_DIR/bin:$HOME/.nimble/bin:$HOME/.cargo/bin:$GOPATH/bin:$PATH

GPG_TTY=$(tty)
TERMINAL='kitty -1'

+ 1
- 1
sx.sh View File

@@ -1,6 +1,6 @@
xrdb -nocpp "$HOME/.Xresources"
xsetroot -cursor_name left_ptr &
setxkbmap -layout us,ru -variant ,ruu -option 'grp:shifts_toggle,grp:shift_caps_toggle,grp_led:scroll,lv3:ralt_switch,compose:rwin-altgr,nbsp:level3' &
setxkbmap -layout us,ru -variant ,ruu -option 'grp:shift_caps_toggle,grp_led:scroll,lv3:ralt_switch,compose:rwin-altgr,nbsp:level3' &
start-pulseaudio-x11 &
setroot --restore &
mpd &

+ 2
- 6
xbps-src View File

@@ -1,14 +1,10 @@
if [ -z "$NO_LTO" ]; then
XBPS_CFLAGS="-flto"
XBPS_CXXFLAGS="${XBPS_CFLAGS}"
fi
XBPS_MAKEJOBS=8
XBPS_CCACHE=yes
XBPS_ALLOW_RESTRICTED=yes
XBPS_PKG_OPTIONS_mpv=~jack,~sndio,~wayland,~alsa
XBPS_PKG_OPTIONS_mpv=~jack,~sndio,~alsa,~wayland
XBPS_PKG_OPTIONS_mpd=~sndio
XBPS_PKG_OPTIONS_SDL2=~sndio
XBPS_PKG_OPTIONS_mediainfo=~GUI
XBPS_PKG_OPTIONS_lxappearance=gtk3
XBPS_PKG_OPTIONS_polybar=~i3
XBPS_PKG_OPTIONS_retroarch=~jack
XBPS_PKG_OPTIONS_zenity=~webkit

Loading…
Cancel
Save