Tassilo Horn
3f090e290c
New commands: {Next,Prev}{Tiled,TabbedOrStacked}Window
3 years ago
Tassilo Horn
6cbce99892
Improve tab_current_workspace (less flicker)
3 years ago
Tassilo Horn
5ec67b307b
Improve layouting commands and update deps
3 years ago
Tassilo Horn
8cea829918
Fix a clippy warning
3 years ago
Tassilo Horn
2210af2944
Implemented some layouting commands
3 years ago
Tassilo Horn
eb30c55483
Clippy suggestions and update deps
3 years ago
Tassilo Horn
e2c4645aeb
Workaround for rofi's image escape sequences (bug #4 )
3 years ago
Tassilo Horn
9e6ed16192
tilde-expand directories in icon_dirs
3 years ago
Tassilo Horn
ba0f4d27ab
Also consider /usr/local/share/applications/ in desktop file search
3 years ago
Tassilo Horn
974073f648
Improve app_icon handling
3 years ago
Tassilo Horn
a1f5f6c60f
Minor change
3 years ago
Tassilo Horn
247f7835c1
Config access refactoring
3 years ago
Tassilo Horn
161a092a75
Also escape & (in addition to < and >) when html_escape is true
3 years ago
Tassilo Horn
81bafedf36
New {marks} placeholder in window_format; format.html_escape config option
3 years ago
Tassilo Horn
2fc88d65da
Better output for auto_tile debugging
3 years ago
Tassilo Horn
c3bccfcaf2
Also auto_tile on Focus events
...
Actually, I'd rather wish there was a Resize event so that one could auto_tile
after resizes (a window might become to small for splith or wide enough for
splith) but there is no such event. So by switching focus back and forth, one
can have the same effect.
3 years ago
Tassilo Horn
d45f702458
Add assertion about our assumption that root's children must be outputs
3 years ago
Tassilo Horn
045e8e7411
Implement auto_tile feature
3 years ago
Tassilo Horn
e93a833401
Better config formating in README
...
also add /usr/share/icons/hicolor/scalable/apps to default for icon_dirs.
3 years ago
Tassilo Horn
7867e8d7b2
Fixes for icon retrieval
...
It didn't work for desktop files like org.gnome.Nautilus.desktop.
Also added a workaround for apps like org.gnome.eog.desktop whose app_id is not
org.gnome.eog but just eog.
3 years ago
Tassilo Horn
3ba4779545
Make clippy happy
3 years ago
Tassilo Horn
541de88770
Don't show empty workspaces; a bit refactoring
3 years ago
Tassilo Horn
daac2691bc
New {app_icon} replacement for window_format
3 years ago
Tassilo Horn
c162a38220
Make declaration order equal usage order
3 years ago
Jan Beich
71a9c390e7
Respect XDG_RUNTIME_DIR for /path/to/swayr-%s.sock
...
/run may not exist outside of systemd distributions. Instead of guessing
rely on XDG_RUNTIME_DIR and fall back to /tmp. XDG_RUNTIME_DIR is always
defined under Wayland, so the fallback would only be triggered if swayr
is used from X11 or VT/serial console.
3 years ago
Tassilo Horn
b67ba9d5a4
launcher -> menu program
3 years ago
Tassilo Horn
922db0aee1
Upgrade to swayipc-3.0.0-alpha.3
3 years ago
Tassilo Horn
f9d7b0d805
A bit of refactoring; document configuration in README.md
3 years ago
Tassilo Horn
08b69d788f
A bit renaming; add license notice to every file
3 years ago
Tassilo Horn
41199b2f09
Actually react to urgency and impove default config
3 years ago
Tassilo Horn
c3764926c5
Implement the actual usage of the config
3 years ago
Tassilo Horn
2db7700388
Loading and saving the config
3 years ago
Tassilo Horn
6e746e30ee
Start implementing a config
3 years ago
Tassilo Horn
52fdedc534
Remove unneeded "extern crate" statements
4 years ago
Tassilo Horn
dd348a4518
Small rearrangement to stop clippy from suggesting a fix for a non-issue
4 years ago
Tassilo Horn
b5ee04a1c2
Fix warnings new in the 2021 edition of rust
4 years ago
Tassilo Horn
334a6a6354
Fix: its shortcuts_inhibitor not "shortcuts inhibitor"
4 years ago
Tassilo Horn
ddee71bac5
Don't consider scratchpad windows in switch-to-urgent-or-lru-window ( fixes #2 )
4 years ago
Tassilo Horn
233be20479
Refactor exec_swayr_cmd args into separat struct
4 years ago
Tassilo Horn
44492a77e0
Run sway commands via IPC connection instead on shelling out and calling swaymsg
4 years ago
Tassilo Horn
fdcb1a0bf4
scratchpad windows aren't considered in next-/prev-window
...
fixes #1
4 years ago
Tassilo Horn
8c396ff27d
con_props -> extra_props
4 years ago
Tassilo Horn
4ff03e7038
con_props -> extra_props
4 years ago
Tassilo Horn
e3c5108bd8
Move demon init into demon.rs
4 years ago
Tassilo Horn
d7f062e0ae
Gracefully restart after 3 seconds on error
4 years ago
Tassilo Horn
f14d70a4f0
Restart connection & subscription on error
4 years ago
Tassilo Horn
dd52f6d8c3
Minor change
4 years ago
Tassilo Horn
5c348fb7c4
Execute commands in the demon instead of the client
4 years ago
Tassilo Horn
32859713d4
Use swayipc crate instead of home-grown IPC structs
...
That saves a lot of boring code. :-)
4 years ago
Tassilo Horn
cdba9b1186
New commands: next-window & prev-window
4 years ago