From bf85d6ce53eb91ca0a6e0a43d564beec01bc879b Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sat, 13 Nov 2021 15:12:02 -0800 Subject: screenshot to clipboard (maim) --- polybar/.config/polybar/bt.sh | 2 +- polybar/.config/polybar/config | 2 +- sxhkd/.config/sxhkd/sxhkdrc | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/polybar/.config/polybar/bt.sh b/polybar/.config/polybar/bt.sh index f754059..0500e67 100755 --- a/polybar/.config/polybar/bt.sh +++ b/polybar/.config/polybar/bt.sh @@ -17,7 +17,7 @@ bluetooth_print() { if [ $counter -gt 0 ]; then printf ", %s" "$device_alias" else - printf " %s" "$device_alias" + printf "%s" "$device_alias" fi counter=$((counter + 1)) diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 477fa30..8d3879f 100755 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -3,7 +3,7 @@ screenchange-reload = true [colors] ;background = ${xrdb:background:#060808} -background = #171a1f +background = #00171a1f background-alt = ${xrdb:color0:#000} ;foreground = ${xrdb:foreground:#c5c8c6} foreground = #b7b7b7 diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc index 21a7296..9e34e54 100755 --- a/sxhkd/.config/sxhkd/sxhkdrc +++ b/sxhkd/.config/sxhkd/sxhkdrc @@ -17,9 +17,9 @@ super + shift + f super + n urxvtc -e nvim ~/.local/todo.md super + Print - maim ~/Pictures/$(date +%d-%b-%y-%I:%M%p).png + maim | tee ~/Pictures/$(date +%d-%b-%y-%I:%M%p).png | xclip -selection clipboard -t image/png control + alt + Print - maim -s ~/Pictures/$(date +%d-%b-%y-%I:%M%p).png + maim -s | tee ~/Pictures/$(date +%d-%b-%y-%I:%M%p).png | xclip -selection clipboard -t image/png super + shift + p passmenu -i -fn "Input Mono:style=medium:size=9" -nb "#171a1f" -nf "#f3f4f5" -sb "#c6c8d1" -sf "#171a1f" super + Escape -- cgit v1.2.3