From ad0dc8421236b6a706efd6512d63a834c7463394 Mon Sep 17 00:00:00 2001 From: navewindre Date: Thu, 19 Jun 2025 12:12:50 +0200 Subject: a --- config/mpv/mpv.conf | 6 +- cortile-x86 | Bin 0 -> 13771503 bytes desktop-audio-record | 20 ++ hotkey-legend | 38 +++ rc-templ.xml | 815 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 876 insertions(+), 3 deletions(-) create mode 100755 cortile-x86 create mode 100755 desktop-audio-record create mode 100755 hotkey-legend create mode 100644 rc-templ.xml diff --git a/config/mpv/mpv.conf b/config/mpv/mpv.conf index ce785c7..83d2fed 100644 --- a/config/mpv/mpv.conf +++ b/config/mpv/mpv.conf @@ -33,10 +33,10 @@ #fs=yes # force starting with centered window -#geometry=50%:50% +geometry=50%:50% # don't allow a new window to have a size larger than 90% of the screen size -#autofit-larger=90%x90% +autofit-larger=90%x90% # Do not close the window on exit. #keep-open=yes @@ -44,7 +44,7 @@ # Do not wait with showing the video window until it has loaded. (This will # resize the window once video is loaded. Also always shows a window with # audio.) -#force-window=immediate +force-window=immediate # Disable the On Screen Controller (OSC). #osc=no diff --git a/cortile-x86 b/cortile-x86 new file mode 100755 index 0000000..dcc3d18 Binary files /dev/null and b/cortile-x86 differ diff --git a/desktop-audio-record b/desktop-audio-record new file mode 100755 index 0000000..2e8bc74 --- /dev/null +++ b/desktop-audio-record @@ -0,0 +1,20 @@ +#!/bin/bash + +rm /tmp/desktop_audio_temp.mp3 + +cleanup() { + echo "Recording stopped. Cleaning up..." + kill $FFMPEG_PID + echo "file:///tmp/desktop_audio_temp.mp3" | xclip -sel c + gxmessage -geometry 350x50 -title "audio recorded" -center "desktop dudio has been copied to your clipboard." + exit 0 +} + +trap cleanup SIGINT SIGTERM + +ffmpeg -f pulse -i alsa_output.usb-FX-AUDIO-_DAC-X3PRO_20313330544D4319001C8004-00.analog-stereo.monitor /tmp/desktop_audio_temp.mp3 & + +FFMPEG_PID=$! +xev | grep -q "keycode: 9" && cleanup + +wait $FFMPEG_PID diff --git a/hotkey-legend b/hotkey-legend new file mode 100755 index 0000000..6660ebf --- /dev/null +++ b/hotkey-legend @@ -0,0 +1,38 @@ +#!/bin/sh + +gxmessage -center "help: +================================================================ +window controls: +win+w/a/s/d - move window left/right/top/bottom +win+q/e/z/c - move window to corner +win+shift+w/a/s/d/q/e/z/c - move to window in direction + +win+shift+r - resize window +win+shift+x - move window +win+ctrl+q - close window + +alt+left click - move window +alt+right click - move/resize window + +win+x - maximize window +win+ctrl+t - tile windows +win+ctrl+r - untile windows +win+1 - toggle tile mode +win+2/3 - resize tile master/slave + +win+1 - make current window tiled master +win+2/3 - resize tile master/slave + +win+shift+1 - toggle tile mode +win+ctrl+2/3 - change tiled master window count +win+shift+2/3 - change tiled slave window count +win+alt+w/s - move tiled window to prev/next position +win+alt+a/d - move tiled window to prev/next screen + +launchers: +win - xfce4-popup-whiskermenu +win+r - xfce4-appfinder +win+t - xfce4-terminal +win+ctrl+s - screenshot (scrot + xclip) +win+ctrl+e - ocr +" diff --git a/rc-templ.xml b/rc-templ.xml new file mode 100644 index 0000000..7dacf63 --- /dev/null +++ b/rc-templ.xml @@ -0,0 +1,815 @@ + + + + + 75 + 30 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Mouse + + 1 + +
+ + Lean + NLIMC + + yes + yes + + + + + 2 + 1 + + + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + 1 + + + + + 2 + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + 0 + 0 + 100% + 50% + + + + + + 0 + 0 + 50% + 50% + + + + + + 50% + 0 + 50% + 50% + + + + + + 0 + 50% + 100% + 50% + + + + + + 0 + 0 + 50% + 100% + + + + + + 50% + 0 + 50% + 100% + + + + + + 0 + 50% + 50% + 50% + + + + + + 50% + 50% + 50% + 50% + + + + + west + yes + yes + + + + + east + yes + yes + + + + + south + yes + yes + + + + + north + yes + yes + + + + + northwest + yes + yes + + + + + northeast + yes + yes + + + + + southeast + yes + yes + + + + + southwest + yes + yes + + + + + + + + + + + + + xfce4-terminal + + + + + scrot -s -e 'xclip -selection clipboard -t image/png -i $f && rm $f' + + + + + desktop-audio-record + + + + + ocr + + + + + xfce4-appfinder -c + + + + + hotkey-legend + + + + + + + + xfce4-popup-whiskermenu + + + + + 10 + + 500 + + 1000 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + +
-- cgit v1.2.3