Browse Source

Cleanup and fixes. More bspwm rules.

master
SolitudeSF 4 months ago
parent
commit
53b789e055
Signed by: SolitudeSF <solitudesf@protonmail.com> GPG Key ID: 789B06817C385387
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 @@
1
-#!/bin/sh
2
-kill $(fzpgrep ${1:-.})

+ 0
- 7
bin/fzy-pgrep View File

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

+ 4
- 0
bspwm View File

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

+ 5
- 1
firefox/userChrome.css View File

@@ -1,3 +1,4 @@
1
+/* Hide tabbar */
1 2
 #TabsToolbar {
2 3
   visibility: collapse !important;
3 4
 }
@@ -6,9 +7,12 @@
6 7
   max-width: none !important;
7 8
   min-width: 0px !important;
8 9
 }
10
+
11
+/* Hide sidebar header and outline */
9 12
 #sidebar-box + #sidebar-splitter {
10 13
   display: none !important;
11 14
 }
15
+
12 16
 #sidebar-box #sidebar-header {
13
-  visibility: collapse;
17
+  display: none;
14 18
 }

+ 1
- 1
kitty/kitty.conf View File

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

+ 2
- 2
ntr/templates/dunst View File

@@ -45,7 +45,7 @@ show_indicators = yes
45 45
 
46 46
 icon_position = left
47 47
 max_icon_size = 32
48
-icon_path = /usr/share/icons/Paper/16x16/status/:/usr/share/icons/Paper/16x16/devices/:/usr/share/icons/Paper/16x16/apps/
48
+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
49 49
 
50 50
 ### History ###
51 51
 
@@ -55,7 +55,7 @@ history_length = 20
55 55
 ### Misc/Advanced ###
56 56
 
57 57
 dmenu = /usr/bin/rofi -dmenu -p dunst:
58
-browser = <{$HOME}>/app/firefox/firefox
58
+browser = /usr/bin/firefox
59 59
 always_run_script = true
60 60
 title = Dunst
61 61
 class = Dunst

+ 2
- 1
profile View File

@@ -5,11 +5,12 @@ XDG_CONFIG_HOME=$HOME/.local/etc
5 5
 XDG_RUNTIME_DIR=/tmp/runtime-$USER
6 6
 XBPS_DISTDIR=$HOME/git/void-packages
7 7
 DOTS_DIR=$HOME/dot
8
+GOPATH=$HOME/.go
8 9
 
9 10
 mkdir -p $XDG_RUNTIME_DIR
10 11
 
11 12
 # Override system variables
12
-PATH=$HOME/.local/bin:$HOME/.nimble/bin:$PATH
13
+PATH=$HOME/.local/bin:$DOTS_DIR/bin:$HOME/.nimble/bin:$HOME/.cargo/bin:$GOPATH/bin:$PATH
13 14
 
14 15
 GPG_TTY=$(tty)
15 16
 TERMINAL='kitty -1'

+ 1
- 1
sx.sh View File

@@ -1,6 +1,6 @@
1 1
 xrdb -nocpp "$HOME/.Xresources"
2 2
 xsetroot -cursor_name left_ptr &
3
-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' &
3
+setxkbmap -layout us,ru -variant ,ruu -option 'grp:shift_caps_toggle,grp_led:scroll,lv3:ralt_switch,compose:rwin-altgr,nbsp:level3' &
4 4
 start-pulseaudio-x11 &
5 5
 setroot --restore &
6 6
 mpd &

+ 2
- 6
xbps-src View File

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

Loading…
Cancel
Save