init
This commit is contained in:
23
manager/workspaces/blackeducation
Executable file
23
manager/workspaces/blackeducation
Executable file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
ws1=$(( $1*10 + 1 ))
|
||||
ws2=$(( $1*10 + 2 ))
|
||||
ws3=$(( $1*10 + 3 ))
|
||||
ws4=$(( $1*10 + 4 ))
|
||||
ws5=$(( $1*10 + 5 ))
|
||||
ws6=$(( $1*10 + 6 ))
|
||||
ws7=$(( $1*10 + 7 ))
|
||||
ws8=$(( $1*10 + 8 ))
|
||||
ws9=$(( $1*10 + 9 ))
|
||||
ws10=$(( $1*10 + 10 ))
|
||||
|
||||
#1
|
||||
i3-msg "exec xdg-open obsidian://open?vault=Black%20Education"
|
||||
|
||||
#2
|
||||
chromium --class=chromium-blackeducation --user-data-dir=$HOME/.config/black-education &
|
||||
|
||||
|
||||
sleep 6
|
||||
i3-msg "[title=\".* - Black Education - Obsidian.*\"] move container to workspace $ws1"
|
||||
i3-msg "[class=\"^chromium-blackeducation$\"] move container to workspace $ws2"
|
||||
34
manager/workspaces/main
Executable file
34
manager/workspaces/main
Executable file
@ -0,0 +1,34 @@
|
||||
#!/bin/bash
|
||||
|
||||
ws1=$(( $1*10 + 1 ))
|
||||
ws2=$(( $1*10 + 2 ))
|
||||
ws3=$(( $1*10 + 3 ))
|
||||
ws4=$(( $1*10 + 4 ))
|
||||
ws5=$(( $1*10 + 5 ))
|
||||
ws6=$(( $1*10 + 6 ))
|
||||
ws7=$(( $1*10 + 7 ))
|
||||
ws8=$(( $1*10 + 8 ))
|
||||
ws9=$(( $1*10 + 9 ))
|
||||
ws10=$(( $1*10 + 10 ))
|
||||
|
||||
#1
|
||||
i3-msg "exec xdg-open obsidian://open?vault=База%20знаний"
|
||||
|
||||
#2
|
||||
chromium --class=chromium-main &
|
||||
|
||||
#3
|
||||
chromium --class=chromium-invest --user-data-dir=$HOME/.config/Invest &
|
||||
|
||||
#8-10
|
||||
i3-msg "workspace ${ws8}; exec i3-sensible-terminal --title \"term_main_8\""
|
||||
i3-msg "workspace ${ws8}; exec i3-sensible-terminal --title \"term_main_9\""
|
||||
i3-msg "workspace ${ws8}; exec i3-sensible-terminal --title \"term_main_10\""
|
||||
|
||||
sleep 6
|
||||
i3-msg "[title=\".* - База знаний - Obsidian.*\"] move container to workspace ${ws1}"
|
||||
i3-msg "[title=\"term_main_8\"] move container to workspace ${ws8}"
|
||||
i3-msg "[title=\"term_main_9\"] move container to workspace ${ws9}"
|
||||
i3-msg "[title=\"term_main_10\"] move container to workspace ${ws10}"
|
||||
i3-msg "[class=\"^chromium-main$\"] move container to workspace ${ws2}"
|
||||
i3-msg "[class=\"^chromium-invest$\"] move container to workspace ${ws3}"
|
||||
6
manager/workspaces/obsidian_fix
Executable file
6
manager/workspaces/obsidian_fix
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
i3-msg "exec xdg-open obsidian://open?vault=База%20знаний"
|
||||
i3-msg "exec xdg-open obsidian://open?vault=PIVODEVAT"
|
||||
i3-msg "exec xdg-open obsidian://open?vault=Black%20Education"
|
||||
i3-msg "exec xdg-open obsidian://open?vault=PunkCraft"
|
||||
26
manager/workspaces/pivodevat
Executable file
26
manager/workspaces/pivodevat
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
ws1=$(( $1*10 + 1 ))
|
||||
ws2=$(( $1*10 + 2 ))
|
||||
ws3=$(( $1*10 + 3 ))
|
||||
ws4=$(( $1*10 + 4 ))
|
||||
ws5=$(( $1*10 + 5 ))
|
||||
ws6=$(( $1*10 + 6 ))
|
||||
ws7=$(( $1*10 + 7 ))
|
||||
ws8=$(( $1*10 + 8 ))
|
||||
ws9=$(( $1*10 + 9 ))
|
||||
ws10=$(( $1*10 + 10 ))
|
||||
|
||||
#1
|
||||
i3-msg "exec xdg-open obsidian://open?vault=PIVODEVAT"
|
||||
|
||||
#2
|
||||
chromium --class=chromium-media --user-data-dir=$HOME/.config/media &
|
||||
|
||||
|
||||
|
||||
i3-msg "workspace $ws9; exec flatpak run org.remmina.Remmina"
|
||||
|
||||
sleep 6
|
||||
i3-msg "[title=\".* - PIVODEVAT - Obsidian.*\"] move container to workspace $ws1"
|
||||
i3-msg "[class=\"^chromium-media$\"] move container to workspace $ws2"
|
||||
51
manager/workspaces/punkcraft
Executable file
51
manager/workspaces/punkcraft
Executable file
@ -0,0 +1,51 @@
|
||||
#!/bin/bash
|
||||
|
||||
ws1=$(( $1*10 + 1 ))
|
||||
ws2=$(( $1*10 + 2 ))
|
||||
ws3=$(( $1*10 + 3 ))
|
||||
ws4=$(( $1*10 + 4 ))
|
||||
ws5=$(( $1*10 + 5 ))
|
||||
ws6=$(( $1*10 + 6 ))
|
||||
ws7=$(( $1*10 + 7 ))
|
||||
ws8=$(( $1*10 + 8 ))
|
||||
ws9=$(( $1*10 + 9 ))
|
||||
ws10=$(( $1*10 + 10 ))
|
||||
|
||||
#1
|
||||
i3-msg "exec xdg-open obsidian://open?vault=PunkCraft"
|
||||
|
||||
#2
|
||||
chromium --class=chromium-punkcraft --user-data-dir=$HOME/.config/punkcraft &
|
||||
|
||||
#3
|
||||
i3-msg "workspace $ws3; exec i3-sensible-terminal --title \"term_pnk3\""
|
||||
|
||||
#7
|
||||
i3-msg "workspace $ws7; exec dbeaver"
|
||||
|
||||
#8
|
||||
i3-msg "workspace $ws8; exec krita"
|
||||
|
||||
#9
|
||||
designer ~/dev/punkcraft/launcher/src/resources/mainwindow.ui &
|
||||
|
||||
#10
|
||||
tmux new-session -d -s velocity -c /home/xuy/dev/punkcraft/velocity 'nvim .'
|
||||
tmux new-session -d -s sponge -c /home/xuy/dev/punkcraft/sponge 'nvim .'
|
||||
tmux new-session -d -s forge -c /home/xuy/dev/punkcraft/forge 'nvim .'
|
||||
tmux new-session -d -s launcher -c /home/xuy/dev/punkcraft/launcher 'nvim .'
|
||||
i3-msg "workspace $ws10; exec i3-sensible-terminal --title \"term_pnk10\" -e \"tmux attach -t forge\""
|
||||
|
||||
|
||||
sleep 6
|
||||
i3-msg "[title=\".* - PunkCraft - Obsidian.*\"] move container to workspace $ws1"
|
||||
i3-msg "[class=\"chromium-punkcraft\"] move container to workspace $ws2"
|
||||
i3-msg "[title=\"term_pnk7\"] move container to workspace $ws3"
|
||||
i3-msg "[class=\"krita\"] move container to workspace $ws8"
|
||||
i3-msg "[class=\"Designer\"] move container to workspace $ws9"
|
||||
i3-msg "[title=\"term_pnk10\"] move container to workspace $ws10"
|
||||
#i3-msg "[title=\"Qt.*Designer\"] move container to workspace 49"
|
||||
|
||||
sleep 7
|
||||
i3-msg "[class=\"DBeaver\"] move container to workspace $ws7"
|
||||
|
||||
Reference in New Issue
Block a user