mirror of
https://github.com/rileyrg/linux-init.git
synced 2024-09-29 05:37:29 +02:00
sway-lid off for a sec. scratchpad tweaks..
This commit is contained in:
parent
c4fa35e998
commit
6c0f701bd6
5 changed files with 24 additions and 21 deletions
15
README.md
15
README.md
|
@ -843,10 +843,10 @@ bindsym $mod+d exec $menu
|
|||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
for_window [title=^Scratch] move container to scratchpad
|
||||
|
||||
```
|
||||
|
||||
|
@ -1508,9 +1508,9 @@ bindsym $mod+Control+t exec sway-notify "Opening NEW terminal instance" && alacr
|
|||
exec sway-kanshi
|
||||
exec sway-idle
|
||||
exec '[ -f "$HOME/.sway-autostart" ] && . "$HOME/.sway-autostart" && (sleep 1 && sway-notify "~/.sway-autostart processed")'
|
||||
exec sleep 1 && swaymsg workspace $ws1
|
||||
exec sleep 2 && gpg-cache
|
||||
exec sleep 2 && $editor
|
||||
exec gpg-cache
|
||||
exec $editor
|
||||
exec swaymsg workspace $ws1
|
||||
```
|
||||
|
||||
|
||||
|
@ -1695,8 +1695,9 @@ exec swayidle -w \
|
|||
#!/usr/bin/bash
|
||||
# Maintained in linux-config.org
|
||||
m="$(swaymsg -t get_outputs | jq -r '.[0].name')"
|
||||
swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
#swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
#swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
echo $m
|
||||
```
|
||||
|
||||
|
||||
|
@ -1762,7 +1763,7 @@ export SWAYSOCK=/run/user/$(id -u)/sway-ipc.$(id -u).$(pgrep -x sway).sock
|
|||
```bash
|
||||
#!/usr/bin/bash
|
||||
#Maintained in linux-config.org
|
||||
exec oneterminal "${1:-Terminal}" ""
|
||||
exec oneterminal "${1:-ScratchTerminal}" ""
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/bash
|
||||
# Maintained in linux-config.org
|
||||
m="$(swaymsg -t get_outputs | jq -r '.[0].name')"
|
||||
swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
#swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
#swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
echo $m
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
#!/usr/bin/bash
|
||||
#Maintained in linux-config.org
|
||||
exec oneterminal "${1:-Terminal}" ""
|
||||
exec oneterminal "${1:-ScratchTerminal}" ""
|
||||
|
|
|
@ -55,10 +55,10 @@ gaps outer 2
|
|||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
for_window [title=^Scratch] move container to scratchpad
|
||||
|
||||
# change focus
|
||||
# bindsym $mod+h focus left
|
||||
|
@ -254,8 +254,8 @@ exec waybar
|
|||
exec sway-kanshi
|
||||
exec sway-idle
|
||||
exec '[ -f "$HOME/.sway-autostart" ] && . "$HOME/.sway-autostart" && (sleep 1 && sway-notify "~/.sway-autostart processed")'
|
||||
exec sleep 1 && swaymsg workspace $ws1
|
||||
exec sleep 2 && gpg-cache
|
||||
exec sleep 2 && $editor
|
||||
exec gpg-cache
|
||||
exec $editor
|
||||
exec swaymsg workspace $ws1
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
|
|
@ -1364,10 +1364,10 @@ gaps outer 2
|
|||
|
||||
# Move the currently focused window to the scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
|
||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||
# If there are multiple scratchpad windows, this command cycles through them.
|
||||
bindsym $mod+minus scratchpad show
|
||||
for_window [title=^Scratch] move container to scratchpad
|
||||
|
||||
#+end_src
|
||||
*** navigation :navigation
|
||||
|
@ -1992,9 +1992,9 @@ Thank you https://github.com/deanproxy/dotfiles/blob/master/linux/i3/scripts/blu
|
|||
exec sway-kanshi
|
||||
exec sway-idle
|
||||
exec '[ -f "$HOME/.sway-autostart" ] && . "$HOME/.sway-autostart" && (sleep 1 && sway-notify "~/.sway-autostart processed")'
|
||||
exec sleep 1 && swaymsg workspace $ws1
|
||||
exec sleep 2 && gpg-cache
|
||||
exec sleep 2 && $editor
|
||||
exec gpg-cache
|
||||
exec $editor
|
||||
exec swaymsg workspace $ws1
|
||||
#+end_src
|
||||
*** library include
|
||||
#+begin_src conf
|
||||
|
@ -2154,8 +2154,9 @@ Just a gathering place of locky/suspendy type things...
|
|||
#!/usr/bin/bash
|
||||
# Maintained in linux-config.org
|
||||
m="$(swaymsg -t get_outputs | jq -r '.[0].name')"
|
||||
swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
#swaymsg bindswitch lid:on exec "sway-screen disable $m"
|
||||
#swaymsg bindswitch lid:off exec "sway-screen enable $m"
|
||||
echo $m
|
||||
#+end_src
|
||||
*** ~/bin/sway/sway-lock
|
||||
:PROPERTIES:
|
||||
|
@ -2215,7 +2216,7 @@ Just a gathering place of locky/suspendy type things...
|
|||
#+begin_src bash :tangle "~/bin/sway/sway-terminal"
|
||||
#!/usr/bin/bash
|
||||
#Maintained in linux-config.org
|
||||
exec oneterminal "${1:-Terminal}" ""
|
||||
exec oneterminal "${1:-ScratchTerminal}" ""
|
||||
#+end_src
|
||||
*** ~/bin/sway/sway-display-swap
|
||||
https://i3wm.org/docs/user-contributed/swapping-workspaces.html
|
||||
|
|
Loading…
Reference in a new issue