updates
This commit is contained in:
@@ -153,6 +153,10 @@ input type:pointer {
|
||||
floating_maximum_size -1 x -1
|
||||
for_window [app_id="floating_window"] floating enable
|
||||
for_window [app_id="pavucontrol"] floating enable
|
||||
for_window [class="steam" instance="steamwebhelper"] floating enable
|
||||
for_window [class="steam" title="Steam"] floating disable
|
||||
for_window [app_id="net.davidotek.pupgui2"] floating enable
|
||||
for_window [app_id="blueman-manager"] floating enable
|
||||
|
||||
# Border configuration
|
||||
default_floating_border pixel 1
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Advanced i3status-rust configuration
|
||||
# Based on the i3xrocks blocks from your i3 setup
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
command = "~/.config/sway/scripts/osrs/osrs-mode-status.sh"
|
||||
format = " $text "
|
||||
interval = 1
|
||||
click = [
|
||||
{button = "left", cmd = "~/.config/sway/scripts/osrs/osrs-mode-toggle.sh", update = true}
|
||||
]
|
||||
#[[block]]
|
||||
#block = "custom"
|
||||
#command = "~/.config/sway/scripts/osrs/osrs-mode-status.sh"
|
||||
#format = " $text "
|
||||
#interval = 1
|
||||
#click = [
|
||||
# {button = "left", cmd = "~/.config/sway/scripts/osrs/osrs-mode-toggle.sh", update = true}
|
||||
#]
|
||||
|
||||
[[block]]
|
||||
block = "custom"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
FOCUSED=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true) | .name')
|
||||
#FOCUSED=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true) | .name')
|
||||
#FOCUSED=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true)')
|
||||
FOCUSED=$(swaymsg -t get_tree | jq '.. | select(.type?) | select(.focused==true) | .app_id')
|
||||
|
||||
echo "$FOCUSED"
|
||||
|
||||
@@ -22,7 +22,8 @@ PATTERN_BREAK_CHANCE=0.05 # 5% chance to break pattern
|
||||
# File paths
|
||||
STATE_FILE="/tmp/autoclicker_running"
|
||||
LOCK_FILE="/tmp/autoclicker_lock"
|
||||
LOG_DIR="/tmp/autoclicker_logs"
|
||||
#LOG_DIR="/tmp/autoclicker_logs"
|
||||
LOG_DIR="/home/raga/repos/linux/sway-new-config/scripts/osrs/autoclicker/logs"
|
||||
LOG_FILE="$LOG_DIR/click_timings_$(date +%Y%m%d_%H%M%S).csv"
|
||||
|
||||
# Create log directory if it doesn't exist
|
||||
|
||||
Reference in New Issue
Block a user