sway config

This commit is contained in:
rileyrg 2023-11-28 13:29:43 +01:00
parent ec64b63056
commit 72b659c7c8
5 changed files with 22 additions and 20 deletions

View file

@ -1,4 +1,6 @@
- var/eln-cache/
- var/dap/
- var/url/cache/
- emacs-config/straight/
# - emacs-config/straight/build
# - emacs-config/straight/build-cache.el
# - emacs-config/straight/modified

View file

@ -1062,6 +1062,7 @@ I want a key to create and then toggle a terminal.
#assign [app_id="Alacritty"] $ws1
assign [class="Ardour"] $ws6
assign [class="Code"] $ws3
assign [class="firefox"] $ws2
assign [class="Signal"] $ws8
assign [class="jetbrains-studio"] $ws3
assign [class="Emacs"] $ws1
@ -1892,7 +1893,7 @@ Load a host specific kanshi file if it exists
{
output eDP-1 disable
output DP-1 enable mode 2560x1440 position 0,0 scale 1.1
output DP-1 enable mode 2560x1440 position 0,0
}
7. config-x1c6
@ -2012,7 +2013,7 @@ but in both cases we check if it exists in the sway tree, and, if not, set it it
notify-send -t 3000 "${@}" || true
<a id="org00e5a7b"></a>
<a id="org487bf11"></a>
### ~/bin/sway/sway-screen
@ -2058,7 +2059,7 @@ See <https://www.reddit.com/r/swaywm/comments/10ys0oy/comment/j80lu88/?context=3
### ~/bin/sway/sway-screen-menu
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#org00e5a7b).
Gui to select a display and enable/disable it. Calls down to [~/bin/sway/sway-screen](#org487bf11).
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
@ -3376,7 +3377,7 @@ strip debug info and store elsewhere
pulse/pipeline volume control.
Pass in a volume string to change the volume (man pactl) or on/off/toggle. It wont allow larger than 100% volume. Always returns the current volume volume/status.
See [examples](#org62f68f6).
See [examples](#orge683a34).
#!/usr/bin/env bash
# Maintained in linux-config.org
@ -3410,7 +3411,7 @@ See [examples](#org62f68f6).
echo "$(getVolume)"
<a id="org62f68f6"></a>
<a id="orge683a34"></a>
### Examples:
@ -3878,8 +3879,7 @@ See [XMGNeo 15 keyboard backlight controller](https://github.com/pobrn/ite8291r3
## late addition to .config/sway/config
exec $editor
workspace $ws2
exec sway-www
exec 'sleep 2; swaymsg workspace $ws1'
exec "sway-www"
exec "sway-editor"
exec "sleep 1 && swaymsg workspace $ws1"

View file

@ -4,5 +4,5 @@ output eDP-1 enable mode 1920x1080 position 0,0
{
output eDP-1 disable
output DP-1 enable mode 2560x1440 position 0,0 scale 1.1
output DP-1 enable mode 2560x1440 position 0,0
}

View file

@ -249,6 +249,7 @@ bindsym $mod+Control+q mode "$mode_system"
#assign [app_id="Alacritty"] $ws1
assign [class="Ardour"] $ws6
assign [class="Code"] $ws3
assign [class="firefox"] $ws2
assign [class="Signal"] $ws8
assign [class="jetbrains-studio"] $ws3
assign [class="Emacs"] $ws1
@ -299,7 +300,6 @@ for_window [class="STM32CubeIDE"] floating enable
assign [class="STM32CubeIDE"] $ws3
assign [title="STM32CubeIDE"] $ws3
exec $editor
workspace $ws2
exec sway-www
exec 'sleep 2; swaymsg workspace $ws1'
exec "sway-www"
exec "sway-editor"
exec "sleep 1 && swaymsg workspace $ws1"

View file

@ -1854,6 +1854,7 @@ A basic [[https://github.com/yory8/clipman][clipboard manager]] for Wayland, wit
#assign [app_id="Alacritty"] $ws1
assign [class="Ardour"] $ws6
assign [class="Code"] $ws3
assign [class="firefox"] $ws2
assign [class="Signal"] $ws8
assign [class="jetbrains-studio"] $ws3
assign [class="Emacs"] $ws1
@ -2687,7 +2688,7 @@ output HDMI-A-2 enable mode 1920x1080 position 2560,116
{
output eDP-1 disable
output DP-1 enable mode 2560x1440 position 0,0 scale 1.1
output DP-1 enable mode 2560x1440 position 0,0
}
#+end_src
@ -4642,8 +4643,7 @@ https://github.com/Jwink3101/syncrclone
#+end_src
** late addition to .config/sway/config
#+begin_src conf :tangle ~/.config/sway/config
exec $editor
workspace $ws2
exec sway-www
exec 'sleep 2; swaymsg workspace $ws1'
exec "sway-www"
exec "sway-editor"
exec "sleep 1 && swaymsg workspace $ws1"
#+end_src