diff options
author | ubq323 <ubq323@ubq323.website> | 2024-02-14 00:56:23 +0000 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-02-14 00:56:23 +0000 |
commit | 7bd1c144e0eac89812ce3ada28245d09ba406104 (patch) | |
tree | 44467d0b795f81995e1ce9b411a1cdd1d39dc014 | |
parent | de0349ba6f85bbb9b42b0ff99dfefc1312f0fd30 (diff) |
various
-rw-r--r-- | .aliases.bashrc | 3 | ||||
-rw-r--r-- | .bashrc | 4 | ||||
-rw-r--r-- | .config/kak/kakrc | 1 | ||||
-rw-r--r-- | .config/sway/config | 10 | ||||
-rwxr-xr-x | bin/rupload | 5 | ||||
-rwxr-xr-x | bin/rws | 2 |
6 files changed, 14 insertions, 11 deletions
diff --git a/.aliases.bashrc b/.aliases.bashrc index 65478fd..3b59573 100644 --- a/.aliases.bashrc +++ b/.aliases.bashrc @@ -21,6 +21,7 @@ alias mirror='mpv --untimed --profile=low-latency --vf=hflip /dev/video0' alias gds='git diff --staged' -alias mp='mpv --vid=no' +alias mp='mpv --vid=no --audio-pitch-correction=no' alias lh='locate "/home/rebecca/*"' +alias lih='locate -i "/home/rebecca/*"' @@ -58,3 +58,7 @@ add_path ~/bin lb=~/."$(uname -n)".bashrc [ -f "$lb" ] && . "$lb" + +# opam configuration +test -r /home/rebecca/.opam/opam-init/init.sh && . /home/rebecca/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true + diff --git a/.config/kak/kakrc b/.config/kak/kakrc index 7a616cd..ff90671 100644 --- a/.config/kak/kakrc +++ b/.config/kak/kakrc @@ -27,3 +27,4 @@ evaluate-commands %sh{ alias global Wq write-quit +alias global W write diff --git a/.config/sway/config b/.config/sway/config index efafb52..ab009e7 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -34,6 +34,7 @@ output HDMI_A-1 { exec pipewire exec wireplumber exec pipewire-pulse +exec wlsunset -T 6500 -t 3200 -L -2 -l 53 bindsym $mod+Return exec exec $term bindsym $mod+Shift+q kill @@ -130,7 +131,7 @@ bar { } } -font pango:Iosevka Fixed 12 +font pango:CommitMono 10 bindsym $mod+Shift+f exec "apulse firefox-wayland" bindsym $mod+b workspace back_and_forth @@ -158,18 +159,13 @@ bindsym XF86AudioMute exec 'amixer set Master toggle' bindsym XF86MonBrightnessUp exec 'brightnessctl --min-value=75 s +5%' bindsym XF86MonBrightnessDown exec 'brightnessctl --min-value=75 s 5%-' -bindsym $mod+Shift+s sticky toggle - client.focused #663399 #663399 #ffffff +bindsym $mod+Shift+s sticky toggle bindsym Print exec slurp|grim -g- -|feh - -.wG -A'[upload]/home/rebecca/bin/rupload -x png %F' --action1 '[copy]wl-copy -t image/png <%F' - bindsym $mod+BackSpace exec dunstctl close-all - - bindsym $mod+p move workspace to output right -exec wlsunset -T 6500 -t 3200 -L -2 -l 53 include /etc/sway/config.d/* diff --git a/bin/rupload b/bin/rupload index 74c943c..b0cd640 100755 --- a/bin/rupload +++ b/bin/rupload @@ -90,7 +90,10 @@ while exists_already "$rname"; do rname="_$rname" done -printf 'uploading to %s\n' "$rname" >&2 +if [ "$printurl" -eq 0 ]; then + printf 'uploading to %s\n' "$rname" >&2 +fi + if [ "$dry_run" -eq 1 ]; then echo dryrun, not uploading anything tidy_tempfile @@ -9,8 +9,6 @@ WSD=$XDG_RUNTIME_DIR/ws mkdir -p $WSD - - wslist () { # list workspaces, most-recently-used first swaymsg -t get_workspaces | jq -rc '.[] | .name' | while read wsn; do |