diff --git a/config b/config index 195385c..3bc0f1a 100644 --- a/config +++ b/config @@ -11,14 +11,14 @@ set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. #font pango:monospace 8 -font pango:Iosevka Medium 8 +#font pango:Iosevka Medium 8 # This font is widely installed, provides lots of unicode glyphs, right-to-left # text rendering and scalability on retina/hidpi displays (thanks to pango). #font pango:DejaVu Sans Mono 8 # Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 +font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 # The font above is very space-efficient, that is, it looks good, sharp and # clear in small sizes. However, its unicode glyph coverage is limited, the old # X core fonts rendering does not support right-to-left and this being a bitmap @@ -194,6 +194,8 @@ bindsym --release Print exec --no-startup-id scrot -m '%Y%m%d- #bindsym --release $mod+Print exec --no-startup-id scrot -s '%Y%m%d-%H%M%S.png' -e 'mv $f ~/Nextcloud/raffle/screenshots/' bindsym --release $mod+Print exec --no-startup-id scrot -s '/tmp/%F_%T_$wx$h.png' -e 'xclip -selection clipboard -target image/png -i $f' +bindsym --release $mod+Shift+Print exec --no-startup-id $HOME/.config/i3/scripts/show-clip-pic.sh + ### Audio volume bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sset Master 10%+ @@ -260,6 +262,7 @@ exec_always --no-startup-id ~/.config/i3/i3-auto-layout-run bindsym $mod+x [urgent=latest] focus bindsym $mod+p exec pavucontrol +# xprop for_window [class="(?i)pavucontrol"] floating enable for_window [class="(?i)gnome-calculator"] floating enable for_window [class="(?i)gnome-calendar"] floating enable diff --git a/polybar.sh b/polybar.sh index 2b1cada..acbe557 100755 --- a/polybar.sh +++ b/polybar.sh @@ -9,6 +9,6 @@ killall -q polybar # Launch bar1 and bar2 echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log -polybar --config=$HOME/.config/i3/polybar.conf mybar >>/tmp/polybar1.log 2>&1 +polybar --config=$HOME/.config/i3/polybar.conf mybar >>/tmp/polybar1.log 2>&1 & echo "Bars launched..." diff --git a/scripts/show-clip-pic.sh b/scripts/show-clip-pic.sh new file mode 100755 index 0000000..4cadb73 --- /dev/null +++ b/scripts/show-clip-pic.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +uuid=$(uuidgen) + +xclip -out -selection clipboard > /tmp/$uuid && feh /tmp/$uuid