Add proper script to toggle workspace window
This commit is contained in:
22
i3/config.j2
22
i3/config.j2
@@ -226,27 +226,7 @@ assign [class="^Wine$"] $workspace10
|
||||
|
||||
bindsym $mod+Shift+v exec --no-startup-id redshift-toggle
|
||||
|
||||
# bindsym $mod+$pim_toggle \
|
||||
# mark --add _source; \
|
||||
# focus output eDP-1; \
|
||||
# mark --add _origin; \
|
||||
# workspace $workspace10; \
|
||||
# mark --add _destination; \
|
||||
# [con_mark="^_destination$"] swap container with mark "_source"; \
|
||||
# [con_mark="^_source$"] focus; unmark _source; \
|
||||
# [con_mark="^_origin$"] focus; unmark _origin; \
|
||||
# [con_mark="^_destination$"] focus; unmark _destination; \
|
||||
|
||||
bindsym $mod+$pim_toggle \
|
||||
unmark _destination; \
|
||||
mark _source; \
|
||||
workspace $workspace10; \
|
||||
mark --add _destination; \
|
||||
[con_mark="^_destination$"] swap container with mark "_source"; \
|
||||
[con_mark="^_source$"] focus; \
|
||||
unmark _source; \
|
||||
[con_mark="^_destination$"] focus; \
|
||||
unmark _destination;
|
||||
bindsym $mod+$pim_toggle exec --no-startup-id ~/.i3/scripts/swap-from-workspace.sh $workspace10
|
||||
|
||||
################################################################################
|
||||
### MODES ######################################################################
|
||||
|
||||
Reference in New Issue
Block a user