summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-02-14 00:56:23 +0000
committerubq323 <ubq323@ubq323.website>2024-02-14 00:56:23 +0000
commit7bd1c144e0eac89812ce3ada28245d09ba406104 (patch)
tree44467d0b795f81995e1ce9b411a1cdd1d39dc014
parentde0349ba6f85bbb9b42b0ff99dfefc1312f0fd30 (diff)
various
-rw-r--r--.aliases.bashrc3
-rw-r--r--.bashrc4
-rw-r--r--.config/kak/kakrc1
-rw-r--r--.config/sway/config10
-rwxr-xr-xbin/rupload5
-rwxr-xr-xbin/rws2
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/*"'
diff --git a/.bashrc b/.bashrc
index e0d64e9..245b45e 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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
diff --git a/bin/rws b/bin/rws
index 7041e8c..198bf4b 100755
--- a/bin/rws
+++ b/bin/rws
@@ -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