Compare commits

...

4 Commits

Author SHA1 Message Date
AquaMorph b61a1cc192 Change polybar desktop 2022-09-02 20:26:55 -04:00
AquaMorph 4a369196c9 Firefox startup delay 2022-09-02 20:26:19 -04:00
AquaMorph 4a2341ce6f Arkham Knight electric tool 2022-09-02 20:25:33 -04:00
AquaMorph 1208f9c140 Desktop Signal startup and monitor change 2022-09-02 19:00:41 -04:00
4 changed files with 23 additions and 6 deletions
+3
View File
@@ -33,4 +33,7 @@ bind G19 KEY_ C
# Mission Choice
bind G1 KEY_V
# Electric Tool
bind G6 KEY_4
rgb 255 5 5
+8 -4
View File
@@ -7,10 +7,11 @@ workspace $wsGames output DP-4
workspace $wsResolve output DP-4
workspace $wsReaper output DP-4
workspace $wsBitwig output DP-4
workspace $ws5 output DVI-D-0
workspace $ws6 output DVI-D-0
workspace $ws7 output DVI-D-0
workspace $ws8 output DVI-D-0
workspace $ws5 output DP-2
workspace $ws6 output DP-2
workspace $ws7 output DP-2
workspace $ws8 output DP-2
workspace $wsSignal output DP-2
workspace $ws9 output HDMI-0
workspace $ws10 output HDMI-0
@@ -29,6 +30,9 @@ set $g13 G13 Profile: [1] Overwatch [2] Resolve [3] Planet Coaster [4] Fall Guys
bindsym $mod+F1 mode "$g13"
exec_always --no-startup-id g13d --config ~/.config/g13/resolve.bind --logo ~/.config/g13/resolve.lpbm &
# Startup programs
exec --no-startup-id "workspace $15; exec flatpak run org.signal.Signal"
# Starts Jack for audio
exec --no-startup-id "workspace $1; exec alacritty"
exec --no-startup-id sh ~/.config/scripts/audio/system-start-audio.sh
+1 -1
View File
@@ -5,7 +5,7 @@ killall -q polybar
while pgrep -x polybar >/dev/null; do sleep 0.1; done
for monitor in $(xrandr -q | grep -e "\sconnected\s" | cut -d' ' -f1); do
if [ $monitor == 'DVI-D-0' ] || [ $monitor == 'LVDS-1' ]; then
if [ $monitor == 'DP-2' ] || [ $monitor == 'LVDS-1' ]; then
MONITOR=$monitor polybar aqua &
fi
done
+11 -1
View File
@@ -53,8 +53,18 @@ def isProgramRunning(name, windows, workspace):
return True
return False
def isPagesLoaded(firefoxWindows):
for w in firefoxWindows:
if 'http' not in w.name:
return True
return True
i3 = Connection()
firefoxWindows = filterWindowsByClass('Firefox', getWindows(i3))
firefoxWindows = filterWindowsByClass('firefox', getWindows(i3))
while(not isPagesLoaded(firefoxWindows)):
time.sleep(0.1)
switchWorkspace('10')
switchWorkspace('1')