Tassilo Horn
e93a833401
Better config formating in README
...
also add /usr/share/icons/hicolor/scalable/apps to default for icon_dirs.
4 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.
4 years ago
Tassilo Horn
3ba4779545
Make clippy happy
4 years ago
Tassilo Horn
541de88770
Don't show empty workspaces; a bit refactoring
4 years ago
Tassilo Horn
daac2691bc
New {app_icon} replacement for window_format
4 years ago
Tassilo Horn
c162a38220
Make declaration order equal usage order
4 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.
4 years ago
Tassilo Horn
b67ba9d5a4
launcher -> menu program
4 years ago
Tassilo Horn
922db0aee1
Upgrade to swayipc-3.0.0-alpha.3
4 years ago
Tassilo Horn
f9d7b0d805
A bit of refactoring; document configuration in README.md
4 years ago
Tassilo Horn
08b69d788f
A bit renaming; add license notice to every file
4 years ago
Tassilo Horn
41199b2f09
Actually react to urgency and impove default config
4 years ago
Tassilo Horn
c3764926c5
Implement the actual usage of the config
4 years ago
Tassilo Horn
2db7700388
Loading and saving the config
4 years ago
Tassilo Horn
6e746e30ee
Start implementing a config
4 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
Tassilo Horn
0f1989acd7
New switch-to-urgent-or-lru-window command; add module docs
4 years ago
Tassilo Horn
26aeddd34e
Some simplifications; release v0.0.8
4 years ago
Tassilo Horn
b8c0799ffc
Don't get into a restart loop if swaymsg monitor process exited
4 years ago
Tassilo Horn
dcfe4ccc99
Fix ConEvent deserialization issue
...
In a workspace Reload event, both current and old workspace are actually null.
4 years ago
Tassilo Horn
47d47f47f5
Display swayr/swaymsg commands in bold
4 years ago
Tassilo Horn
f7a0ca24f5
New subcommand execute-swayr-command
4 years ago
Tassilo Horn
a645d067b0
New subcommand quit-workspace-or-window
4 years ago
Tassilo Horn
f29c5277f9
Use wofi --parse-search in order not to match pango markup
4 years ago
Tassilo Horn
30770c8e5c
Fix a deserialization error with workspace events
4 years ago
Tassilo Horn
a17271a918
New subcommand switch-workspace-or-window
4 years ago
Tassilo Horn
d7be7cecbb
Some refinements
4 years ago
Tassilo Horn
aef14305f8
New subcommand execute-swaymsg-command
4 years ago
Tassilo Horn
6b872e2237
Add switch-workspace subcommand
4 years ago
Tassilo Horn
8530b78d97
Reorganize a bit
4 years ago
Tassilo Horn
12f8da1bb0
Refactor and improve
4 years ago
Tassilo Horn
f9029af82d
New quit-window command
4 years ago
Tassilo Horn
3bf88f2782
Add error message
4 years ago
Tassilo Horn
5f58046319
Don't panic the window event handler thread on unexpected messages
4 years ago