summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEwy~ <ewy0@protonmail.com>2025-03-17 19:13:27 +0100
committerEwy~ <ewy0@protonmail.com>2025-03-17 19:13:27 +0100
commit8740db54043bf08982f5183572cdce266048afe0 (patch)
treef915ba41ffa2384f2d57a2dceb1cbd8dbecab16e
parentcf0d96069f039846ffb48bc8a3d6bccb7e2f5a92 (diff)
incremental improvements
-rw-r--r--.config/mako/config4
-rw-r--r--.config/mpd/databasebin281611 -> 310739 bytes
-rw-r--r--.config/sway/config.d/dualshock4
-rw-r--r--.config/sway/config.d/outputs2
-rw-r--r--.config/sway/config.d/satty10
-rw-r--r--.config/sway/config.d/soku5
-rw-r--r--.config/sway/hosts/wit/outputs11
-rw-r--r--.config/zsh/themes/ewout.zsh-theme4
-rwxr-xr-x.local/bin/uwuload8
-rwxr-xr-x.local/bin/uwushot5
-rw-r--r--.profile2
-rw-r--r--.zshrc2
12 files changed, 51 insertions, 6 deletions
diff --git a/.config/mako/config b/.config/mako/config
index b61d208..699fb2c 100644
--- a/.config/mako/config
+++ b/.config/mako/config
@@ -8,6 +8,10 @@ layer=overlay
format=<b>%a </b> %s\n%b
max-icon-size=64
padding=0,5,0,0
+group-by=summary
+
+[app-name="Nicotine+"]
+group-by=app-name
[app-icon=]
padding=5
diff --git a/.config/mpd/database b/.config/mpd/database
index 7c95566..85a56d9 100644
--- a/.config/mpd/database
+++ b/.config/mpd/database
Binary files differ
diff --git a/.config/sway/config.d/dualshock b/.config/sway/config.d/dualshock
new file mode 100644
index 0000000..aa5c424
--- /dev/null
+++ b/.config/sway/config.d/dualshock
@@ -0,0 +1,4 @@
+input type:touchpad {
+ events disabled
+}
+
diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs
index ad45998..276ff5d 100644
--- a/.config/sway/config.d/outputs
+++ b/.config/sway/config.d/outputs
@@ -1,4 +1,4 @@
output * {
- background "$(cat $HOME/.cache/wal/wal)" fill
+ background "$(cat $HOME/.cache/wal/wal)" fit
}
diff --git a/.config/sway/config.d/satty b/.config/sway/config.d/satty
index 8204049..3d776cd 100644
--- a/.config/sway/config.d/satty
+++ b/.config/sway/config.d/satty
@@ -1 +1,9 @@
-bindsym $mod+Print exec grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png
+bindsym $mod+Print exec uwushot
+for_window [app_id="satty"] {
+ fullscreen disable
+ move container to output HDMI-A-2
+ resize set width 660
+ resize set height 400
+ move position 32 32
+ border none
+}
diff --git a/.config/sway/config.d/soku b/.config/sway/config.d/soku
new file mode 100644
index 0000000..801955c
--- /dev/null
+++ b/.config/sway/config.d/soku
@@ -0,0 +1,5 @@
+for_window [instance="th123.exe"] {
+ floating enable
+ resize set 1920x1440
+ position set 320,0
+}
diff --git a/.config/sway/hosts/wit/outputs b/.config/sway/hosts/wit/outputs
index 83bb6bf..9ca558c 100644
--- a/.config/sway/hosts/wit/outputs
+++ b/.config/sway/hosts/wit/outputs
@@ -1,9 +1,16 @@
-output DP-2 {
+set $right "Philips Consumer Electronics Company PHL 243V7 AU01809002092"
+set $left "LG Electronics LG ULTRAGEAR+ 303NTZN3Z085"
+
+output $left {
resolution 2560x1440@239.970Hz
position 0,0
}
+workspace 1 output $left
-output HDMI-A-1 {
+output $right {
resolution 1920x1080@60.000Hz
position 2560,0
}
+workspace 2 output $right
+
+exec mako --output "HDMI-A-2"
diff --git a/.config/zsh/themes/ewout.zsh-theme b/.config/zsh/themes/ewout.zsh-theme
index e44e887..ae992dd 100644
--- a/.config/zsh/themes/ewout.zsh-theme
+++ b/.config/zsh/themes/ewout.zsh-theme
@@ -11,8 +11,8 @@ __git() {
}
__wrap() {
- [ -z "$@" ] && return
- echo "─[$@]─"
+ [ -z "$*" ] && return
+ echo "─[$*]─"
}
__exitStatus() {
diff --git a/.local/bin/uwuload b/.local/bin/uwuload
new file mode 100755
index 0000000..f6ae737
--- /dev/null
+++ b/.local/bin/uwuload
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+set -euo pipefail
+filename=$(basename "$@")
+rsync -r --progress --stats "$@" "root@ewy.one:/srv/uwu/$filename"
+url="https://uwu.ewy.one/$filename"
+echo "$url" | wl-copy
+message="Uploaded $filename to uwu; copied result URL to clipboard."
+notify-send -a uwuload -i /usr/share/icons/Papirus-Dark/128x128/devices/network-server.svg "$message"
diff --git a/.local/bin/uwushot b/.local/bin/uwushot
new file mode 100755
index 0000000..cc99316
--- /dev/null
+++ b/.local/bin/uwushot
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+set -euo pipefail
+filename="~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png"
+grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --disable-notifications --corner-roundness 12 --output-filename "$filename"
+uwuload "$filename"
diff --git a/.profile b/.profile
index edcb498..1cc3179 100644
--- a/.profile
+++ b/.profile
@@ -1,4 +1,6 @@
+# Build dolphin open-with menus
+XDG_MENU_PREFIX=plasma- kbuildsycoca6
# Added by Toolbox App
export PATH="$PATH:/home/ewout/.local/share/JetBrains/Toolbox/scripts"
diff --git a/.zshrc b/.zshrc
index 773d7d5..25bf809 100644
--- a/.zshrc
+++ b/.zshrc
@@ -30,4 +30,6 @@ plugins=(
zsh-navigation-tools
)
+alias zluda="LD_LIBRARY_PATH=\"<ZLUDA_DIRECTORY>:$LD_LIBRARY_PATH\""
+
. /usr/share/oh-my-zsh/oh-my-zsh.sh