yash and sway tweaks

This commit is contained in:
Rudis Muiznieks 2025-03-26 17:06:12 -05:00
parent fea27a42c4
commit 54d192d889
Signed by: rudism
GPG key ID: CABF2F86EF7884F9
4 changed files with 3 additions and 22 deletions

View file

@ -51,4 +51,4 @@ bindsym $mod+c exec clipman pick --tool=CUSTOM --tool-args="fuzzel -d"
bindsym $mod+a exec /home/rudism/skynet/scripts/choose-audio -select
bindsym $mod+v exec /home/rudism/skynet/scripts/change-resolution
bindsym $mod+t layout tabbed
bindsym $mod+Shift+f floating toggle

View file

@ -1,10 +1,7 @@
for_window [app_id="org.speedcrunch.speedcrunch"] floating enable, sticky enable
for_window [title="Picture in picture"] floating enable, sticky enable
for_window [app_id="mpv"] floating enable, sticky enable
for_window [instance="bitwarden"] floating enable, sticky enable
for_window [instance="Conky"] floating enable, sticky enable
for_window [app_id="Waydroid"] floating enable
for_window [app_id="waydroid.*"] floating enable
for_window [app_id="net.lutris.Lutris"] inhibit_idle open
for_window [app_id=".*"] inhibit_idle fullscreen
for_window [class="."] inhibit_idle fullscreen
for_window [app_id="net.lutris.Lutris"] inhibit_idle open

View file

@ -17,7 +17,6 @@ FCEDIT=hx
# yash extension scripts
. ~/skynet/yash/polyglot.sh
. ~/skynet/yash/z.sh
. ~/skynet/yash/fzy-hist.sh
# environment setup
export PURE_GIT_PULL=0

View file

@ -1,15 +0,0 @@
h() {
input="$*"
SED_ARG='s/^[[:digit:]]*[[:space:]]*//'
cmd="history | sed '\$d' | sort --reverse --numeric-sort | fzy "
if [ -n "$input" ]; then
cmd="$cmd -q\"\$input\" "
fi
cmd="$cmd | sed \"\$SED_ARG\" | tr -d '\n'"
if command -v wl-copy>/dev/null; then
cmd="$cmd | wl-copy 2>/dev/null"
fi
eval "$cmd"
}