Drew DeVault
|
60ce81e06a
|
Add pretty printing to swaymsg
If stdout is a tty, it will pretty print unless -r (--raw) is given.
Sample outputs:
```
~/s/s/build > ./bin/swaymsg fullscreen toggle
Error: Permission denied for fullscreen toggle via IPC
~/s/s/build > ./bin/swaymsg -t get_workspaces
Workspace 3:三
Output: DVI-I-1
Layout: splith
Workspace 1:一 (off-screen)
Output: HDMI-A-1
Layout: splith
Workspace 5:五 (focused)
Output: HDMI-A-1
Layout: splith
~/s/s/build > ./bin/swaymsg -t get_inputs
Input device Metadot - Das Keyboard Das Keyboard
Type: Keyboard
Sway ID: 9456:320:Metadot_-_Das_Keyboard_Das_Keyb
Input device Wacom Intuos S 2 Pen
Type: Tablet tool
Sway ID: 1386:827:Wacom_Intuos_S_2
Input device Wacom Intuos S 2 Pad
Type: Tablet pad
Sway ID: 1386:827:Wacom_Intuos_S_2
Input device Logitech Gaming Mouse G502
Type: Keyboard, Mouse
Sway ID: 1133:49277:Logitech_Gaming_Mous
~/s/s/build > ./bin/swaymsg -t get_outputs
Output DVI-I-1
Geometry: 1920x1080 @ 3840,0
Scale factor: 1x
Workspace: 3:三
Output DVI-D-1
Geometry: 1920x1080 @ 0,0
Scale factor: 1x
Workspace: 4:四
Output HDMI-A-1
Geometry: 1920x1080 @ 1920,0
Scale factor: 1x
Workspace: 5:五
```
|
8 years ago |
Mykyta Holubakha
|
e714fbcbec
|
Add window instance support
|
8 years ago |
Hummer12007
|
d59af31256
|
Fix workspace layouts in json data
|
8 years ago |
Drew DeVault
|
10c8b73075
|
Handle calloc failures
|
8 years ago |
D.B
|
58eb7ac19f
|
change bar colors from char[10] to *char
This commit removes has_* booleans from bar color struct. It also
generalizes of functions in commands/bar/colors.c.
|
8 years ago |
D.B
|
ad4d21d60b
|
add bar colours for focused_(workspace|statusline|separator)
If these aren't defined in config, color settings without 'focused_'
prefix are used as a fallback.
|
8 years ago |
D.B
|
39ee0ec552
|
use urgent_ws color in swaybar if binding_mode is undefined
|
8 years ago |
Zandr Martin
|
ba581c4442
|
consolidate nodes json
|
8 years ago |
Zandr Martin
|
7d947fdb95
|
add unique IDs to containers
|
8 years ago |
Zandr Martin
|
0516dba3f6
|
implement "focused container" feature for swaygrab
|
8 years ago |
Zandr Martin
|
87080bb9cc
|
take four!
|
8 years ago |
Drew DeVault
|
416417a54c
|
Reorganize includes
|
8 years ago |
Tony Crisci
|
50901a0892
|
ipc: always include nodes in views
This is for i3 (and i3ipc library) compatability.
|
8 years ago |
Tony Crisci
|
c98e91f01f
|
Use uintptr_t for ipc container id
This is for compatability with i3.
|
8 years ago |
Zandr Martin
|
9fa92951fe
|
remove unmanaged nodes from get_tree
|
8 years ago |
Drew DeVault
|
cad085ed9d
|
Update IPC JSON responses for HiDPI setups
|
8 years ago |
Mykyta Holubakha
|
f022628a2e
|
Handle transient_for
|
8 years ago |
Mykyta Holubakha
|
f52daa26c9
|
Unite describe_view and describe_window
|
8 years ago |
Mykyta Holubakha
|
2029fef6b8
|
More progress on window events
|
8 years ago |
Drew DeVault
|
3bb880bf20
|
Implement configurable wrapping on bar ws scroll
|
8 years ago |
Hummer12007
|
cf7c6c5822
|
Fix a memory leak
|
8 years ago |
Mykyta Holubakha
|
ea7917784d
|
Fix build on x86
|
8 years ago |
Zandr Martin
|
c65d6e6e95
|
get_tree json fixes
- null pointer check against container names
- use actual json null values instead of "null" strings
- add "visible" property to all containers
|
9 years ago |
Zandr Martin
|
f8a94f2f4b
|
fix typo in ipc-json.c
|
9 years ago |
Zandr Martin
|
15a324b0d3
|
implement `get_tree` command
|
9 years ago |