From 3432ef48077a2155a4929ef82715e1947ad907ff Mon Sep 17 00:00:00 2001 From: Derek Stevens Date: Tue, 7 Mar 2023 22:41:05 -0700 Subject: [PATCH] update kshrc, openbox config, tint2rc, launchers --- kshrc | 57 ++-- launchers/acme.desktop | 20 ++ launchers/mimeapps.list | 317 ++++++++++++++++++ launchers/mimeinfo.cache | 18 ++ launchers/mixxx.desktop | 20 ++ launchers/st.desktop | 12 + launchers/uxn.desktop | 20 ++ openbox/autostart | 55 +++- openbox/menu.xml | 25 +- openbox/rc.xml | 682 +++++++++++++++++++++++++++++++++++++-- tint2rc | 45 ++- 11 files changed, 1175 insertions(+), 96 deletions(-) create mode 100644 launchers/acme.desktop create mode 100644 launchers/mimeapps.list create mode 100644 launchers/mimeinfo.cache create mode 100644 launchers/mixxx.desktop create mode 100644 launchers/st.desktop create mode 100644 launchers/uxn.desktop diff --git a/kshrc b/kshrc index b3d0ebd..e7a551a 100644 --- a/kshrc +++ b/kshrc @@ -101,20 +101,6 @@ mondev(){ esac } -siroonian() -{ - case $1 in - connect) - sudo openfortivpn;; - auth) - kinit dstevens;; - desktop) - xfreerdp /u:siroonian\\dstevens +bitmap-cache -grab-keyboard -wallpaper /audio-mode:local /dynamic-resolution +clipboard /v:devworkstation3.siroonian.local;; - *) - echo "usage: siroonian [connect | auth | desktop]";; - esac -} - waitfor() { while pgrep $1; do @@ -122,13 +108,6 @@ waitfor() done } -mergeandtest() -{ - git checkout $1 - git checkout -b $1_$2_test - git merge $2 -} - 9man() { if [ "${TERM}" != "dumb" ]; then @@ -158,11 +137,16 @@ today(){ mode(){ hasPanel=0 + hasTile=0 if [ ! -z "$1" ]; then if pgrep tint2; then hasPanel=1 killall tint2 fi + if pgrep zentile; then + hasTile=1 + killall zentile + fi case $1 in desktop) ~/src/zenUtils/extdisplay.sh solo @@ -184,6 +168,9 @@ mode(){ if [ ${hasPanel} -eq 1 ]; then tint2 & fi + if [ ${hasTile} -eq 1 ]; then + zentile & + fi fi } @@ -224,22 +211,39 @@ dreadlock() { $cmd "$@" | nobs } +felt() { + if [ ! -e ./felt ]; then + echo "i give to you; my felt" + return + fi + case $1 in + test) + ./felt 127.0.0.1:8888 mongodb://felt_api:dimensional_core_filings@127.0.0.1:27017/felt + ;; + *) + echo "did you mean 'felt test'?" + esac +} + export WINIT_X11_SCALE_FACTOR=1 export LC_ALL=en_US.UTF-8 export GPG_TTY=$(tty) export VISUAL=micro export EDITOR=micro -export BROWSER=qutebrowser +export BROWSER=netsurf export GTK_THEME=steppenwolf-dark export MICRO_TRUECOLOR=1 export GOPATH=~/src/go -export GOPROXY=on export ZEIT_DB=~/.zeit/db export DOTNET_ROOT=${HOME}/bin/dotnet export SIGNID=90587A740FA4FFA0971575383B7FBC22144E6398 export ENCRID=F5672E001CC962BE3B6C8887C65B677280C66DE5 export MBOX_ROOT=/home/nilix/lib/mail/zoho +export LIGHTCRYSTAL_SITE_DIR=/home/nilix/src/lightcrystal.systems/site +export LIGHTCRYSTAL_STATIC_DIR=/home/nilix/src/lightcrystal.systems/static +export DENO_INSTALL="/home/nilix/.deno" +export PODLIST_DATA_DIR="/home/nilix/lib/podcasts" if [ "$TERM" = "dumb" ]; then PS1='$(indicator) ' export PINENTRY_USER_DATA=tty @@ -250,6 +254,7 @@ if [ "$TERM" = "dumb" ]; then else PS1='\033]0;$(whoami)@$(hostname): ${PWD}\007[ $(hostname): ${PWD} ]\n$(indicator) ' export PINENTRY_USER_DATA=curses + # export MBLAZE_PAGER=more fi bind -m '^L'='^C'clear'^J' @@ -280,10 +285,12 @@ if [ "$winid" ]; then alias cd=_cd fi +PATH=${HOME}/bin/crystal/bin:${PATH} PATH=${HOME}/.local/bin:${PATH} PATH=${HOME}/.dotnet/tools:${PATH} PATH=${HOME}/src/go/bin:${PATH} - +PATH=${HOME}/lib/signal-cli-0.10.8/bin:${PATH} +PATH="$DENO_INSTALL/bin:$PATH" if [ -d ~/bin ]; then PATH=~/bin:${PATH} for x in ~/bin/*; do @@ -292,3 +299,5 @@ if [ -d ~/bin ]; then fi done fi + +export PATH diff --git a/launchers/acme.desktop b/launchers/acme.desktop new file mode 100644 index 0000000..881cdaa --- /dev/null +++ b/launchers/acme.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Comment[en_US]=Plan9 text editor and development environment +Comment=Plan9 text editor and development environment +Exec=/home/nilix/bin/a +GenericName[en_US]= +GenericName= +Icon=/home/nilix/lib/img/ux/spaceglenda100.png +MimeType= +Name[en_US]=Acme +Name=Acme +Path= +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-DBUS-ServiceName= +X-DBUS-StartupType= +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/launchers/mimeapps.list b/launchers/mimeapps.list new file mode 100644 index 0000000..c8b2228 --- /dev/null +++ b/launchers/mimeapps.list @@ -0,0 +1,317 @@ +[Default Applications] +=acme.desktop;nmtui.desktop;org.inkscape.Inkscape.desktop;tint2.desktop;exo-terminal-emulator.desktop;xfce-backdrop-settings.desktop;nm-connection-editor.desktop;plasma-windowed.desktop;mednaffe.desktop;lximage-qt-screenshot.desktop;mixxx.desktop;rox.desktop;org.kde.klipper.desktop;gimp.desktop;laptop-mode-tools.desktop;io.github.jliljebl.Flowblade.desktop;htop.desktop;paprefs.desktop;org.kde.partitionmanager.desktop;libreoffice-writer.desktop;exo-preferred-applications.desktop;xfce4-about.desktop;winetricks.desktop;pnmixer.desktop;gparted.desktop;libreoffice-draw.desktop;mpv.desktop;libreoffice-impress.desktop;hamster-time-tracker.desktop;compton.desktop;lximage-qt.desktop;thunar.desktop;picom.desktop;libreoffice-calc.desktop;org.qutebrowser.qutebrowser.desktop;exo-mail-reader.desktop;exo-file-manager.desktop;audacity.desktop;kvantummanager.desktop;libreoffice-startcenter.desktop;systemsettings.desktop;nitrogen.desktop;org.kde.kcalc.desktop;rxvt-unicode.desktop;exo-web-browser.desktop;libreoffice-base.desktop;qt5ct.desktop;thunderbird.desktop;libreoffice-math.desktop;thunar-bulk-rename.desktop;kdesystemsettings.desktop;vncviewer.desktop;lxappearance.desktop;cups.desktop;virtualbox.desktop;firefox.desktop;thunar-settings.desktop;0install.desktop +application/clarisworks=libreoffice-writer.desktop;libreoffice-draw.desktop;libreoffice-calc.desktop +application/csv=libreoffice-calc.desktop +application/excel=libreoffice-calc.desktop +application/illustrator=org.inkscape.Inkscape.desktop +application/macwriteii=libreoffice-writer.desktop +application/mathml+xml=libreoffice-math.desktop +application/msexcel=libreoffice-calc.desktop +application/mspowerpoint=libreoffice-impress.desktop +application/msword=libreoffice-writer.desktop +application/mxf=mpv.desktop +application/ogg=mpv.desktop;audacity.desktop +application/pcx=lximage-qt.desktop +application/pdf=org.inkscape.Inkscape.desktop;gimp.desktop;libreoffice-draw.desktop +application/postscript=org.inkscape.Inkscape.desktop;gimp.desktop +application/prs.plucker=libreoffice-writer.desktop +application/rdf+xml=org.qutebrowser.qutebrowser.desktop;firefox.desktop +application/rss+xml=firefox.desktop +application/rtf=libreoffice-writer.desktop +application/sdp=mpv.desktop +application/smil=mpv.desktop +application/streamingmedia=mpv.desktop +application/tab-separated-values=libreoffice-calc.desktop +application/visio=org.inkscape.Inkscape.desktop +application/visio.drawing=org.inkscape.Inkscape.desktop +application/vnd.apple.mpegurl=mpv.desktop +application/vnd.corel-draw=org.inkscape.Inkscape.desktop;libreoffice-draw.desktop +application/vnd.flowblade-project=io.github.jliljebl.Flowblade.desktop +application/vnd.lotus-1-2-3=libreoffice-calc.desktop +application/vnd.lotus-wordpro=libreoffice-writer.desktop +application/vnd.ms-asf=mpv.desktop +application/vnd.ms-excel=libreoffice-calc.desktop +application/vnd.ms-excel.sheet.binary.macroEnabled.12=libreoffice-calc.desktop +application/vnd.ms-excel.sheet.macroEnabled.12=libreoffice-calc.desktop +application/vnd.ms-excel.template.macroEnabled.12=libreoffice-calc.desktop +application/vnd.ms-powerpoint=libreoffice-impress.desktop +application/vnd.ms-powerpoint.presentation.macroEnabled.12=libreoffice-impress.desktop +application/vnd.ms-powerpoint.slideshow.macroEnabled.12=libreoffice-impress.desktop +application/vnd.ms-powerpoint.template.macroEnabled.12=libreoffice-impress.desktop +application/vnd.ms-publisher=libreoffice-draw.desktop +application/vnd.ms-word=libreoffice-writer.desktop +application/vnd.ms-word.document.macroEnabled.12=libreoffice-writer.desktop +application/vnd.ms-word.template.macroEnabled.12=libreoffice-writer.desktop +application/vnd.ms-works=libreoffice-writer.desktop;libreoffice-calc.desktop +application/vnd.oasis.opendocument.chart=libreoffice-calc.desktop +application/vnd.oasis.opendocument.chart-template=libreoffice-calc.desktop +application/vnd.oasis.opendocument.database=libreoffice-base.desktop +application/vnd.oasis.opendocument.formula=libreoffice-math.desktop +application/vnd.oasis.opendocument.formula-template=libreoffice-math.desktop +application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics-flat-xml=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop +application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation-flat-xml=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop +application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet-flat-xml=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop +application/vnd.oasis.opendocument.text=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-flat-xml=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-master-template=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop +application/vnd.openofficeorg.extension=libreoffice-startcenter.desktop +application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.slide=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.slideshow=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop +application/vnd.palm=libreoffice-writer.desktop +application/vnd.rn-realmedia=mpv.desktop +application/vnd.rn-realmedia-vbr=mpv.desktop +application/vnd.stardivision.writer-global=libreoffice-writer.desktop +application/vnd.sun.xml.base=libreoffice-base.desktop +application/vnd.sun.xml.calc=libreoffice-calc.desktop +application/vnd.sun.xml.calc.template=libreoffice-calc.desktop +application/vnd.sun.xml.draw=libreoffice-draw.desktop +application/vnd.sun.xml.draw.template=libreoffice-draw.desktop +application/vnd.sun.xml.impress=libreoffice-impress.desktop +application/vnd.sun.xml.impress.template=libreoffice-impress.desktop +application/vnd.sun.xml.math=libreoffice-math.desktop +application/vnd.sun.xml.writer=libreoffice-writer.desktop +application/vnd.sun.xml.writer.global=libreoffice-writer.desktop +application/vnd.sun.xml.writer.template=libreoffice-writer.desktop +application/vnd.visio=org.inkscape.Inkscape.desktop;libreoffice-draw.desktop +application/vnd.wordperfect=libreoffice-writer.desktop +application/vsd=org.inkscape.Inkscape.desktop +application/wordperfect=libreoffice-writer.desktop +application/x-123=libreoffice-calc.desktop +application/x-abiword=libreoffice-writer.desktop +application/x-aportisdoc=libreoffice-writer.desktop +application/x-audacity-project=audacity.desktop +application/x-cue=mpv.desktop +application/x-dbase=libreoffice-calc.desktop +application/x-dbf=libreoffice-calc.desktop +application/x-directory=qtfm.desktop +application/x-doc=libreoffice-writer.desktop +application/x-dos_ms_excel=libreoffice-calc.desktop +application/x-excel=libreoffice-calc.desktop +application/x-extension-m4a=mpv.desktop +application/x-extension-mp4=mpv.desktop +application/x-extension-txt=libreoffice-writer.desktop +application/x-fictionbook+xml=libreoffice-writer.desktop +application/x-hwp=libreoffice-writer.desktop +application/x-iwork-keynote-sffkey=libreoffice-impress.desktop +application/x-iwork-numbers-sffnumbers=libreoffice-calc.desktop +application/x-iwork-pages-sffpages=libreoffice-writer.desktop +application/x-matroska=mpv.desktop +application/x-mpegurl=mpv.desktop +application/x-ms-excel=libreoffice-calc.desktop +application/x-msexcel=libreoffice-calc.desktop +application/x-mswrite=libreoffice-writer.desktop +application/x-ogg=mpv.desktop +application/x-ogm=mpv.desktop +application/x-ogm-audio=mpv.desktop +application/x-ogm-video=mpv.desktop +application/x-pagemaker=libreoffice-draw.desktop +application/x-quattropro=libreoffice-calc.desktop +application/x-shorten=mpv.desktop +application/x-smil=mpv.desktop +application/x-sony-bbeb=libreoffice-writer.desktop +application/x-starcalc=libreoffice-calc.desktop +application/x-stardraw=libreoffice-draw.desktop +application/x-starwriter=libreoffice-writer.desktop +application/x-streamingmedia=mpv.desktop +application/x-t602=libreoffice-writer.desktop +application/x-tint2-theme=tint2conf.desktop +application/x-virtualbox-ova=virtualbox.desktop +application/x-virtualbox-ovf=virtualbox.desktop +application/x-virtualbox-vbox=virtualbox.desktop +application/x-virtualbox-vbox-extpack=virtualbox.desktop +application/x-visio=org.inkscape.Inkscape.desktop +application/x-vsd=org.inkscape.Inkscape.desktop +application/x-wpg=libreoffice-draw.desktop +application/x-xccx=org.inkscape.Inkscape.desktop +application/x-xcdt=org.inkscape.Inkscape.desktop +application/x-xcgm=org.inkscape.Inkscape.desktop +application/x-xcmx=org.inkscape.Inkscape.desktop +application/x-xpinstall=firefox.desktop +application/x-xsk1=org.inkscape.Inkscape.desktop +application/xhtml+xml=org.qutebrowser.qutebrowser.desktop;firefox.desktop +application/xml=org.qutebrowser.qutebrowser.desktop;firefox.desktop +audio/3gpp=mpv.desktop +audio/3gpp2=mpv.desktop +audio/AMR=mpv.desktop +audio/aac=mpv.desktop;audacity.desktop +audio/ac3=mpv.desktop;audacity.desktop +audio/aiff=mpv.desktop +audio/amr-wb=mpv.desktop +audio/basic=audacity.desktop +audio/dv=mpv.desktop +audio/eac3=mpv.desktop +audio/flac=mpv.desktop;audacity.desktop +audio/m3u=mpv.desktop +audio/m4a=mpv.desktop +audio/mp1=mpv.desktop +audio/mp2=mpv.desktop +audio/mp3=mpv.desktop +audio/mp4=mpv.desktop;audacity.desktop +audio/mpeg=mpv.desktop;audacity.desktop +audio/mpeg2=mpv.desktop +audio/mpeg3=mpv.desktop +audio/mpegurl=mpv.desktop +audio/mpg=mpv.desktop +audio/musepack=mpv.desktop +audio/ogg=mpv.desktop +audio/opus=mpv.desktop +audio/rn-mpeg=mpv.desktop +audio/scpls=mpv.desktop +audio/vnd.dolby.heaac.1=mpv.desktop +audio/vnd.dolby.heaac.2=mpv.desktop +audio/vnd.dts=mpv.desktop +audio/vnd.dts.hd=mpv.desktop +audio/vnd.rn-realaudio=mpv.desktop +audio/vorbis=mpv.desktop +audio/wav=mpv.desktop +audio/webm=mpv.desktop +audio/x-aac=mpv.desktop +audio/x-adpcm=mpv.desktop +audio/x-aiff=mpv.desktop;audacity.desktop +audio/x-ape=mpv.desktop +audio/x-flac=audacity.desktop +audio/x-m4a=mpv.desktop +audio/x-matroska=mpv.desktop +audio/x-mp1=mpv.desktop +audio/x-mp2=mpv.desktop +audio/x-mp3=mpv.desktop +audio/x-mpegurl=mpv.desktop +audio/x-mpg=mpv.desktop +audio/x-ms-asf=mpv.desktop +audio/x-ms-wma=mpv.desktop;audacity.desktop +audio/x-musepack=mpv.desktop +audio/x-pls=mpv.desktop +audio/x-pn-au=mpv.desktop +audio/x-pn-realaudio=mpv.desktop +audio/x-pn-wav=mpv.desktop +audio/x-pn-windows-pcm=mpv.desktop +audio/x-realaudio=mpv.desktop +audio/x-scpls=mpv.desktop +audio/x-shorten=mpv.desktop +audio/x-tta=mpv.desktop +audio/x-vorbis=mpv.desktop +audio/x-vorbis+ogg=mpv.desktop;audacity.desktop +audio/x-wav=mpv.desktop;audacity.desktop +audio/x-wavpack=mpv.desktop +image/bmp=gimp.desktop;lximage-qt.desktop;qView.desktop +image/cgm=org.inkscape.Inkscape.desktop +image/g3fax=gimp.desktop +image/gif=gimp.desktop;lximage-qt.desktop;qView.desktop;org.qutebrowser.qutebrowser.desktop;firefox.desktop +image/icns=qView.desktop +image/jp2=qView.desktop +image/jpeg=gimp.desktop;lximage-qt.desktop;qView.desktop;org.qutebrowser.qutebrowser.desktop;firefox.desktop +image/jpg=lximage-qt.desktop;qView.desktop +image/png=gimp.desktop;lximage-qt.desktop;qView.desktop;org.qutebrowser.qutebrowser.desktop;firefox.desktop +image/svg+xml=org.inkscape.Inkscape.desktop;gimp.desktop;lximage-qt.desktop;qView.desktop +image/svg+xml-compressed=org.inkscape.Inkscape.desktop +image/svg-xml=lximage-qt.desktop +image/tiff=gimp.desktop;lximage-qt.desktop;qView.desktop +image/vnd.wap.wbmp=qView.desktop +image/webp=qView.desktop +image/x-bmp=lximage-qt.desktop +image/x-compressed-xcf=gimp.desktop +image/x-emf=libreoffice-draw.desktop +image/x-eps=org.inkscape.Inkscape.desktop +image/x-exr=gimp.desktop +image/x-fits=gimp.desktop +image/x-freehand=libreoffice-draw.desktop +image/x-gimp-gbr=gimp.desktop +image/x-gimp-gih=gimp.desktop +image/x-gimp-pat=gimp.desktop +image/x-icon=gimp.desktop;qView.desktop +image/x-pcx=gimp.desktop;lximage-qt.desktop +image/x-portable-anymap=gimp.desktop +image/x-portable-bitmap=gimp.desktop;lximage-qt.desktop;qView.desktop +image/x-portable-graymap=gimp.desktop;qView.desktop +image/x-portable-greymap=lximage-qt.desktop +image/x-portable-pixmap=gimp.desktop;lximage-qt.desktop;qView.desktop +image/x-psd=gimp.desktop +image/x-psp=gimp.desktop +image/x-sgi=gimp.desktop +image/x-targa=lximage-qt.desktop +image/x-tga=gimp.desktop;lximage-qt.desktop +image/x-vsd=org.inkscape.Inkscape.desktop +image/x-webp=gimp.desktop +image/x-win-bitmap=qView.desktop +image/x-wmf=org.inkscape.Inkscape.desktop;gimp.desktop;libreoffice-draw.desktop +image/x-xbitmap=gimp.desktop;qView.desktop +image/x-xcdr=org.inkscape.Inkscape.desktop +image/x-xcf=gimp.desktop +image/x-xcursor=gimp.desktop +image/x-xpixmap=gimp.desktop;qView.desktop +image/x-xwindowdump=gimp.desktop +inode/directory=qtfm.desktop;thunar.desktop +message/rfc822=thunderbird.desktop +text/comma-separated-values=libreoffice-calc.desktop +text/csv=libreoffice-calc.desktop +text/html=org.qutebrowser.qutebrowser.desktop;firefox.desktop +text/mathml=libreoffice-math.desktop +text/plain=libreoffice-writer.desktop +text/rtf=libreoffice-writer.desktop +text/spreadsheet=libreoffice-calc.desktop +text/tab-separated-values=libreoffice-calc.desktop +text/x-comma-separated-values=libreoffice-calc.desktop +text/x-csv=libreoffice-calc.desktop +text/xml=org.qutebrowser.qutebrowser.desktop;firefox.desktop +video/3gp=mpv.desktop +video/3gpp=mpv.desktop +video/3gpp2=mpv.desktop +video/avi=mpv.desktop +video/divx=mpv.desktop +video/dv=mpv.desktop +video/fli=mpv.desktop +video/flv=mpv.desktop +video/mkv=mpv.desktop +video/mng=qView.desktop +video/mp2t=mpv.desktop +video/mp4=mpv.desktop +video/mp4v-es=mpv.desktop +video/mpeg=mpv.desktop;audacity.desktop +video/msvideo=mpv.desktop +video/ogg=mpv.desktop +video/quicktime=mpv.desktop +video/vnd.divx=mpv.desktop +video/vnd.mpegurl=mpv.desktop +video/vnd.rn-realvideo=mpv.desktop +video/webm=mpv.desktop;firefox.desktop +video/x-avi=mpv.desktop +video/x-flc=mpv.desktop +video/x-flic=mpv.desktop +video/x-flv=mpv.desktop +video/x-m4v=mpv.desktop +video/x-matroska=mpv.desktop +video/x-mng=qView.desktop +video/x-mpeg2=mpv.desktop +video/x-mpeg3=mpv.desktop +video/x-ms-afs=mpv.desktop +video/x-ms-asf=mpv.desktop +video/x-ms-wmv=mpv.desktop +video/x-ms-wmx=mpv.desktop +video/x-ms-wvxvideo=mpv.desktop +video/x-msvideo=mpv.desktop +video/x-ogm=mpv.desktop +video/x-ogm+ogg=mpv.desktop +video/x-theora=mpv.desktop +video/x-theora+ogg=mpv.desktop +x-scheme-handler/chrome=firefox.desktop +x-scheme-handler/ftp=firefox.desktop +x-scheme-handler/http=org.qutebrowser.qutebrowser.desktop;firefox.desktop +x-scheme-handler/https=org.qutebrowser.qutebrowser.desktop;firefox.desktop +x-scheme-handler/mailto=thunderbird.desktop +x-scheme-handler/qute=org.qutebrowser.qutebrowser.desktop +x-scheme-handler/vnd.libreoffice.cmis=libreoffice-startcenter.desktop diff --git a/launchers/mimeinfo.cache b/launchers/mimeinfo.cache new file mode 100644 index 0000000..4c58f57 --- /dev/null +++ b/launchers/mimeinfo.cache @@ -0,0 +1,18 @@ +[MIME Cache] +application/pdf=wine-extension-pdf.desktop; +application/rtf=wine-extension-rtf.desktop; +application/vnd.ms-htmlhelp=wine-extension-chm.desktop; +application/winhlp=wine-extension-hlp.desktop; +application/x-ips-patch=wine-extension-ips.desktop; +application/x-mswinurl=wine-extension-url.desktop; +application/x-mswrite=wine-extension-wri.desktop; +application/x-wine-extension-ini=wine-extension-ini.desktop; +application/x-wine-extension-msp=wine-extension-msp.desktop; +application/x-wine-extension-vbs=wine-extension-vbs.desktop; +application/xml=wine-extension-xml.desktop; +image/gif=wine-extension-gif.desktop; +image/jpeg=wine-extension-jfif.desktop;wine-extension-jpe.desktop; +image/png=wine-extension-png.desktop; +text/html=wine-extension-htm.desktop; +text/plain=userapp-micro-0QJ4V0.desktop;userapp-micro-HNRCW0.desktop;wine-extension-txt.desktop; +x-scheme-handler/mailto=muttwrapper.sh.desktop; diff --git a/launchers/mixxx.desktop b/launchers/mixxx.desktop new file mode 100644 index 0000000..8785c60 --- /dev/null +++ b/launchers/mixxx.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Comment[en_US]=Virtual DJ Software +Comment=Virtual DJ Software +Exec=mixxx +GenericName[en_US]=Virtual-Turntables +GenericName=Virtual-Turntables +Icon=mixxx +MimeType= +Name[en_US]=Mixxx +Name=Mixxx +Path= +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-DBUS-ServiceName= +X-DBUS-StartupType= +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/launchers/st.desktop b/launchers/st.desktop new file mode 100644 index 0000000..c6a3888 --- /dev/null +++ b/launchers/st.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Exec=st +TryExec=st +Icon=/home/nilix/lib/img/ux/st.png +Terminal=false +Categories=System;TerminalEmulator; + +Name=st +GenericName=Terminal +Comment=st is a simple terminal implementation for X +StartupWMClass=st-256color diff --git a/launchers/uxn.desktop b/launchers/uxn.desktop new file mode 100644 index 0000000..81d96b6 --- /dev/null +++ b/launchers/uxn.desktop @@ -0,0 +1,20 @@ +[Desktop Entry] +Comment[en_US]=Varvara Uxn emulator +Comment=Varvara Uxn emulator +Path=/home/nilix/lib/potato +Exec=/home/nilix/bin/uxnemu boot.rom +GenericName[en_US]=Uxn Virtual Machine +GenericName=Uxn Virtual Machine +Icon=/home/nilix/lib/img/ux/uxn64.png +MimeType= +Name[en_US]=Uxn +Name=Uxn +StartupNotify=true +Terminal=false +TerminalOptions= +Type=Application +Version=1.0 +X-DBUS-ServiceName= +X-DBUS-StartupType= +X-KDE-SubstituteUID=false +X-KDE-Username= diff --git a/openbox/autostart b/openbox/autostart index f168c3b..515b7b3 100755 --- a/openbox/autostart +++ b/openbox/autostart @@ -1,11 +1,50 @@ -env QT_QPA_PLATFORMTHEME=qt5ct -env GTK_THEME=steppenwolf-dark +# misc low level stuff xset -b -pulseaudio --start & -xcompmgr -n & -~/.fehbg & +sudo powertop --auto-tune & +redshift -x; redshift -O 6000K & +xbacklight -set 50 & -udiskie -T & -xosview -load +cpus +mem +battery +net +wireless -page -swap -disk & -wmclock & \ No newline at end of file +# mbsync wrapper + +if ! pgrep sirius.sh; then + ~/src/zenUtils/sirius.sh & +fi + +# pipewire is great. no more pulseaudio taking 100% cpu on relogin + +if ! pgrep pipewire; then + pipewire & sleep 0.3 + pipewire-pulse & + wireplumber & +fi + +# serve local copy of my website for testing + +darkhttpd /home/nilix/src/nilfm/www/ --port 9001 --daemon + +# handle monitor biz + +case $(~/src/zenUtils/extdisplay.sh status) in + "connected") + ~/src/zenUtils/extdisplay.sh solo;; + *) + :;; +esac + + +# real session stuff + +export XDG_SESSION_DESKTOP=openbox +export XDG_SESSION_TYPE=x11 +export GTK_THEME=steppenwolf-dark +export WINIT_X11_SCALE_FACTOR=1 + +udiskie & +plumber & +nitrogen --restore & +picom & # sleep 0.3 +xbindkeys -f ~/.xbindkeysrc & +tint2 & +plank & +cortile & diff --git a/openbox/menu.xml b/openbox/menu.xml index df76f2b..e265abb 100755 --- a/openbox/menu.xml +++ b/openbox/menu.xml @@ -27,34 +27,23 @@ + + - sxiv -t /home/nilix/lib/img/ + nitrogen - - - obmenu - - - - - obconf-qt - - - - - lxappearance - - - + + openbox --reconfigure; killall cortile ; cortile + - sudo oblogout + sudo /home/nilix/src/zenUtils/logout.sh -p diff --git a/openbox/rc.xml b/openbox/rc.xml index 5d05feb..11ee56d 100755 --- a/openbox/rc.xml +++ b/openbox/rc.xml @@ -1,17 +1,48 @@ -1020yesyesyesno200noSmartPrimary + no + + yes + + no + + 200 + + no + + + + Smart + + Active + 1 + 1 + 99 +
yes
+
+ + abyss + MSDLIC + yesyeslucidatypewriter2NormalNormallucidatypewriter2NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormallucidatypewriter9NormalNormal + yes + no + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + Literation Sans Nerd Font + 10 + + Normal + + Normal + + + + + 41WXYZ05875yesAlwaysCenter-180-12 + 6 + 1 + + @----- + -@---- + --@--- + ---@-- + ----@- + -----@ + + 0 + + + + yes + Never + + Center + + + + -180 + + -12 + + + + 0000BottomRight906806yesNormalVerticalno300300MiddleC-gleftnorightnoupnodownnoleftnorightnoupnodownno1234horizontalverticalclient-menunonoyesyesrightleftupdown + + 0 + 0 + 0 + 0 + + + Top + + 906 + 806 + no + Normal + + Horizontal + + no + 300 + + 300 + + Middle + + + + C-g + + + + left - -->slock/home/nilix/bin/myUtils/oblogout_wrapper.sh/home/nilix/bin/myUtils/steez.sh/home/nilix/bin/myUtils/qwopTiler.sh -v/home/nilix/bin/myUtils/qwopTiler.sh -h/home/nilix/bin/myUtils/qwopTiler.sh -l/home/nilix/bin/myUtils/qwopTiler.sh -j/home/nilix/bin/myUtils/qwopTiler.sh -k/home/nilix/bin/myUtils/qwopTiler.sh -q/home/nilix/bin/myUtils/qwopTiler.sh -w/home/nilix/bin/myUtils/qwopTiler.sh -o/home/nilix/bin/myUtils/qwopTiler.sh -popenbox --reconfigurekillall -s SIGUSR1 dzen21500400 + + + + yes + no + no + yes + no + no + + + + + + + + + + + + no + + + + + + + + + yes + yes + + + + + + + + + st + + + + + + 20% + 1% + 60% + 98% + + + + + + 1% + 1% + 485/1000 + 98% + + + + + + 505/1000 + 1% + 485/1000 + 98% + + + + + + 1% + 505/1000 + 98% + 485/1000 + + + + + + 1% + 1% + 98% + 485/1000 + + + + + + 1% + 1% + 485/1000 + 485/1000 + + + + + + 1% + 505/1000 + 485/1000 + 485/1000 + + + + + + 505/1000 + 505/1000 + 485/1000 + 485/1000 + + + + + + 505/1000 + 1% + 485/1000 + 485/1000 + + + + + + + + 1 + + 500 + + 400 + falsepreviousnextpreviousnextpreviousnextnoyesclient-menutopleftrightbottomclient-menuclient-menuclient-menuverticalhorizontalclient-list-combined-menuroot-menupreviousnextpreviousnextmenu.xml200no100 + false + + + + + + + + + + + + + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + + + + + + no + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + top + + + + + + + left + + + + + + + right + + + + + + + bottom + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + + + horizontal + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + previous + + + + + next + + + + + + + previous + + + + + next + + + + + previous + + + + + next + + + + + + + + menu.xml + 200 + + no + + 100 + 400 + 400 + yesyes + yes + + yes + + + yesyesallnobelow-4-26yesyesallnobelow-4-126allabovecentercenterallyesyesnono00s> +-->yesyesyesallnobelow-4-26yesyesallnobelow-4-126allabovecentercenterallyesyesnono00s>
diff --git a/tint2rc b/tint2rc index addb65e..c85380d 100644 --- a/tint2rc +++ b/tint2rc @@ -1,4 +1,4 @@ -#---- Generated by tint2conf daf6 ---- +#---- Generated by tint2conf 7d01 ---- # See https://gitlab.com/o9000/tint2/wikis/Configure for # full documentation of the configuration options. #------------------------------------- @@ -18,7 +18,7 @@ border_color_hover = #000000 30 background_color_pressed = #000000 60 border_color_pressed = #000000 30 -# Background 2: Default task, Iconified task +# Background 2: rounded = 0 border_width = 0 border_sides = TBLR @@ -31,17 +31,17 @@ border_color_hover = #eaeaea 44 background_color_pressed = #555555 4 border_color_pressed = #eaeaea 44 -# Background 3: Active task -rounded = 1 +# Background 3: Default task, Iconified task +rounded = 3 border_width = 1 border_sides = TBLR border_content_tint_weight = 0 background_content_tint_weight = 0 -background_color = #000000 85 -border_color = #1f9b92 100 -background_color_hover = #ffffff 10 +background_color = #000000 100 +border_color = #c9c9c9 100 +background_color_hover = #000000 100 border_color_hover = #1f9b92 100 -background_color_pressed = #555555 4 +background_color_pressed = #000000 100 border_color_pressed = #1f9b92 100 # Background 4: @@ -78,7 +78,7 @@ panel_margin = 0 0 panel_padding = 2 3 2 panel_background_id = 1 wm_menu = 1 -panel_dock = 1 +panel_dock = 0 panel_pivot_struts = 0 panel_position = top center horizontal panel_layer = top @@ -106,9 +106,9 @@ taskbar_padding = 0 0 2 taskbar_background_id = 0 taskbar_active_background_id = 0 taskbar_name = 1 -taskbar_hide_inactive_tasks = 0 +taskbar_hide_inactive_tasks = 1 taskbar_hide_different_monitor = 0 -taskbar_hide_different_desktop = 0 +taskbar_hide_different_desktop = 1 taskbar_always_show_all_desktop_tasks = 0 taskbar_name_padding = 8 2 taskbar_name_background_id = 0 @@ -126,7 +126,7 @@ task_text = 1 task_icon = 0 task_centered = 1 urgent_nb_of_blink = 100000 -task_maximum_size = 300 24 +task_maximum_size = 178 24 task_padding = 2 2 4 task_font = LiterationSans Nerd Font 9 task_tooltip = 1 @@ -135,13 +135,12 @@ task_thumbnail_size = 198 task_font_color = #c9c9c9 100 task_normal_font_color = #797979 100 task_active_font_color = #c9c9c9 100 -task_iconified_font_color = #797979 70 -task_background_id = 2 -task_active_background_id = 3 -task_iconified_background_id = 2 +task_iconified_font_color = #c9c9c9 100 +task_background_id = 3 +task_iconified_background_id = 3 mouse_left = toggle_iconify mouse_middle = close -mouse_right = none +mouse_right = maximize_restore mouse_scroll_up = none mouse_scroll_down = none @@ -216,9 +215,9 @@ execp_cache_icon = 0 execp_continuous = 0 execp_markup = 0 execp_monitor = all -execp_tooltip = leftclick: windowlist, rightclick: apps menu, scroll: switch desktops +execp_tooltip = left-click: app menu; right-click: system monitor; scroll: switch desktops execp_lclick_command = /home/nilix/bin/9/dmenu_exe -execp_rclick_command = alacritty -e htop +execp_rclick_command = st -e htop execp_mclick_command = execp_uwheel_command = /home/nilix/src/zenUtils/desks.sh -p execp_dwheel_command = /home/nilix/src/zenUtils/desks.sh -n @@ -240,10 +239,10 @@ execp_cache_icon = 0 execp_continuous = 0 execp_markup = 0 execp_monitor = all -execp_tooltip = leftclick: network config, rightclick: battery status -execp_lclick_command = /home/nilix/src/zenUtils/nmtuiWin.sh +execp_tooltip = left-click: network config; middle-click: audio mixer; right-click: battery status +execp_lclick_command = st -e nmtui execp_rclick_command = notify-send -u normal -c power battery [$(cat /sys/class/power_supply/BAT0/capacity)%] -execp_mclick_command = +execp_mclick_command = st -e alsamixer execp_uwheel_command = execp_dwheel_command = execp_font = SauceCodePro Nerd Font 9 @@ -264,7 +263,7 @@ execp_cache_icon = 0 execp_continuous = 0 execp_markup = 0 execp_monitor = all -execp_tooltip = leftclick: toggle time display +execp_tooltip = left-click: toggle time display execp_lclick_command = ~/src/zenUtils/dynacal.sh -t execp_rclick_command = execp_mclick_command =