sway: remove sov
This commit is contained in:
parent
63bc63c91e
commit
835bce3054
4 changed files with 10 additions and 145 deletions
|
|
@ -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
|
|
||||||
33
config
33
config
|
|
@ -22,7 +22,6 @@ set $output_cmd $HOME/.local/bin/swayout
|
||||||
set $volume_cmd $HOME/.config/sway/bin/sway_volume
|
set $volume_cmd $HOME/.config/sway/bin/sway_volume
|
||||||
set $media_cmd /usr/bin/playerctl
|
set $media_cmd /usr/bin/playerctl
|
||||||
set $idle_cmd $HOME/.config/sway/bin/start_swayidle.sh
|
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 $lock_cmd $HOME/.config/sway/bin/sway_lock lock
|
||||||
set $move_cmd $HOME/.config/sway/bin/sway_move
|
set $move_cmd $HOME/.config/sway/bin/sway_move
|
||||||
set $resize_cmd $HOME/.config/sway/bin/sway_resize
|
set $resize_cmd $HOME/.config/sway/bin/sway_resize
|
||||||
|
|
@ -119,27 +118,16 @@ bindsym $alt+Ctrl+$right resize grow width 50px
|
||||||
# Workspaces:
|
# Workspaces:
|
||||||
#
|
#
|
||||||
# Switch to workspace
|
# Switch to workspace
|
||||||
bindsym --no-repeat $alt+1 workspace number 1; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+1 workspace number 1
|
||||||
bindsym --no-repeat $alt+2 workspace number 2; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+2 workspace number 2
|
||||||
bindsym --no-repeat $alt+3 workspace number 3; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+3 workspace number 3
|
||||||
bindsym --no-repeat $alt+4 workspace number 4; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+4 workspace number 4
|
||||||
bindsym --no-repeat $alt+5 workspace number 5; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+5 workspace number 5
|
||||||
bindsym --no-repeat $alt+6 workspace number 6; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+6 workspace number 6
|
||||||
bindsym --no-repeat $alt+7 workspace number 7; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+7 workspace number 7
|
||||||
bindsym --no-repeat $alt+8 workspace number 8; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+8 workspace number 8
|
||||||
bindsym --no-repeat $alt+9 workspace number 9; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+9 workspace number 9
|
||||||
bindsym --no-repeat $alt+0 workspace number 10; exec "echo 1 > /tmp/sovpipe"
|
bindsym --no-repeat $alt+0 workspace number 10
|
||||||
# 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"
|
|
||||||
# Move focused container to workspace
|
# Move focused container to workspace
|
||||||
bindsym $alt+Shift+1 move container to workspace number 1
|
bindsym $alt+Shift+1 move container to workspace number 1
|
||||||
bindsym $alt+Shift+2 move container to workspace number 2
|
bindsym $alt+Shift+2 move container to workspace number 2
|
||||||
|
|
@ -373,7 +361,6 @@ for_window [app_id="signal"] mark x
|
||||||
# Autostart
|
# Autostart
|
||||||
#
|
#
|
||||||
exec_always $idle_cmd
|
exec_always $idle_cmd
|
||||||
exec_always $sov_cmd
|
|
||||||
exec_always systemctl --user start sway-session.target
|
exec_always systemctl --user start sway-session.target
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
|
||||||
|
|
@ -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";
|
|
||||||
}
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
<div id="main" class="fullscale">
|
|
||||||
<div id="base" class="fullscale colflex">
|
|
||||||
<div id="row" class="fullscale rowflex">
|
|
||||||
<div id="workspace" class="fullscale workspace">
|
|
||||||
<div id="number" class="number" type="label" text="0"/>
|
|
||||||
<div id="window" class="window colflex">
|
|
||||||
<div id="title" class="title" type="label" text="foot"/>
|
|
||||||
<div id="content" class="content" type="label" text="build/sov"/>
|
|
||||||
</div>
|
|
||||||
<div id="window_active" class="window_active colflex">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue