2 次代码提交 3b7d5a11ef ... ccaad34eeb

作者 SHA1 备注 提交日期
  Digit ccaad34eeb wmrotate xinitrc update initial 5 月之前
  Digit 56706bc738 samefish 5 月之前
共有 4 个文件被更改,包括 194 次插入7 次删除
  1. 43 7
      .fish
  2. 77 0
      bin/wmrotate-overkill
  3. 11 0
      bin/wmrotate2024
  4. 63 0
      xinitrc

+ 43 - 7
.fish

@@ -55,9 +55,21 @@ function brlwhiches
     for i in (brl list | egrep -v bedrock); strat -r $i brl which $argv; end
 end
 
-alias brlw brlwhiches 
-alias brlo brlwhiches # for the phonetic lols
+function brll
+    brl list
+end
+
+function brlw
+    brl which $argv
+end
+
+alias brlws brlwhiches
 
+function brlo
+    brl which # for the phonetic lols
+end
+
+alias brlos brlwhiches # for the phonetic lols
 function whohas
     brlwhiches $argv ; pmms $argv
 end
@@ -319,7 +331,7 @@ end
 #i'm just gonna set the whole thing straight, static, right here.   no $PATH in PATH. ~! wtf man this is no right on devuan... why u confuse me with this bedrock in my path.   
 ##set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /bedrock/cross/bin /home/digit/bin /usr/games/bin /usr/games
 ### why was that^ getting set idk.  dont edit configs when sleepy with crazy ideas to test.  brl when, not b4
-set -gx PATH /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games
+#set -gx PATH /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games
 #lets hope my meddling with dmenu-bind.sh up next doesnt mess things up.  ... hrm, yup, dmenu_run, 
 #######################################################################################
 
@@ -328,7 +340,7 @@ set -gx PATH /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbi
 #######################################################################################
 #i'm just gonna set the whole thing straight, static, right here.   
 #set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /bedrock/cross/bin
-set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /bedrock/cross/bin
+#set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /bedrock/cross/bin
 #/usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games 
 #lets hope my meddling with dmenu-bind.sh up next doesnt mess things up.  ... hrm, yup, dmenu_run, 
 #######################################################################################
@@ -366,7 +378,7 @@ set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin
 #^ which is just them all botched together.   no.   uhh... 
 
 #ok, so, try this one... 
-set -gx PATH /home/digit/.nix-profile/bin /nix/var/nix/profiles/default/bin /home/digit/bin /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /usr/lib/llvm/14/bin:/bedrock/cross/bin /bedrock/cross/bin 
+#set -gx PATH /home/digit/.nix-profile/bin /nix/var/nix/profiles/default/bin /home/digit/bin /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /usr/lib/llvm/14/bin:/bedrock/cross/bin /bedrock/cross/bin 
 
 #/bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin /bin /sbin /usr/local/games /usr/games /opt/bin /usr/lib/llvm/14/bin:/bedrock/cross/bin
 
@@ -400,7 +412,16 @@ set -gx PATH /home/digit/.nix-profile/bin /nix/var/nix/profiles/default/bin /hom
 
 #so, yet another static path fix attemp, upon seeing fish couldnt see pmm when ran from my alias, wat.
 #
-set -gx PATH /home/digit/bin:/bedrock/cross/pin/bin:/bedrock/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:/opt/bin:/usr/lib/llvm/14/bin:/bedrock/cross/bin
+#set -gx PATH /home/digit/bin:/bedrock/cross/pin/bin:/bedrock/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:/opt/bin:/usr/lib/llvm/14/bin:/bedrock/cross/bin
+#20240601 attempt... using what running, + xscreensaver dir.
+#set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games  /usr/libexec/xscreensaver /bedrock/cross/bin
+#ok, but making it use the specific stratum, apparently necessary, i'm guessing, since^ didnt seem to work, somehow.
+#set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /usr/libexec/xscreensaver /bedrock/cross/bin
+#or was it just the space.... test that first...  before
+# nope.  try this then
+set -gx PATH /bedrock/cross/pin/bin /bedrock/bin /usr/local/bin /usr/local/sbin /opt/bin /opt/sbin /usr/bin /usr/sbin /bin /sbin /snap/bin /home/digit/bin /usr/games/bin /usr/games /bedrock/strata/devuan/usr/libexec/xscreensaver /bedrock/cross/bin
+#lol, yeah, make sure not typo it as stratum instead of strata.  lol.
+#######################################################################################
 
 function realc
     string repeat -n (math "$LINES - 2") \n #bind to ctrl+shift+l
@@ -439,7 +460,7 @@ end
 
 
 #current way in 2024 i get an old htop fork with the stratum collumn to show and not choke on a library fail nor chew up too much ram over time.
-function retopper ; sleep 3 ; timeout 20m strat decibel htop ; sleep 5 ; retopper ; end
+function retopper ; sleep 2 ; timeout 42m strat decibel htop ; sleep 2 ; retopper ; end
 
 #to get that error to stfu... 
 #export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0
@@ -2109,6 +2130,16 @@ end
 #^^^######### ^ the hof section ^ #########^^^#
 ###############################################
 
+###############################################
+#^^^######### ^ workout section ^ #########^^^#
+function shoulders
+    #    mpv --fullscreen --panscan=1.00 --start=07:00 --ab-loop-a=07:00 --ab-loop-b=11:19 ~/cinema/_healing/workout/shoulders.mp4
+    mpv --fullscreen --panscan=1.00 --start=0:50 --ab-loop-a=00:50 --ab-loop-b=16:10 ~/cinema/_healing/workout/shoulders.mp4    
+end
+
+#^^^######### ^ workout section ^ #########^^^#
+###############################################
+
 ##############  asmr  ##############
 function asmr
     mpv --shuffle "/home/digit/cinema/_asmr/"
@@ -2238,6 +2269,8 @@ alias mp17       "mpv --ytdl-format=17"
 #tazys format choice
 alias mptazy       "mpv --ytdl-format=18"
 alias mp18     "mpv --ytdl-format=18"
+alias mp92     "mpv --ytdl-format=92"
+alias mp93     "mpv --ytdl-format=93"
 #alias mp18 "strat -r aurtix mpv --ytdl-format=18 $1"
 function mp18f #while needing specify which stratum
 ##    strat -r aurtix mpv --ytdl-format=18
@@ -2261,6 +2294,9 @@ alias mprumble480p "mpv --ytdl-format=mp4-480p"
 #master builder
 alias mp22     "mpv --ytdl-format=22"
 
+#odysee
+alias mpvo "mpv --ytdl-format=hls-655"
+
 #youtube watch things about...
 #tazy format
 function mps18

+ 77 - 0
bin/wmrotate-overkill

