mirror of
https://github.com/rileyrg/linux-init.git
synced 2024-09-29 05:37:29 +02:00
sway config
This commit is contained in:
parent
ec64b63056
commit
72b659c7c8
5 changed files with 22 additions and 20 deletions
|
@ -1,4 +1,6 @@
|
||||||
- var/eln-cache/
|
- var/eln-cache/
|
||||||
- var/dap/
|
- var/dap/
|
||||||
- var/url/cache/
|
- var/url/cache/
|
||||||
- emacs-config/straight/
|
# - emacs-config/straight/build
|
||||||
|
# - emacs-config/straight/build-cache.el
|
||||||
|
# - emacs-config/straight/modified
|
||||||
|
|
18
README.md
18
README.md
|
@ -1062,6 +1062,7 @@ I want a key to create and then toggle a terminal.
|
||||||
#assign [app_id="Alacritty"] $ws1
|
#assign [app_id="Alacritty"] $ws1
|
||||||
assign [class="Ardour"] $ws6
|
assign [class="Ardour"] $ws6
|
||||||
assign [class="Code"] $ws3
|
assign [class="Code"] $ws3
|
||||||
|
assign [class="firefox"] $ws2
|
||||||
assign [class="Signal"] $ws8
|
assign [class="Signal"] $ws8
|
||||||
assign [class="jetbrains-studio"] $ws3
|
assign [class="jetbrains-studio"] $ws3
|
||||||
assign [class="Emacs"] $ws1
|
assign [class="Emacs"] $ws1
|
||||||
|
@ -1892,7 +1893,7 @@ Load a host specific kanshi file if it exists
|
||||||
|
|
||||||
{
|
{
|
||||||
output eDP-1 disable
|
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
|
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
|
notify-send -t 3000 "${@}" || true
|
||||||
|
|
||||||
|
|
||||||
<a id="org00e5a7b"></a>
|
<a id="org487bf11"></a>
|
||||||
|
|
||||||
### ~/bin/sway/sway-screen
|
### ~/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
|
### ~/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
|
:ID: 82455cae-1c48-48b2-a8b3-cb5d44eeaee9
|
||||||
|
|
||||||
|
@ -3376,7 +3377,7 @@ strip debug info and store elsewhere
|
||||||
|
|
||||||
pulse/pipeline volume control.
|
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.
|
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
|
#!/usr/bin/env bash
|
||||||
# Maintained in linux-config.org
|
# Maintained in linux-config.org
|
||||||
|
@ -3410,7 +3411,7 @@ See [examples](#org62f68f6).
|
||||||
echo "$(getVolume)"
|
echo "$(getVolume)"
|
||||||
|
|
||||||
|
|
||||||
<a id="org62f68f6"></a>
|
<a id="orge683a34"></a>
|
||||||
|
|
||||||
### Examples:
|
### Examples:
|
||||||
|
|
||||||
|
@ -3878,8 +3879,7 @@ See [XMGNeo 15 keyboard backlight controller](https://github.com/pobrn/ite8291r3
|
||||||
|
|
||||||
## late addition to .config/sway/config
|
## late addition to .config/sway/config
|
||||||
|
|
||||||
exec $editor
|
exec "sway-www"
|
||||||
workspace $ws2
|
exec "sway-editor"
|
||||||
exec sway-www
|
exec "sleep 1 && swaymsg workspace $ws1"
|
||||||
exec 'sleep 2; swaymsg workspace $ws1'
|
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@ output eDP-1 enable mode 1920x1080 position 0,0
|
||||||
|
|
||||||
{
|
{
|
||||||
output eDP-1 disable
|
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
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,6 +249,7 @@ bindsym $mod+Control+q mode "$mode_system"
|
||||||
#assign [app_id="Alacritty"] $ws1
|
#assign [app_id="Alacritty"] $ws1
|
||||||
assign [class="Ardour"] $ws6
|
assign [class="Ardour"] $ws6
|
||||||
assign [class="Code"] $ws3
|
assign [class="Code"] $ws3
|
||||||
|
assign [class="firefox"] $ws2
|
||||||
assign [class="Signal"] $ws8
|
assign [class="Signal"] $ws8
|
||||||
assign [class="jetbrains-studio"] $ws3
|
assign [class="jetbrains-studio"] $ws3
|
||||||
assign [class="Emacs"] $ws1
|
assign [class="Emacs"] $ws1
|
||||||
|
@ -299,7 +300,6 @@ for_window [class="STM32CubeIDE"] floating enable
|
||||||
assign [class="STM32CubeIDE"] $ws3
|
assign [class="STM32CubeIDE"] $ws3
|
||||||
assign [title="STM32CubeIDE"] $ws3
|
assign [title="STM32CubeIDE"] $ws3
|
||||||
|
|
||||||
exec $editor
|
exec "sway-www"
|
||||||
workspace $ws2
|
exec "sway-editor"
|
||||||
exec sway-www
|
exec "sleep 1 && swaymsg workspace $ws1"
|
||||||
exec 'sleep 2; swaymsg workspace $ws1'
|
|
||||||
|
|
|
@ -1854,6 +1854,7 @@ A basic [[https://github.com/yory8/clipman][clipboard manager]] for Wayland, wit
|
||||||
#assign [app_id="Alacritty"] $ws1
|
#assign [app_id="Alacritty"] $ws1
|
||||||
assign [class="Ardour"] $ws6
|
assign [class="Ardour"] $ws6
|
||||||
assign [class="Code"] $ws3
|
assign [class="Code"] $ws3
|
||||||
|
assign [class="firefox"] $ws2
|
||||||
assign [class="Signal"] $ws8
|
assign [class="Signal"] $ws8
|
||||||
assign [class="jetbrains-studio"] $ws3
|
assign [class="jetbrains-studio"] $ws3
|
||||||
assign [class="Emacs"] $ws1
|
assign [class="Emacs"] $ws1
|
||||||
|
@ -2687,7 +2688,7 @@ output HDMI-A-2 enable mode 1920x1080 position 2560,116
|
||||||
|
|
||||||
{
|
{
|
||||||
output eDP-1 disable
|
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
|
#+end_src
|
||||||
|
@ -4642,8 +4643,7 @@ https://github.com/Jwink3101/syncrclone
|
||||||
#+end_src
|
#+end_src
|
||||||
** late addition to .config/sway/config
|
** late addition to .config/sway/config
|
||||||
#+begin_src conf :tangle ~/.config/sway/config
|
#+begin_src conf :tangle ~/.config/sway/config
|
||||||
exec $editor
|
exec "sway-www"
|
||||||
workspace $ws2
|
exec "sway-editor"
|
||||||
exec sway-www
|
exec "sleep 1 && swaymsg workspace $ws1"
|
||||||
exec 'sleep 2; swaymsg workspace $ws1'
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue