yeet
This commit is contained in:
3596
gtk-themes/oled-black/gtk-4.0.gtk.css
Normal file
3596
gtk-themes/oled-black/gtk-4.0.gtk.css
Normal file
File diff suppressed because it is too large
Load Diff
@@ -26,3 +26,5 @@ function __zoxide_z() {
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
alias codium="codium --ozone-platform=wayland "
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
font=Fira Code Retina 11
|
||||
format=<b>%a ⏵</b> %s\n%b
|
||||
#format=<b>%a ⏵</b> %s\n%b
|
||||
format=<b>%s</b> \n%b
|
||||
sort=-time
|
||||
layer=overlay
|
||||
anchor=top-right
|
||||
anchor=bottom-right
|
||||
background-color=#000000
|
||||
width=300
|
||||
width=250
|
||||
height=110
|
||||
margin=16
|
||||
padding=8,16
|
||||
padding=8,12
|
||||
border-size=1
|
||||
border-color=#FFFFFF
|
||||
#border-color=#FFFFFF
|
||||
border-color=#000000
|
||||
border-radius=0
|
||||
icons=0
|
||||
max-icon-size=64
|
||||
@@ -18,7 +20,8 @@ ignore-timeout=1
|
||||
on-notify=exec mpv /usr/share/sounds/freedesktop/stereo/message.oga
|
||||
|
||||
[urgency=normal]
|
||||
border-color=#FFFFFF
|
||||
#border-color=#FFFFFF
|
||||
border-color=#000000
|
||||
|
||||
[urgency=high]
|
||||
border-color=#FF0000
|
||||
|
||||
@@ -105,7 +105,9 @@ output HDMI-A-1 {
|
||||
}
|
||||
|
||||
output DP-2 {
|
||||
position $right_monitor_x 0
|
||||
position 0 0
|
||||
mode $lg_left_monitor_mode
|
||||
# position $right_monitor_x 0
|
||||
|
||||
# ECO
|
||||
# mode 2560x1440@60Hz
|
||||
@@ -121,7 +123,7 @@ output DP-2 {
|
||||
###############################################################################
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 900 'swaylock -f -c 000000' \
|
||||
timeout 1500 'swaylock -f -c 000000' \
|
||||
# timeout 1800 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||
before-sleep 'swaylock -f -c 000000'
|
||||
|
||||
@@ -159,7 +161,7 @@ input type:pointer {
|
||||
# Floating window rules
|
||||
floating_maximum_size -1 x -1
|
||||
for_window [app_id="floating_window"] floating enable
|
||||
for_window [app_id="pavucontrol"] floating enable
|
||||
for_window [app_id="pavucontrol"] floating enable, move position mouse, sticky enable, border pixel 0
|
||||
for_window [app_id="Windscribe"] floating enable
|
||||
for_window [class="steam" instance="steamwebhelper"] floating enable
|
||||
for_window [class="steam" title="Steam"] floating disable
|
||||
@@ -542,6 +544,7 @@ bindsym $mod+i bar mode toggle
|
||||
|
||||
bar {
|
||||
output DP-1
|
||||
#output DP-2
|
||||
position bottom
|
||||
mode dock
|
||||
height $lg_left_monitor_bar_height
|
||||
@@ -612,3 +615,5 @@ exec --no-startup-id home_dotfiles/.config/sway/scripts/i3status/set-random-bg.s
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
#bindsym $mod+x exec "$(file="/tmp/click"; if test "0" = "$(cat "$file")"; then printf '1\n' > "$file"; else printf '0\n' > "$file"; fi)"
|
||||
|
||||
seat seat0 hide_cursor 3000
|
||||
|
||||
@@ -61,11 +61,15 @@ missing_format = ""
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
format = " $icon $volume "
|
||||
format = " $icon { $volume|} {$output_name |} "
|
||||
click = [
|
||||
{button = "left", cmd = "pavucontrol --tab=3"},
|
||||
{button = "right", cmd = "pactl set-sink-mute @DEFAULT_SINK@ toggle"},
|
||||
]
|
||||
[block.mappings]
|
||||
"bluez_output.04:21:44:A7:66:EA" = "Dung"
|
||||
"alsa_output.usb-FiiO_FiiO_USB_DAC_K1-01.pro-output-0" = "M50X"
|
||||
"bluez_output.04_21_44_A7_66_EA.1" = "Dung"
|
||||
|
||||
[[block]]
|
||||
block = "bluetooth"
|
||||
|
||||
@@ -21,7 +21,10 @@ if [ "$BLUETOOTH_POWERED" != "yes" ]; then
|
||||
fi
|
||||
|
||||
# Get connected devices
|
||||
CONNECTED_DEVICES=$(bluetoothctl devices Connected | grep "^Device" | awk '{for(i=3;i<=NF;i++) printf "%s ", $i; print ""}' | sed 's/ $//')
|
||||
# Note: bluetoothctl devices Connected doesn't work as a direct command argument
|
||||
# It must be piped through bluetoothctl's interactive shell
|
||||
# Also need to strip ANSI escape codes from output
|
||||
CONNECTED_DEVICES=$(echo "devices Connected" | bluetoothctl 2>/dev/null | sed 's/\x1b\[[0-9;]*m//g' | grep "Device " | awk '{for(i=3;i<=NF;i++) printf "%s ", $i; print ""}' | sed 's/ $//')
|
||||
|
||||
if [ -z "$CONNECTED_DEVICES" ]; then
|
||||
echo "$BT_ICON No devices"
|
||||
@@ -39,7 +42,7 @@ fi
|
||||
# Handle click events (for i3status-rust custom block)
|
||||
if [ "${BLOCK_BUTTON:-}" = "1" ]; then
|
||||
# Left click - show all connected devices with details
|
||||
DETAILED_DEVICES=$(bluetoothctl devices Connected | while read -r line; do
|
||||
DETAILED_DEVICES=$(echo "devices Connected" | bluetoothctl 2>/dev/null | sed 's/\x1b\[[0-9;]*m//g' | grep "Device " | while read -r line; do
|
||||
MAC=$(echo "$line" | awk '{print $2}')
|
||||
NAME=$(echo "$line" | awk '{for(i=3;i<=NF;i++) printf "%s ", $i; print ""}' | sed 's/ $//')
|
||||
echo "• $NAME ($MAC)"
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#!/bin/bash
|
||||
# Find a random image file
|
||||
#IMAGE=$(find /run/media/raga/970/qBittorrent/nsfw/xd -type f \( -name '*.png' -o -name '*.jpg' -o -name '*.jpeg' \) | shuf -n 1)
|
||||
IMAGE=$(find /run/media/raga/970/images/cars/wallpaper -type f \( -name '*.png' -o -name '*.jpg' -o -name '*.jpeg' \) | shuf -n 1)
|
||||
IMAGES=/run/media/raga/970/images/cars/wallpaper
|
||||
IMAGES=/run/media/raga/730/shared/photos/hr
|
||||
IMAGE=$(find $IMAGES -type f \( -name '*.png' -o -name '*.jpg' -o -name '*.jpeg' \) | shuf -n 1)
|
||||
|
||||
if [ -n "$IMAGE" ]; then
|
||||
echo "Image: $IMAGE"
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
if [ -d "$HOME/.local/bin" ]; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
PATH="$HOME/go/bin:$PATH"
|
||||
|
||||
export PATH
|
||||
|
||||
1
maFiles/76561198005539095.maFile
Executable file
1
maFiles/76561198005539095.maFile
Executable file
@@ -0,0 +1 @@
|
||||
{"account_name":"iwezz","steam_id":76561198005539095,"serial_number":"17009765129905567372","revocation_code":"R00217","shared_secret":"QwZsqFjG+DojXLE8kKGSTz7gS58=","token_gid":"1bfdcc928c320266","identity_secret":"tqpuuH5084JnTjAv/pPS/jwlc8M=","uri":"otpauth://totp/Steam:iwezz?secret=IMDGZKCYY34DUI24WE6JBIMSJ47OAS47&issuer=Steam","device_id":"android:161af7e9-ab06-f7e9-f7e9-f7e9ab06c7e3","secret_1":"VQVA0ttHIQAYIq3ESkZeRuCaDZM=","tokens":{"access_token":"eyAidHlwIjogIkpXVCIsICJhbGciOiAiRWREU0EiIH0.eyAiaXNzIjogInI6MDAxOV8yNjg0Qzk3Rl8zMTk5NyIsICJzdWIiOiAiNzY1NjExOTgwMDU1MzkwOTUiLCAiYXVkIjogWyAid2ViIiwgIm1vYmlsZSIgXSwgImV4cCI6IDE3Njk1MTkxNjYsICJuYmYiOiAxNzYwNzkxNzYyLCAiaWF0IjogMTc2OTQzMTc2MiwgImp0aSI6ICIwMDEyXzI3OTlCMTUyXzY2RkQxIiwgIm9hdCI6IDE3NTE0NDkxNDMsICJydF9leHAiOiAxNzY5NzY1Mzg1LCAicGVyIjogMCwgImlwX3N1YmplY3QiOiAiODIuMTMxLjQ4LjE2NyIsICJpcF9jb25maXJtZXIiOiAiODIuMTMxLjQ4LjE2NyIgfQ.Pq3d2RYHifu4u1FyM1rvfaK6eoNtz81q_ChVJtF88gMxGbuLApxirdE_y3pYzwZB0vfMnfdivE30zfeIbb33Bw","refresh_token":"eyAidHlwIjogIkpXVCIsICJhbGciOiAiRWREU0EiIH0.eyAiaXNzIjogInN0ZWFtIiwgInN1YiI6ICI3NjU2MTE5ODAwNTUzOTA5NSIsICJhdWQiOiBbICJ3ZWIiLCAicmVuZXciLCAiZGVyaXZlIiwgIm1vYmlsZSIgXSwgImV4cCI6IDE3Njk3NjUzODUsICJuYmYiOiAxNzQyODA5MTQzLCAiaWF0IjogMTc1MTQ0OTE0MywgImp0aSI6ICIwMDE5XzI2ODRDOTdGXzMxOTk3IiwgIm9hdCI6IDE3NTE0NDkxNDMsICJwZXIiOiAxLCAiaXBfc3ViamVjdCI6ICI4Mi4xMzEuNDguMTY3IiwgImlwX2NvbmZpcm1lciI6ICI4Mi4xMzEuNDguMTY3IiB9.qAwl7qtQC2JplwTzNvQvmHfTq4HitqpRp_E-3JsuOXyNnn5KtCTGtSQg0Wmpyf8D92Xy-zHke0Fx-L_viMI4Ag"}}
|
||||
1
maFiles/76561198005539095.maFile.bak
Executable file
1
maFiles/76561198005539095.maFile.bak
Executable file
@@ -0,0 +1 @@
|
||||
{"shared_secret":"QwZsqFjG+DojXLE8kKGSTz7gS58=","serial_number":"17009765129905567372","revocation_code":"R00217","uri":"otpauth://totp/Steam:iwezz?secret=IMDGZKCYY34DUI24WE6JBIMSJ47OAS47&issuer=Steam","server_time":1587804420,"account_name":"iwezz","token_gid":"1bfdcc928c320266","identity_secret":"tqpuuH5084JnTjAv/pPS/jwlc8M=","secret_1":"VQVA0ttHIQAYIq3ESkZeRuCaDZM=","status":1,"device_id":"android:161af7e9-ab06-f7e9-f7e9-f7e9ab06c7e3","fully_enrolled":true,"Session":{"SessionID":"710803ee0dd7fcece6adb425","SteamLogin":"76561198005539095%7C%7CCAFBFF069A91D4C387FB6B9BA82B2DE0D5155C0D","SteamLoginSecure":"76561198005539095%7C%7C7405BD15821E6D5E4E26B613FD440A63C3057C20","WebCookie":"EB0FF944BCA4EA272BF782335D45202261C4D474","OAuthToken":"532778d589b36e78d3e2ded1091bae11","SteamID":76561198005539095}}
|
||||
1
maFiles/manifest.json
Executable file
1
maFiles/manifest.json
Executable file
@@ -0,0 +1 @@
|
||||
{"version":1,"entries":[{"filename":"76561198005539095.maFile","steam_id":76561198005539095,"account_name":"iwezz","encryption":null}]}
|
||||
1
maFiles/manifest.json.bak
Executable file
1
maFiles/manifest.json.bak
Executable file
@@ -0,0 +1 @@
|
||||
{"encrypted":false,"first_run":true,"entries":[{"encryption_iv":null,"encryption_salt":null,"filename":"76561198005539095.maFile","steamid":76561198005539095}],"periodic_checking":false,"periodic_checking_interval":5,"periodic_checking_checkall":false,"auto_confirm_market_transactions":false,"auto_confirm_trades":false}
|
||||
0
scripts/osrs/autoclicker/run-ydotool-daemon.sh
Normal file → Executable file
0
scripts/osrs/autoclicker/run-ydotool-daemon.sh
Normal file → Executable file
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
export YDOTOOL_SOCKET="$HOME/.ydotool_socket"
|
||||
|
||||
ydotool click 0xC0 # Left click
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
# Configuration
|
||||
|
||||
MOVE_DISTANCE=70
|
||||
MOVE_DISTANCE=66
|
||||
BOTTOM_MARGIN=190
|
||||
|
||||
RANDOM_DELAY_MIN=0
|
||||
@@ -18,6 +18,8 @@ WL_FIND_CURSOR_BIN="/home/raga/repos/linux/wl-find-cursor/wl-find-cursor"
|
||||
ENABLED_FILE="/tmp/osrs_drop__enabled"
|
||||
LOCK_FILE="/tmp/osrs_drop__lock"
|
||||
|
||||
export YDOTOOL_SOCKET="$HOME/.ydotool_socket"
|
||||
|
||||
# Verify dependencies
|
||||
if ! command -v ydotool &> /dev/null; then
|
||||
echo "Error: ydotool is not installed. Install it with: sudo pacman -S ydotool"
|
||||
|
||||
72
scripts/video-chop.sh
Executable file
72
scripts/video-chop.sh
Executable file
@@ -0,0 +1,72 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Video chop script - extracts a portion of a video file using ffmpeg
|
||||
# Usage: video-chop.sh <video_file> <start_seconds> <end_seconds>
|
||||
|
||||
set -e
|
||||
|
||||
# Check if all required parameters are provided
|
||||
if [ $# -ne 3 ]; then
|
||||
echo "Usage: $0 <video_file> <start_seconds> <end_seconds>"
|
||||
echo "Example: $0 /path/to/video.mp4 10 30"
|
||||
echo " This will extract from second 10 to second 30"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
VIDEO_FILE="$1"
|
||||
START_SECONDS="$2"
|
||||
END_SECONDS="$3"
|
||||
|
||||
# Validate that the video file exists
|
||||
if [ ! -f "$VIDEO_FILE" ]; then
|
||||
echo "Error: Video file '$VIDEO_FILE' not found"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Validate that start and end are numbers
|
||||
if ! [[ "$START_SECONDS" =~ ^[0-9]+\.?[0-9]*$ ]]; then
|
||||
echo "Error: Start seconds must be a valid number"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [[ "$END_SECONDS" =~ ^[0-9]+\.?[0-9]*$ ]]; then
|
||||
echo "Error: End seconds must be a valid number"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Validate that end is greater than start
|
||||
if (( $(echo "$END_SECONDS <= $START_SECONDS" | bc -l) )); then
|
||||
echo "Error: End seconds must be greater than start seconds"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Get the directory and filename
|
||||
DIRNAME=$(dirname "$VIDEO_FILE")
|
||||
BASENAME=$(basename "$VIDEO_FILE")
|
||||
|
||||
# Get the file extension
|
||||
EXTENSION="${BASENAME##*.}"
|
||||
FILENAME="${BASENAME%.*}"
|
||||
|
||||
# Generate timestamp prefix (YYYYMMDD_HHMMSS)
|
||||
TIMESTAMP=$(date +"%Y%m%d_%H%M%S")
|
||||
|
||||
# Create output filename with timestamp prefix
|
||||
OUTPUT_FILE="${DIRNAME}/${TIMESTAMP}_${FILENAME}.${EXTENSION}"
|
||||
|
||||
# Calculate duration
|
||||
DURATION=$(echo "$END_SECONDS - $START_SECONDS" | bc)
|
||||
|
||||
echo "Input file: $VIDEO_FILE"
|
||||
echo "Start: ${START_SECONDS}s"
|
||||
echo "End: ${END_SECONDS}s"
|
||||
echo "Duration: ${DURATION}s"
|
||||
echo "Output file: $OUTPUT_FILE"
|
||||
echo ""
|
||||
|
||||
# Run ffmpeg to extract the portion
|
||||
# Using -ss before -i for fast seeking, and -t for duration
|
||||
ffmpeg -y -ss "$START_SECONDS" -i "$VIDEO_FILE" -t "$DURATION" -c copy "$OUTPUT_FILE"
|
||||
|
||||
echo ""
|
||||
echo "Done! Output saved to: $OUTPUT_FILE"
|
||||
27
set-gtk-theme.sh
Executable file
27
set-gtk-theme.sh
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/bin/bash
|
||||
# GTK OLED Theme Setup Script
|
||||
# Symlinks oled-black theme CSS to GTK config directories
|
||||
|
||||
set -e
|
||||
|
||||
REPO_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/gtk-themes/oled-black" && pwd)"
|
||||
HOME_CONFIG_GTK3="$HOME/.config/gtk-3.0"
|
||||
HOME_CONFIG_GTK4="$HOME/.config/gtk-4.0"
|
||||
|
||||
echo "Setting up OLED black theme for GTK3 and GTK4..."
|
||||
|
||||
# GTK4 setup
|
||||
echo "Configuring GTK4..."
|
||||
rm -f "$HOME_CONFIG_GTK4/gtk.css"
|
||||
ln -s "$REPO_DIR/gtk-4.0.gtk.css" "$HOME_CONFIG_GTK4/gtk.css"
|
||||
echo " → Linked GTK4: $HOME_CONFIG_GTK4/gtk.css → $REPO_DIR/gtk-4.0.gtk.css"
|
||||
|
||||
# GTK3 setup (using same CSS file - it will work for basic overrides)
|
||||
echo "Configuring GTK3..."
|
||||
ln -sf "$REPO_DIR/gtk-4.0.gtk.css" "$HOME_CONFIG_GTK3/gtk.css" 2>/dev/null || {
|
||||
mkdir -p "$HOME_CONFIG_GTK3"
|
||||
ln -s "$REPO_DIR/gtk-4.0.gtk.css" "$HOME_CONFIG_GTK3/gtk.css"
|
||||
}
|
||||
echo " → Linked GTK3: $HOME_CONFIG_GTK3/gtk.css → $REPO_DIR/gtk-4.0.gtk.css"
|
||||
|
||||
echo "Done! Restart GTK apps to see changes."
|
||||
5628
windows_get_tree.json
Normal file
5628
windows_get_tree.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user