Compare commits
No commits in common. "7a5220d5d82f88c8500307bda2fc754e5a446c2b" and "a261bccd0a5fd6408e222900efd7e8324d94cbfc" have entirely different histories.
7a5220d5d8
...
a261bccd0a
|
@ -23,8 +23,6 @@
|
||||||
isync
|
isync
|
||||||
khal
|
khal
|
||||||
todoman
|
todoman
|
||||||
lisgd
|
|
||||||
vscodium
|
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
, curl
|
, curl
|
||||||
, ytfzf
|
, ytfzf
|
||||||
, xrandr
|
, xrandr
|
||||||
, svkbd
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
src = ./utils;
|
src = ./utils;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkg-config libxcb ];
|
nativeBuildInputs = [ makeWrapper pkg-config libxcb ];
|
||||||
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle svkbd ];
|
buildInputs = [ libxcb bash feh xrandr jq curl fzy ytfzf ffmpeg sshuttle ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
ls
|
ls
|
||||||
|
@ -39,7 +38,7 @@ stdenv.mkDerivation rec {
|
||||||
for i in $(ls $src/sh); do
|
for i in $(ls $src/sh); do
|
||||||
cp $src/sh/$i $out/bin
|
cp $src/sh/$i $out/bin
|
||||||
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
ln -sf $out/bin/tmenu_run $out/bin/regenerate
|
||||||
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle svkbd ]}
|
wrapProgram $out/bin/$i --prefix PATH : ${lib.makeBinPath [ sxhkd bash feh xrandr jq figlet curl fzy ytfzf ffmpeg sshuttle ]}
|
||||||
done
|
done
|
||||||
|
|
||||||
cp c/status/main $out/bin/statusbar
|
cp c/status/main $out/bin/statusbar
|
||||||
|
|
|
@ -17,7 +17,6 @@ keyboard () {
|
||||||
pkill xcape
|
pkill xcape
|
||||||
xcape -e 'Super_L=Escape'
|
xcape -e 'Super_L=Escape'
|
||||||
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
|
||||||
xset -r 161 # tablet rotate key doesn't need repeat
|
|
||||||
xset r rate 200 40
|
xset r rate 200 40
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
svkbd-mobile-intl &
|
|
||||||
choice=$(ls ~/doc/music/works | tmenu)
|
|
||||||
kill %1
|
|
||||||
if [ -n "$choice" ]; then
|
|
||||||
find "$HOME/doc/music/works/$choice/" -type f | sxiv -i
|
|
||||||
fi
|
|
|
@ -1,46 +0,0 @@
|
||||||
svkbd-mobile-intl &
|
|
||||||
|
|
||||||
choice=$(
|
|
||||||
printf "
|
|
||||||
vert-mode
|
|
||||||
hori-mode
|
|
||||||
keyb
|
|
||||||
nokeyb
|
|
||||||
musexplore
|
|
||||||
brave
|
|
||||||
chromium
|
|
||||||
close-wind
|
|
||||||
" | tmenu
|
|
||||||
)
|
|
||||||
|
|
||||||
pkill svkbd
|
|
||||||
|
|
||||||
case "$choice" in
|
|
||||||
"vert-mode")
|
|
||||||
xrandr --output LVDS-1 --rotate left
|
|
||||||
xinput set-prop "Wacom ISDv4 E6 Finger" 178 0 -1 1 1 0 0 0 0 1
|
|
||||||
sleep 4
|
|
||||||
;;
|
|
||||||
"hori-mode")
|
|
||||||
xrandr --output LVDS-1 --rotate normal
|
|
||||||
xinput set-prop "Wacom ISDv4 E6 Finger" 178 1 0 0 0 1 0 0 0 1
|
|
||||||
;;
|
|
||||||
"nokeyb")
|
|
||||||
pkill svkbd
|
|
||||||
;;
|
|
||||||
"keyb")
|
|
||||||
svkbd-mobile-intl & disown
|
|
||||||
;;
|
|
||||||
"musexplore")
|
|
||||||
musexplore
|
|
||||||
;;
|
|
||||||
"brave")
|
|
||||||
brave
|
|
||||||
;;
|
|
||||||
"chromium")
|
|
||||||
chromium
|
|
||||||
;;
|
|
||||||
"close-wind")
|
|
||||||
bspc node -c
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -46,6 +46,3 @@ super + {_,shift + } {1-9,0}
|
||||||
# change a node to tiling, floating, or fullscreen
|
# change a node to tiling, floating, or fullscreen
|
||||||
super + {t,f,s}
|
super + {t,f,s}
|
||||||
bspc node -t {tiled,floating,fullscreen}
|
bspc node -t {tiled,floating,fullscreen}
|
||||||
|
|
||||||
XF86RotateWindows
|
|
||||||
tabletmenu
|
|
||||||
|
|
Loading…
Reference in New Issue