diff --git a/files/.Xresources b/files/.Xresources index 346ee44..bae1e55 100644 --- a/files/.Xresources +++ b/files/.Xresources @@ -18,3 +18,35 @@ rofi.color-active: argb:031d1f21, #f3f4f5, argb:031d1f21, argb:031d1f21, #9575cd rofi.font: System San Francisco Display 18 dzen.font: -*-fixed-medium-r-s*--12-87-*-*-*-*-iso10???-1 + + +URxvt.color24: #076678 +URxvt.color66: #427b58 +URxvt.color88: #9d0006 +URxvt.color96: #8f3f71 +URxvt.color100: #79740e +URxvt.color108: #8ec07c +URxvt.color109: #83a598 +URxvt.color130: #af3a03 +URxvt.color136: #b57614 +URxvt.color142: #b8bb26 +URxvt.color167: #fb4934 +URxvt.color175: #d3869b +URxvt.color208: #fe8019 +URxvt.color214: #fabd2f +URxvt.color223: #ebdbb2 +URxvt.color228: #f2e5bc +URxvt.color229: #fbf1c7 +URxvt.color230: #f9f5d7 +URxvt.color234: #1d2021 +URxvt.color235: #282828 +URxvt.color236: #32302f +URxvt.color237: #3c3836 +URxvt.color239: #504945 +URxvt.color241: #665c54 +URxvt.color243: #7c6f64 +URxvt.color244: #928374 +URxvt.color245: #928374 +URxvt.color246: #a89984 +URxvt.color248: #bdae93 +URxvt.color250: #d5c4a1 diff --git a/files/.config/alacritty/alacritty.yml b/files/.config/alacritty/alacritty.yml index de6fa67..32f3c2d 100644 --- a/files/.config/alacritty/alacritty.yml +++ b/files/.config/alacritty/alacritty.yml @@ -12,8 +12,8 @@ window: # y: 0 padding: - x: 0 - y: 0 + x: 10 + y: 10 #Spread additional padding evenly around the terminal content. dynamic_padding: true @@ -301,8 +301,9 @@ schemes: # }}} # https://github.com/alacritty/alacritty/wiki/Color-schemes -colors: *onedark -background_opacity: 0.95 +colors: *gruvbox +#background_opacity: 0.95 +background_opacity: 1 font: size: 13 diff --git a/files/.config/bspwm/bspwm_scripts/bringwindow b/files/.config/bspwm/bspwm_scripts/bringwindow new file mode 100755 index 0000000..485c3eb --- /dev/null +++ b/files/.config/bspwm/bspwm_scripts/bringwindow @@ -0,0 +1,25 @@ +#!/bin/bash +case $1 in "-a") PROMPT="Goto:"; MODE="go" ;; "-R") PROMPT="Bring:"; MODE="bring" ;; esac + +if [ -n "$2" ]; then + WINDOW="$2" +else + WINDOW=$(paste \ + <(xdotool search .) \ + <(xdotool search . get_desktop_for_window %@ 2> /dev/null) \ + <(xdotool search . getwindowname %@) |\ + awk '{FS="\t"; if($2 != -1) printf "%10d [%d] %s\n",$1,$2+1,$3}' |\ + vmenu --no-refocus -p $PROMPT |\ + sed 's/^ *//g' |\ + cut -d ' ' -f 1) +fi + +if [ -n "$WINDOW" ]; then + if [ bring = $MODE ]; then + if DESK=$(xdotool get_desktop 2> /dev/null); then + xdotool set_desktop_for_window "$WINDOW" $DESK + sleep 0.005 # wait for wm to notice + fi + fi + xdotool windowmap "$WINDOW" windowactivate "$WINDOW" windowfocus "$WINDOW" windowraise "$WINDOW" +fi diff --git a/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh b/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh new file mode 100755 index 0000000..dbb0d04 --- /dev/null +++ b/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh @@ -0,0 +1,11 @@ +#!/bin/bash +if [ -z "$1" ]; then + echo "Usage: $0