@@ -0,0 +1,77 @@
+#!/bin/bash
+# dev idea:  move this while loop to another file, so that it can be changed on the fly?   ... or even just include such a separate script in here ... call it "sepwm", or, "wmriwmr" (window manager rotate in window manager rotate), or watever, and then when this wmrotate xinitialised gets to that wm in its while true list, it'll be able to be loaded as whatever had changed in that file since the first were loaded... may be able to have just while true ; do ; wmriwmr ; wmriwmr ; done.  :)
+# https://bbs.archlinux.org/viewtopic.php?pid=320776#p320776 & exec wmrotate in xinit or however launching
+while true
+do
+# gonna try with openbox between each. for a little while.  while openbox crashy.
+dwm
+digitbox # did that ever be a thing?
+#bongswm # my idea.  like herbstluftwm, but in fish!  ;D
+#icewm
+openbox
+qtile
+openbox
+herbstluftwm
+openbox
+i3
+openbox
+xmonad
+openbox
+###exwm
+clfswm
+trinity # this is called something else tho right?  like trinity-kwin or trinity-kdesktop right?  ... where, (not(!!!) in my path, are all/any trinity executables ...??
+openbox
+#mate
+#lxde
+#lxqt
+#bspwm
+spectrwm
+
+##there's
+#startplasma-x11
+#startxfce4
+##so is there also
+#starttrinity
+## simple as that?
+
+#######################################################
+#### others i wanna try (again, or for first time) ####
+fluxbox
+cde
+nscde ## if you want unix nostalgia.  :)  lol, uses qt6
+fvwm
+qtile
+pekwm
+## dynamic tiling window managers in aur
+frankenwm 
+i3-wm
+## old fave again
+#spectrwm
+dk ##dk 1.9-1 (+1 0.00)     A tiling window manager in the vein of dwm, bspwm, and xmonad.
+matwm2 ## iunno
+wmfs ## says highly configurable...
+notion3 ##... :3  not ion 3.  nice name, ion3 fork.
+
+######## wumwum  ... can tile any other emwh compliant window manager into a tiling window manager retaining functionality...  ?  :O
+wumwum  ## ... wait, what...?  :O  wumwum 0.9-11.2 (+9 0.00)     The Window Manager manager. It can turn emwh compliant window managers into a tiling window manager while retaining all initial functionalities.
+
+hikari ## floating with tiling features, inspired by cwm
+
+#####################
+### 2024 installed wm (incomplete list...)
+cwm
+fluxbox
+herbstluftwm
+i3
+icewm
+jwm
+openbox
+ouroborous
+pekwm
+qtile
+#selectwm
+spectrwm
+twm
+windowlab
+windowmaker
+done

+ 11 - 0
bin/wmrotate2024

@@ -0,0 +1,11 @@
+#!/bin/sh
+# as seen on https://bbs.archlinux.org/viewtopic.php?pid=320776#p320776 
+while true
+do
+dk
+openbox
+icewm
+xmonad
+herbstluftwm
+xfce4-session
+done

+ 63 - 0
xinitrc

@@ -0,0 +1,63 @@
+#!/bin/sh
+#/etc/X11/xinit/xinitrc
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/Xresources
+sysmodmap=/etc/X11/xinit/Xmodmap
+
+# merge in defaults and keymaps
+## & mibi wana add xsetkbmap stuff?
+
+if [ -f $sysresources ]; then
+    xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+    xmodmap $sysmodmap
+fi
+
+if [ -f "$userresources" ]; then
+    xrdb -merge "$userresources"
+fi
+
+if [ -f "$usermodmap" ]; then
+    xmodmap "$usermodmap"
+fi
+
+# ... hrm, need this?  
+if [ -n "`/etc/X11/chooser.sh`" ]; then
+ command="`/etc/X11/chooser.sh`"
+else
+ failsafe="yes"
+fi
+
+# and this?  ...  iunno wat it do.
+if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+ for f in /etc/X11/xinit/xinitrc.d/?* ; do
+  [ -x "$f" ] && . "$f"
+ done
+ unset f
+fi
+
+# and ... c'mon, do i rly want a twm default to fall back on?
+if [ -n "$failsafe" ]; then
+ twm &
+ xclock -geometry 50x50-1+1 &
+ xterm -geometry 80x50+494+51 &
+ xterm -geometry 80x20+494-0 &
+ exec xterm -geometry 80x66+0+0 -name login
+else
+ exec $command
+fi
+
+#stuff from https://bbs.archlinux.org/viewtopic.php?pid=320776#p320776
+
+#set PATH here as gdm does not pass it in .bashrc (needed for dmenu)
+export PATH=$PATH:/home/digit/bin
+#with wmrotate in ^, start it.
+wmrotate & wmpid=$!
+#launch things
+#tint2 &
+#close x when wmrotate comes down
+wait $wmpid