From 8189ac50a366242a44630e29ebe71644b26f1061 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Mon, 10 Aug 2020 16:09:15 +0530 Subject: spectr->bspwm->spectr --- bspwm/.config/bspwm/bspwmrc | 5 +---- picom/.config/picom.conf | 7 +++++-- sxhkd/.config/sxhkd/sxhkdrc | 14 +++++++------- x/.xinitrc | 5 +++-- zathura/.config/zathura/zathurarc | 4 ++-- zsh/.zshrc | 2 +- 6 files changed, 19 insertions(+), 18 deletions(-) diff --git a/bspwm/.config/bspwm/bspwmrc b/bspwm/.config/bspwm/bspwmrc index 0eff3f8..f85c2c0 100755 --- a/bspwm/.config/bspwm/bspwmrc +++ b/bspwm/.config/bspwm/bspwmrc @@ -12,10 +12,7 @@ bspc config gapless_monocle true # rules bspc rule -a Chromium desktop='^2' bspc rule -a Steam desktop='^6' - -# scratchpad -bspc rule -a scratchpad sticky=on state=floating hidden=on -[ "$(ps -x | grep -c 'scratchpad')" -eq "1" ] && st -c scratchpad -e ~/bin/scratch & +bspc rule -a "VirtualBox Manager" desktop='^6' # autostart xrdb -merge ~/.Xresources & diff --git a/picom/.config/picom.conf b/picom/.config/picom.conf index 9b4579a..a27d4a8 100644 --- a/picom/.config/picom.conf +++ b/picom/.config/picom.conf @@ -7,9 +7,10 @@ shadow-exclude = [ "name = 'Notification'", "class_g ?= 'Notify-osd'", "class_g ?= 'dmenu'", + "class_g ?= 'panel'", + "class_g ?= 'spectrwm'", "name = 'polybar'", "name = 'Polybar tray window'", - "class_g ?= 'dwm'", "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", "class_g = 'Firefox' && argb", "_GTK_FRAME_EXTENTS@:c" @@ -33,7 +34,7 @@ blur-background-exclude = [ opacity-rule = [ "40:class_g = 'Bspwm' && class_i = 'presel_feedback'", "100:class_g = 'URxvt' && focused", - "95:class_g = 'URxvt' && !focused" + "90:class_g = 'URxvt' && !focused" ]; ## FADING @@ -74,4 +75,6 @@ corner-radius = 5; rounded-corners-exclude = [ "name = 'bar'", "class_g ?= 'dmenu'", + "class_g ?= 'panel'", + "class_g ?= 'spectrwm'" ]; diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 38b99a4..8428888 100644 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -5,19 +5,19 @@ super + shift + Return super + @space dmenu_run -i -fn "JetBrains Mono Nerd Font Mono:style=medium:pixelsize=12.5" -nb "#f3f4f5" -nf "#2f2f2f" -sb "#626868" -sf "#ffffff" super + shift + w - chromium + chromium --profile-directory=Default control + alt + l xset s activate super + shift + f urxvtc -e ranger +super + n + urxvtc -e nvim ~/.cache/bujo/todo.md Print - screenshot f + ~/.local/bin/screenshot f control + Print - screenshot w -super + x - /home/fd0e/.local/bin/shut + ~/.local/bin/screenshot w super + shift + p - /home/fd0e/.local/bin/passmenu + passmenu -i -fn "JetBrains Mono Nerd Font Mono:style=medium:pixelsize=12.5" -nb "#f3f4f5" -nf "#2f2f2f" -sb "#626868" -sf "#ffffff" super + Escape pkill -USR1 -x sxhkd @@ -73,7 +73,7 @@ alt + {_,shift + }Tab super + bracket{left,right} bspc desktop -f {prev,next}.local # focus the last node/desktop -super + {grave,Tab} +super + Tab bspc {node,desktop} -f last # focus the older or newer node in the focus history super + {o,i} diff --git a/x/.xinitrc b/x/.xinitrc index 7cc89b1..5d8fcd9 100644 --- a/x/.xinitrc +++ b/x/.xinitrc @@ -1,7 +1,8 @@ #!/bin/bash -#/usr/bin/prime-offload & +/usr/bin/prime-offload & +xrdb -merge ~/.Xresources & setxkbmap -layout us -option caps:ctrl_modifier & xcape -e 'Caps_Lock=Escape' & # xrandr --setprovideroutputsource modesetting NVIDIA-0 # xrandr --auto -exec bspwm +exec spectrwm diff --git a/zathura/.config/zathura/zathurarc b/zathura/.config/zathura/zathurarc index 1c03fd7..e49be4d 100644 --- a/zathura/.config/zathura/zathurarc +++ b/zathura/.config/zathura/zathurarc @@ -32,5 +32,5 @@ set completion-bg "#CD7860" set completion-fg "#7A9388" set completion-highlight-bg "#CD7860" set completion-highlight-fg "#7A9388" -set recolor-lightcolor "#f3f4f5" -set recolor-darkcolor "#a3a6ab" +set recolor-lightcolor "#000000" +set recolor-darkcolor "#ffffff" diff --git a/zsh/.zshrc b/zsh/.zshrc index ebc4f94..9e75b56 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -10,7 +10,7 @@ export EDITOR="$VISUAL" export BROWSER=firefox export PATH=$PATH:$HOME/.local/bin:$HOME/bin export TERM=rxvt-unicode-256color -export XDG_CURRENT_DESKTOP=bspwm +export XDG_CURRENT_DESKTOP=spectrwm #aliases alias ls='ls --color=auto' -- cgit v1.2.3