diff options
| author | navewindre <boneyaard@gmail.com> | 2024-11-15 10:13:19 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2024-11-15 10:13:19 +0100 |
| commit | 3e5011cc5eb8331206bd15977c3c5b7cb37fb28f (patch) | |
| tree | 7d26ca5707a413a96f58c4d26bfbf845e273c27f | |
| parent | 089488fca436b7df44b33784cdb0343b01fc67ff (diff) | |
asdf
| -rw-r--r-- | config/openbox/autostart | 12 | ||||
| -rw-r--r-- | config/openbox/rc-templ.xml | 7 | ||||
| -rwxr-xr-x | config/openbox/run-ollama | 3 | ||||
| -rwxr-xr-x | config/openbox/scr | 2 | ||||
| -rw-r--r-- | config/openbox/small-templ.xml | 12 | ||||
| -rwxr-xr-x | config/openbox/wireplumber | 1 | ||||
| -rwxr-xr-x | ocr | 7 | ||||
| -rwxr-xr-x | xinitrc | 15 | ||||
| -rw-r--r-- | xmodmap | 13 |
9 files changed, 65 insertions, 7 deletions
diff --git a/config/openbox/autostart b/config/openbox/autostart index c7f63b7..90d7b27 100644 --- a/config/openbox/autostart +++ b/config/openbox/autostart @@ -1,15 +1,27 @@ CONFDIR=$HOME/.config/openbox $CONFDIR/run-autorun +pkill -9 -f gnome-keyring-daemon gnome-keyring-daemon --start & +pkill -9 -f polkit-gnome-authentication-agent-1 +/usr/libexec/polkit-gnome-authentication-agent-1 & +pkill -9 -f xfce4-panel xfce4-panel & +pkill -9 -f xfce4-power-manager xfce4-power-manager & +pkill -9 -f xfce4-clipman xfce4-clipman & +pkill -9 -f xcape xcape -e 'Super_L=Control_L|Shift_L|Alt_L|Super_L|D' & +pkill -9 -f xfce4-notifyd /usr/lib64/xfce4/notifyd/xfce4-notifyd & +pkill -9 -f spacefm spacefm --desktop & xscreensaver -no-splash & +pkill -9 -f nm-applet nm-applet & +pkill -9 -f cortile-x86 +pkill -9 -f cortile-arm64 $CONFDIR/run-cortile & $CONFDIR/ibus-wait & diff --git a/config/openbox/rc-templ.xml b/config/openbox/rc-templ.xml index abfb4ee..85b0c92 100644 --- a/config/openbox/rc-templ.xml +++ b/config/openbox/rc-templ.xml @@ -327,7 +327,12 @@ </keybind> <keybind key="W-C-s"> <action name="Execute"> - <command>xfce4-screenshooter -r</command> + <command>scrot -s -e 'xclip -selection clipboard -t image/png -i $f'</command> + </action> + </keybind> + <keybind key="W-C-e"> + <action name="Execute"> + <command>ocr</command> </action> </keybind> <keybind key="W-r"> diff --git a/config/openbox/run-ollama b/config/openbox/run-ollama new file mode 100755 index 0000000..55237a7 --- /dev/null +++ b/config/openbox/run-ollama @@ -0,0 +1,3 @@ +#!/bin/bash + +ollama serve diff --git a/config/openbox/scr b/config/openbox/scr new file mode 100755 index 0000000..a8186ba --- /dev/null +++ b/config/openbox/scr @@ -0,0 +1,2 @@ +#!/bin/bash +scrot -s -e 'xclip -selection clipboard -t image/png -i $f' diff --git a/config/openbox/small-templ.xml b/config/openbox/small-templ.xml index d01da89..18ffa9f 100644 --- a/config/openbox/small-templ.xml +++ b/config/openbox/small-templ.xml @@ -1,6 +1,6 @@ <font place="ActiveWindow"> <name>Px437 DOS/V re. JPN16</name> - <size>12</size> + <size>13</size> <!-- font size in points --> <weight>Normal</weight> <!-- 'bold' or 'normal' --> @@ -9,7 +9,7 @@ </font> <font place="InactiveWindow"> <name>Px437 DOS/V re. JPN16</name> - <size>12</size> + <size>13</size> <!-- font size in points --> <weight>Normal</weight> <!-- 'bold' or 'normal' --> @@ -18,7 +18,7 @@ </font> <font place="MenuHeader"> <name>Px437 DOS/V re. JPN12</name> - <size>9</size> + <size>10</size> <!-- font size in points --> <weight>Normal</weight> <!-- 'bold' or 'normal' --> @@ -27,7 +27,7 @@ </font> <font place="MenuItem"> <name>Px437 DOS/V re. JPN12</name> - <size>9</size> + <size>10</size> <!-- font size in points --> <weight>Normal</weight> <!-- 'bold' or 'normal' --> @@ -36,7 +36,7 @@ </font> <font place="ActiveOnScreenDisplay"> <name>Px437 DOS/V re. JPN12</name> - <size>9</size> + <size>10</size> <!-- font size in points --> <weight>Bold</weight> <!-- 'bold' or 'normal' --> @@ -45,7 +45,7 @@ </font> <font place="InactiveOnScreenDisplay"> <name>Px437 DOS/V re. JPN12</name> - <size>9</size> + <size>10</size> <!-- font size in points --> <weight>Bold</weight> <!-- 'bold' or 'normal' --> diff --git a/config/openbox/wireplumber b/config/openbox/wireplumber new file mode 100755 index 0000000..480df7a --- /dev/null +++ b/config/openbox/wireplumber @@ -0,0 +1 @@ +daemon wireplumber @@ -0,0 +1,7 @@ +#!/bin/bash +READ=$(scrot -s 'temp_%Y%m%d_%H%M%S.png' -e 'tesseract $f stdout -l jpn && rm $f') + +if [[ ! -z $READ ]]; then + echo $READ | xclip -selection clipboard +fi + @@ -0,0 +1,15 @@ +#!/bin/sh + +# /etc/X11/xinit/xinitrc +# +# global xinitrc file, used by all X sessions started by xinit (startx) + +# invoke global X session script +# +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS='@im=ibus' +xrandr --output DP-0 --mode 1920x1080 --rate 165 +xrandr --output DP-0 --mode 1280x1024 --rate 75 +[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap +. /etc/X11/Xsession @@ -0,0 +1,13 @@ +remove Lock = Caps_Lock +keysym Caps_Lock = Escape + +clear Mod1 +clear Mod4 + +keycode 133 = Alt_L +keycode 134 = Alt_R +keycode 64 = Super_L +keycode 108 = Super_R + +add Mod1 = Alt_L Alt_R +add Mod4 = Super_L Super_R |
