services: Add autostarting dropdown-terminal
This commit is contained in:
parent
440629f3c3
commit
1c45202f18
4 changed files with 46 additions and 9 deletions
|
|
@ -90,8 +90,8 @@ bindsym $mod+ctrl+v sticky toggle
|
|||
|
||||
# set up scratch pad for todo and 'drop-down' terminal
|
||||
# call scratchpads to current workspace -- scratchpads started on i3 starting (see end of file)
|
||||
bindsym $mod+t [class="Alacritty" instance="scratchpad" title="todo.md"] scratchpad show
|
||||
bindsym $mod+Shift+Return [class="Alacritty" instance="scratchpad" title="dropdown"] scratchpad show
|
||||
bindsym $mod+t [class="scratchpad" title="dropdown-todo"] scratchpad show
|
||||
bindsym $mod+Shift+Return [class="scratchpad" title="dropdown-terminal"] scratchpad show
|
||||
|
||||
# GAP MANAGEMENT
|
||||
# disable titles and borders, necessary for i3gaps to work apparently
|
||||
|
|
@ -196,10 +196,13 @@ for_window [class="^spotify$"] move to workspace 10
|
|||
|
||||
# set up scratch pad for todo and 'drop-down' terminal
|
||||
# to be called to current workspace when needed
|
||||
exec --no-startup-id alacritty --title "todo.md" --class "scratchpad,Alacritty" -e nvim -c ":set nonumber norelativenumber noshowmode noruler laststatus=0 noshowcmd shortmess=F" ~/todo.md
|
||||
exec --no-startup-id alacritty --title "dropdown" --class scratchpad,Alacritty
|
||||
for_window [class="Alacritty" instance="scratchpad"] floating enable
|
||||
for_window [class="Alacritty" instance="scratchpad"] move scratchpad
|
||||
exec --no-startup-id alacritty --title "dropdown-todo" --class "Alacritty,scratchpad" -e nvim -c ":set nonumber norelativenumber noshowmode noruler laststatus=0 noshowcmd shortmess=F" ~/documents/records/todo.md
|
||||
|
||||
# windows with class floating will automatically float
|
||||
# windows with class scratchpad will automatically float and be sent to the scratchpad
|
||||
for_window [class="floating"] floating enable
|
||||
for_window [class="scratchpad"] floating enable
|
||||
for_window [class="scratchpad"] move scratchpad
|
||||
|
||||
# autostart often used apps
|
||||
# needs to be done like this to both automatically start the apps on correct workspace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue