Compare commits
No commits in common. "75af24765cd6f71f363f029d42e2d5c2113ef571" and "5db724763e5fd2d137850c3043cc096426fd9060" have entirely different histories.
75af24765c
...
5db724763e
1 changed files with 3 additions and 34 deletions
|
@ -299,15 +299,15 @@ bindsym $mod+F4 kill
|
||||||
# Open the application launcher:
|
# Open the application launcher:
|
||||||
bindsym $mod+space exec $menu
|
bindsym $mod+space exec $menu
|
||||||
|
|
||||||
# Open the mail client
|
# Open the application launcher (alternate version):
|
||||||
bindsym $mod+m exec thunderbird
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
|
||||||
#===============================#
|
#===============================#
|
||||||
# Default windows configuration #
|
# Default windows configuration #
|
||||||
#===============================#
|
#===============================#
|
||||||
|
|
||||||
assign [app_id="firefox"] workspace $ws2
|
assign [app_id="firefox"] workspace $ws2
|
||||||
assign [app_id="thunderbird"] workspace $ws3
|
|
||||||
assign [class="thunderbird-default"] workspace $ws3
|
assign [class="thunderbird-default"] workspace $ws3
|
||||||
for_window [class="TelegramDesktop"] resize set width 30ppt
|
for_window [class="TelegramDesktop"] resize set width 30ppt
|
||||||
assign [class="TelegramDesktop"] workspace $ws3
|
assign [class="TelegramDesktop"] workspace $ws3
|
||||||
|
@ -318,37 +318,6 @@ for_window [class="Xreader"] resize set width 40ppt
|
||||||
for_window [app_id="org.pwmt.zathura"] resize set width 40ppt
|
for_window [app_id="org.pwmt.zathura"] resize set width 40ppt
|
||||||
for_window [app_id="gnome-calendar"] floating enable
|
for_window [app_id="gnome-calendar"] floating enable
|
||||||
|
|
||||||
#===============================#
|
|
||||||
# Startup app #
|
|
||||||
#===============================#
|
|
||||||
|
|
||||||
exec nextcloud
|
|
||||||
|
|
||||||
#===============================#
|
|
||||||
# Dropdown terminal #
|
|
||||||
#===============================#
|
|
||||||
# source:
|
|
||||||
#https://www.reddit.com/r/swaywm/comments/goxsce/comment/inrdg0k
|
|
||||||
|
|
||||||
# Start with specific app_id/class
|
|
||||||
set $ddterm-id dropdown-terminal
|
|
||||||
set $ddterm $term --class $ddterm-id
|
|
||||||
set $ddterm-resize resize set 100ppt 100ppt, move position 0 0
|
|
||||||
|
|
||||||
# resize/move new dropdown terminal windows
|
|
||||||
for_window [app_id="$ddterm-id"] {
|
|
||||||
floating enable
|
|
||||||
$ddterm-resize
|
|
||||||
move to scratchpad
|
|
||||||
scratchpad show
|
|
||||||
}
|
|
||||||
|
|
||||||
# show existing or start new dropdown terminal
|
|
||||||
bindsym Ctrl+Escape exec swaymsg '[app_id="$ddterm-id"] scratchpad show' \
|
|
||||||
|| $ddterm -e tmuxinator start default \
|
|
||||||
&& sleep .1 && swaymsg '[app_id="$ddterm-id"] $ddterm-resize'
|
|
||||||
# ^-- resize again, case moving to different output
|
|
||||||
|
|
||||||
#======#
|
#======#
|
||||||
# Misc #
|
# Misc #
|
||||||
#======#
|
#======#
|
||||||
|
|
Loading…
Add table
Reference in a new issue