styles + window rules

This commit is contained in:
2025-08-23 16:19:05 +02:00
parent 01f7b4fb8e
commit 98bd7c5393
5 changed files with 22 additions and 11 deletions

View File

@@ -1,3 +1,3 @@
function convert_discord --wraps='ffmpeg -i <source> -s 1280x720 <source>-discord.mp4' --description 'alias convert_discord=ffmpeg -i <source> -s 1280x720 <source>-discord.mp4' function convert_discord --wraps='ffmpeg -i <source> -s 1280x720 <source>-discord.mp4' --description 'alias convert_discord=ffmpeg -i <source> -s 1280x720 <source>-discord.mp4'
ffmpeg -i $argv[1] -s 1280x720 (string split -r -m1 . $argv[1])[1]-discord.mp4; ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -i $argv[1] -s 1280x720 (string split -r -m1 . $argv[1])[1]-discord.mp4;
end end

View File

@@ -15,6 +15,7 @@ windowrulev2=noblur,class:^()$,title:^()$
# Float Windows # Float Windows
windowrulev2=float,title:^(Open File)$ windowrulev2=float,title:^(Open File)$
windowrulev2=float,title:^(Select a File)$ windowrulev2=float,title:^(Select a File)$
windowrulev2=float,title:^(Select Folder)$
windowrulev2=float,title:^(Choose a file)$ windowrulev2=float,title:^(Choose a file)$
windowrulev2=float,title:^(Save As)$ windowrulev2=float,title:^(Save As)$
windowrulev2=float,title:^(Save File)$ windowrulev2=float,title:^(Save File)$
@@ -63,6 +64,7 @@ windowrulev2=noblur,class:^(pavucontrol|blueman-manager|nm-connection-editor)$
windowrulev2=workspace special:magic silent,class:^(Spotify)$ windowrulev2=workspace special:magic silent,class:^(Spotify)$
windowrulev2=workspace special:magic silent,class:^(spotify)$
windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$ windowrulev2=workspace special:magic silent,class:^(discord|vesktop)$
# steam rules # steam rules

View File

@@ -15,7 +15,13 @@ start() {
notify-send -u low "$PROGRAM_NAME" "$PROGRAM_NAME is starting ..." notify-send -u low "$PROGRAM_NAME" "$PROGRAM_NAME is starting ..."
ANDROID_SERIAL=$ANDROID_SERIAL droidcam-cli -a -v -size=1920x1080 adb 4747 &> /dev/null & ANDROID_SERIAL=$ANDROID_SERIAL droidcam-cli -a -v -size=1920x1080 adb 4747 &> /dev/null &
echo $! > "$PID_FILE" PID=$!
sleep 1
if ! ps -p "$PID" > /dev/null; then
notify-send -u critical "$PROGRAM_NAME" "$PROGRAM_NAME did not start"
exit 1
fi
echo "$PID" > "$PID_FILE"
} }

View File

@@ -126,14 +126,14 @@
"return-type": "json", "return-type": "json",
"exec": "/home/narl/.config/waybar/scripts/audio.sh show", "exec": "/home/narl/.config/waybar/scripts/audio.sh show",
"on-click": "/home/narl/.config/waybar/scripts/audio.sh cycle", "on-click": "/home/narl/.config/waybar/scripts/audio.sh cycle",
"interval": 5 "interval": 1
}, },
"custom/gamemode": { "custom/gamemode": {
"format": "{}", "format": "{}",
"return-type": "json", "return-type": "json",
"exec": "~/.config/waybar/scripts/gamemode_status.sh", "exec": "~/.config/waybar/scripts/gamemode_status.sh",
"on-click": "~/.config/hypr/scripts/gamemode.sh", "on-click": "~/.config/hypr/scripts/gamemode.sh",
"interval": 5 "interval": 1
}, },
"custom/gpu-screen-recorder": { "custom/gpu-screen-recorder": {
"format": "{}", "format": "{}",
@@ -142,7 +142,7 @@
"on-click-right": "~/.config/hypr/scripts/replay-ctrl.sh save", "on-click-right": "~/.config/hypr/scripts/replay-ctrl.sh save",
"on-click-middle": "nautilus ~/Videos/replay", "on-click-middle": "nautilus ~/Videos/replay",
"on-click": "~/.config/waybar/scripts/toggle-replay.sh", "on-click": "~/.config/waybar/scripts/toggle-replay.sh",
"interval": 5 "interval": 1
}, },
"custom/gpu": { "custom/gpu": {
"format": "{}", "format": "{}",

View File

@@ -134,8 +134,8 @@ window#waybar.hidden {
#custom-gpu-screen-recorder.recording, #custom-gpu-screen-recorder.recording,
#custom-gamemode.active { #custom-gamemode.active {
color: @teal; color: @yellow;
border-bottom: 3px solid @teal; border-bottom: 3px solid @yellow;
} }
#custom-tlp { #custom-tlp {
@@ -192,11 +192,10 @@ window#waybar.hidden {
#memory, #memory,
#cpu, #cpu,
#network,
#custom-gpu.normal, #custom-gpu.normal,
#custom-cpu.normal, #custom-cpu.normal,
#custom-mem.normal { #custom-mem.normal {
color: @lavender; color: @blue;
/* border-bottom: 3px solid @mauve; */ /* border-bottom: 3px solid @mauve; */
} }
@@ -209,6 +208,10 @@ window#waybar.hidden {
padding-right: 16px; padding-right: 16px;
} }
#network {
color: @maroon;
}
#custom-audio-output.unmuted, #wireplumber { #custom-audio-output.unmuted, #wireplumber {
color: @maroon; color: @maroon;
border-bottom: 3px solid @maroon; border-bottom: 3px solid @maroon;
@@ -217,7 +220,7 @@ window#waybar.hidden {
#clock { #clock {
color: @maroon; color: @teal;
} }
#network { #network {