Compare commits
No commits in common. "4d04b143493339c5d9d3a65ecf9e6fd77271a662" and "9ceb9dbd33f046d2dfb917751dd38b93054e497c" have entirely different histories.
4d04b14349
...
9ceb9dbd33
@ -36,9 +36,6 @@ riverctl map normal Super Minus spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|||||||
riverctl map normal Super+Shift Equal spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+'
|
riverctl map normal Super+Shift Equal spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%+'
|
||||||
riverctl map normal Super+Shift Minus spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-'
|
riverctl map normal Super+Shift Minus spawn 'wpctl set-volume @DEFAULT_AUDIO_SINK@ 15%-'
|
||||||
riverctl map normal Super+Shift m spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
riverctl map normal Super+Shift m spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
||||||
riverctl map normal Super P spawn 'mpc toggle'
|
|
||||||
riverctl map normal Super O spawn 'mpc next'
|
|
||||||
riverctl map normal Super I spawn 'mpc prev'
|
|
||||||
|
|
||||||
# Super+Q to close the focused view
|
# Super+Q to close the focused view
|
||||||
riverctl map normal Super Q close
|
riverctl map normal Super Q close
|
||||||
|
@ -35,10 +35,6 @@ export KODI_DATA="$XDG_DATA_HOME/kodi"
|
|||||||
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
|
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/password-store"
|
||||||
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
export TMUX_TMPDIR="$XDG_RUNTIME_DIR"
|
||||||
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME/android"
|
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME/android"
|
||||||
#export ANDROID_SDK_HOME="$HOME/android_sdk"
|
|
||||||
#export ANDROID_SDK="$HOME/android_sdk"
|
|
||||||
#export ANDROID_NDK="$HOME/android_sdk/ndk-bundle"
|
|
||||||
#export PATH="$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/cmdline_tools/bin"
|
|
||||||
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
export CARGO_HOME="$XDG_DATA_HOME/cargo"
|
||||||
export GOPATH="$XDG_DATA_HOME/go"
|
export GOPATH="$XDG_DATA_HOME/go"
|
||||||
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
export GOMODCACHE="$XDG_CACHE_HOME/go/mod"
|
||||||
|
@ -88,19 +88,13 @@ blur_radius 1
|
|||||||
#corner_radius 20
|
#corner_radius 20
|
||||||
shadows disable
|
shadows disable
|
||||||
|
|
||||||
#set $cl_high #333333
|
# 333333
|
||||||
#set $cl_indi #333333
|
set $cl_high #333333
|
||||||
#set $cl_back #222222
|
set $cl_indi #333333
|
||||||
|
set $cl_back #222222
|
||||||
#set $cl_high #000000
|
#set $cl_high #000000
|
||||||
#set $cl_indi #000000
|
#set $cl_indi #000000
|
||||||
#set $cl_back #999999
|
#set $cl_back #999999
|
||||||
|
|
||||||
# river colors
|
|
||||||
set $cl_high #93a1a1
|
|
||||||
set $cl_indi #586e75
|
|
||||||
set $cl_back #002b36
|
|
||||||
|
|
||||||
set $cl_fore #d9d8d8
|
set $cl_fore #d9d8d8
|
||||||
set $cl_urge #FF0000
|
set $cl_urge #FF0000
|
||||||
|
|
||||||
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
notify-send 'boom' 'boom.mp3'
|
|
||||||
mpg123 $HOME/resources/sounds/alerts/boom.mp3
|
|
@ -1,15 +1,8 @@
|
|||||||
#!/bin/zsh
|
#!/bin/zsh
|
||||||
if [[ -z "$1" ]] && [[ "$WINDOW_MANAGER" == "river" ]] ; then
|
if [[ -z "$1" ]]; then
|
||||||
swayidle -w \
|
swayidle -w \
|
||||||
timeout 310 'swaylock' \
|
timeout 310 'swaylock' \
|
||||||
timeout 300 'wlopm --off "*"' resume 'wlopm --on "*"' \
|
timeout 360 "wlopm --off '*'" resume "wlopm --on '*'" \
|
||||||
before-sleep "swaylock"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ -z "$1" ]] && [[ "$WINDOW_MANAGER" == "sway" ]] ; then
|
|
||||||
swayidle -w \
|
|
||||||
timeout 310 'swaylock' \
|
|
||||||
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
||||||
before-sleep "swaylock"
|
before-sleep "swaylock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# record video
|
|
||||||
dir=~/Videos/recordings
|
|
||||||
(cd $dir && wf-recorder -g "$(slurp)" --audio --file=$(date +%Y-%m-%d_%H-%m-%s).mp4)
|
|
||||||
xdg-open $dir
|
|
@ -1,6 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# record video
|
|
||||||
dir=~/Videos/recordings
|
|
||||||
(cd $dir && wf-recorder -g "$(slurp)" --file="$(date +%Y-%m-%d_%H-%m-%s).mp4")
|
|
||||||
xdg-open $dir
|
|
@ -13,8 +13,7 @@ esac
|
|||||||
case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥️ shutdown\n💤 sleep\n📺 display off\n set background\n start idle\n kill swayidle\n fcitx5\n kill fcitx5\n start emacs daemon\n kill emacs daemon\n restart emacs daemon\ntoggle sworkstyle" | wofi -L 17 --cache-file=/dev/null --show=dmenu -i -p 'action')" in
|
case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n🔃 reboot\n🖥️ shutdown\n💤 sleep\n📺 display off\n set background\n start idle\n kill swayidle\n fcitx5\n kill fcitx5\n start emacs daemon\n kill emacs daemon\n restart emacs daemon\ntoggle sworkstyle" | wofi -L 17 --cache-file=/dev/null --show=dmenu -i -p 'action')" in
|
||||||
'🔒 lock')
|
'🔒 lock')
|
||||||
setsid -f swaylock
|
setsid -f swaylock
|
||||||
if [ "$WINDOW_MANAGER" == "river" ]; then setsid -f sleep 2 && swayidle -w timeout 1 'wlopm --off "*"' resume 'wlopm --on "*" && kill $#' ; fi
|
setsid -f sleep 2 && swayidle -w timeout 1 'wlopm --off "*"' resume 'wlopm --on "*" && kill $#'
|
||||||
if [ "$WINDOW_MANAGER" == "sway" ]; then setsid -f sleep 2 && swayidle -w timeout 1 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" && kill $#' ; fi
|
|
||||||
;;
|
;;
|
||||||
"🚪 leave $WM")
|
"🚪 leave $WM")
|
||||||
if [ "$WINDOW_MANAGER" == "sway" ]; then swaymsg exit ; fi
|
if [ "$WINDOW_MANAGER" == "sway" ]; then swaymsg exit ; fi
|
||||||
@ -29,10 +28,7 @@ case "$(printf "🔒 lock\n🚪 leave $WM\n♻️ renew $WM\n🐻 hibernate\n
|
|||||||
'🔃 reboot') $ctl reboot -i ;;
|
'🔃 reboot') $ctl reboot -i ;;
|
||||||
'🖥️ shutdown') $ctl poweroff -i ;;
|
'🖥️ shutdown') $ctl poweroff -i ;;
|
||||||
#'📺 display off') swayidle -w timeout 1 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" && kill $#' ;;
|
#'📺 display off') swayidle -w timeout 1 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" && kill $#' ;;
|
||||||
'📺 display off')
|
'📺 display off') swayidle -w timeout 1 'wlopm --off "*"' resume 'wlopm --on "*" && kill $#' ;;
|
||||||
if [ "$WINDOW_MANAGER" == "river" ]; then setsid -f sleep 2 && swayidle -w timeout 1 'wlopm --off "*"' resume 'wlopm --on "*" && kill $#' ; fi
|
|
||||||
if [ "$WINDOW_MANAGER" == "sway" ]; then setsid -f sleep 2 && swayidle -w timeout 1 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" && kill $#' ; fi
|
|
||||||
;;
|
|
||||||
' set background') change-background ;;
|
' set background') change-background ;;
|
||||||
' start idle') killall swayidle && sleep 1; setsid -f idle && notify-send 'idle started.';;
|
' start idle') killall swayidle && sleep 1; setsid -f idle && notify-send 'idle started.';;
|
||||||
' kill swayidle') killall swayidle && notify-send 'idle killed.';;
|
' kill swayidle') killall swayidle && notify-send 'idle killed.';;
|
||||||
|
@ -77,7 +77,7 @@
|
|||||||
;;eshell ; the elisp shell that works everywhere
|
;;eshell ; the elisp shell that works everywhere
|
||||||
;;shell ; simple shell REPL for Emacs
|
;;shell ; simple shell REPL for Emacs
|
||||||
;;term ; basic terminal emulator for Emacs
|
;;term ; basic terminal emulator for Emacs
|
||||||
vterm ; the best terminal emulation in Emacs
|
;;vterm ; the best terminal emulation in Emacs
|
||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
syntax ; tasing you for every semicolon you forget
|
||||||
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
:os
|
:os
|
||||||
(:if IS-MAC macos) ; improve compatibility with macOS
|
(:if IS-MAC macos) ; improve compatibility with macOS
|
||||||
tty ; improve the terminal Emacs experience
|
;;tty ; improve the terminal Emacs experience
|
||||||
|
|
||||||
:lang
|
:lang
|
||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
@ -143,7 +143,6 @@
|
|||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
;;json ; At least it ain't XML
|
;;json ; At least it ain't XML
|
||||||
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
java
|
|
||||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
@ -173,7 +172,6 @@
|
|||||||
;;rst ; ReST in peace
|
;;rst ; ReST in peace
|
||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
rust
|
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
;;(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
|
Loading…
Reference in New Issue
Block a user