diff --git a/bin/start_sov.sh b/bin/start_sov.sh deleted file mode 100755 index a7a7004..0000000 --- a/bin/start_sov.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env sh -PATH=$PATH:$HOME/bin -CONFIG=$HOME/.config/sway/sov.d -FIFO=/tmp/sovpipe -CMD="sov" -ARGS=" -t 500 -v -s $CONFIG" -LOG=$HOME/log/sov.log - -which $CMD &> /dev/null -if [ $? -ne 0 ]; then - echo "missing $CMD executable in PATH" - exit 1 -fi - -# Terminate already running bar instances -pkill -x $CMD -rm -f $LOG -# create fifo -rm -f $FIFO -mkfifo $FIFO -# execute new instance -echo $CMD $ARGS | tee -a $LOG -tail -f $FIFO | $CMD $ARGS 2>&1 | tee -a $LOG diff --git a/config b/config index c27b2e0..5cf1678 100644 --- a/config +++ b/config @@ -22,7 +22,6 @@ set $output_cmd $HOME/.local/bin/swayout set $volume_cmd $HOME/.config/sway/bin/sway_volume set $media_cmd /usr/bin/playerctl set $idle_cmd $HOME/.config/sway/bin/start_swayidle.sh -set $sov_cmd $HOME/.config/sway/bin/start_sov.sh set $lock_cmd $HOME/.config/sway/bin/sway_lock lock set $move_cmd $HOME/.config/sway/bin/sway_move set $resize_cmd $HOME/.config/sway/bin/sway_resize @@ -119,27 +118,16 @@ bindsym $alt+Ctrl+$right resize grow width 50px # Workspaces: # # Switch to workspace -bindsym --no-repeat $alt+1 workspace number 1; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+2 workspace number 2; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+3 workspace number 3; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+4 workspace number 4; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+5 workspace number 5; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+6 workspace number 6; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+7 workspace number 7; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+8 workspace number 8; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+9 workspace number 9; exec "echo 1 > /tmp/sovpipe" -bindsym --no-repeat $alt+0 workspace number 10; exec "echo 1 > /tmp/sovpipe" -# hide sov -bindsym --release $alt+1 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+2 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+3 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+4 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+5 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+6 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+7 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+8 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+9 exec "echo 0 > /tmp/sovpipe" -bindsym --release $alt+0 exec "echo 0 > /tmp/sovpipe" +bindsym --no-repeat $alt+1 workspace number 1 +bindsym --no-repeat $alt+2 workspace number 2 +bindsym --no-repeat $alt+3 workspace number 3 +bindsym --no-repeat $alt+4 workspace number 4 +bindsym --no-repeat $alt+5 workspace number 5 +bindsym --no-repeat $alt+6 workspace number 6 +bindsym --no-repeat $alt+7 workspace number 7 +bindsym --no-repeat $alt+8 workspace number 8 +bindsym --no-repeat $alt+9 workspace number 9 +bindsym --no-repeat $alt+0 workspace number 10 # Move focused container to workspace bindsym $alt+Shift+1 move container to workspace number 1 bindsym $alt+Shift+2 move container to workspace number 2 @@ -373,7 +361,6 @@ for_window [app_id="signal"] mark x # Autostart # exec_always $idle_cmd -exec_always $sov_cmd exec_always systemctl --user start sway-session.target include /etc/sway/config.d/* diff --git a/sov.d/html/main.css b/sov.d/html/main.css deleted file mode 100644 index 9c95d69..0000000 --- a/sov.d/html/main.css +++ /dev/null @@ -1,84 +0,0 @@ -#main { - border-radius: 10px; - background-color: #00000044; -} - -#base { - margin: 10px; -} - -.fullscale { - height: 100%; - width: 100%; -} - -.colflex { - display: flex; - flex-direction: column; -} - -.rowflex { - display: flex; - flex-direction: row; -} - -.workspace { - margin: 10px; - border-radius: 8px; - background-color: #000000FF; - border-width: 1px; - border-color: #555555FF; -} - -.window { - width: 100px; - height: 80px; - background-color: #222222FF; - border-radius: 8px; - border-width: 1px; - border-color: #BCBCBCFF; -} - -.window_active { - width: 100px; - height: 80px; - background-color: #444444FF; - border-radius: 8px; - border-width: 1px; - border-color: #268BD2FF; -} - -.title { - width: 100%; - height: 21px; - margin-top: 4px; - margin-left: 4px; - margin-right: 4px; - margin-bottom: 2px; - color: #268bd2FF; - font-size: 16px; - font-family: "Cascadia Code PL:style=Bold:size=16"; -} - -.content { - width: 100%; - height: 100%; - margin-left: 4px; - margin-right: 4px; - color: #999999FF; - vertical-align: top; - font-size: 14px; - font-family: "Cascadia Code PL:style=Bold:size=14"; - word-wrap: break-word; - line-height: 12px; -} - -.number { - width: 20px; - height: 20px; - right: -14px; - top: -9px; - color: #FFFFFFFF; - font-size: 18px; - font-family: "Cascadia Code PL:style=Bold:size=18"; -} diff --git a/sov.d/html/main.html b/sov.d/html/main.html deleted file mode 100644 index 1887e3d..0000000 --- a/sov.d/html/main.html +++ /dev/null @@ -1,15 +0,0 @@ -