659871de1e 
								
							
								 
							
						 
						
							
							
								
								fix swaymsg: errors are displayed again  
							
							... 
							
							
 
							
							Command errors didn't get displayed, because the success function didn't
accept objects 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								a1b5b93d29 
								
							
								 
							
						 
						
							
							
								
								Store sway_outputs so that they can be reenabled  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6f4cb2b29d 
								
							
								 
							
						 
						
							
							
								
								Add tree representation to IPC workspace description  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								508a76695c 
								
							
								 
							
						 
						
							
							
								
								swaymsg: Fix exit code  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								7af172ed0a 
								
									
								
							
								 
							
						 
						
							
							
								
								Delete old asciidoc man pages  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2da685e913 
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'origin/master' into scdoc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c72940837c 
								
							
								 
							
						 
						
							
							
								
								Implement IPC get_seats command  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								22f52b91ed 
								
							
								 
							
						 
						
							
							
								
								Add swaylock(1) and swaymsg(1)  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cb2a3e9036 
								
							
								 
							
						 
						
							
							
								
								swaymsg: Fix spelling in error message  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								4ab5506064 
								
									
								
							
								 
							
						 
						
							
							
								
								ipc: add output modes  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								51f6718581 
								
							
								 
							
						 
						
							
							
								
								swaymsg: convert to wlr_log  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								dc0e6d46fb 
								
							
								 
							
						 
						
							
							
								
								update json-c dep to 0.13  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								fff67906e1 
								
									
								
							
								 
							
						 
						
							
							
								
								Pretty-print all output info in swaymsg -t get_outputs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								a4c1270ef0 
								
							
								 
							
						 
						
							
							
								
								fix memory leak in swaymsg  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8b4d81114a 
								
							
								 
							
						 
						
							
							
								
								fix memory leak in swaymsg  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f2985000f3 
								
							
								 
							
						 
						
							
							
								
								ipc get_inputs  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								517af37cc9 
								
							
								 
							
						 
						
							
							
								
								remove relevant CMakeLists.txt  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1d702b6376 
								
							
								 
							
						 
						
							
							
								
								meson build swaymsg  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								758c60e836 
								
							
								 
							
						 
						
							
							
								
								fintune swaymsg manpage  
							
							... 
							
							
 
							
							Added a hint where to find the commands.
Also indicate that command is itself not a command, 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								6d83a59b46 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #1263  from nyorain/master  
							
							... 
							
							
 
							
							Implement get_clipboard ipc message 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								ef0c51b2f3 
								
							
								 
							
						 
						
							
							
								
								Fix github links in doc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1cca551c6f 
								
							
								 
							
						 
						
							
							
								
								Add get_clipbard ipc errors; Adapt swaymsg  
							
							... 
							
							
 
							
							Also increase the get_clipboard timeout to 30 secs 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c0f2acce4e 
								
							
								 
							
						 
						
							
							
								
								Rework get_clipboard implementation  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								02c75ebe37 
								
							
								 
							
						 
						
							
							
								
								Implement ipc get_clipboard  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								23a1e94402 
								
							
								 
							
						 
						
							
							
								
								Make asciidoc (and man pages) optional  
							
							... 
							
							
 
							
							And remove it from the build 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								173b338567 
								
							
								 
							
						 
						
							
							
								
								Add -DVERSION flag for release version numbers  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								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:五
``` 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9aed9d9359 
								
							
								 
							
						 
						
							
							
								
								UnGNUify the codebase  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								da26d69cb1 
								
							
								 
							
						 
						
							
							
								
								Fix build on FreeBSD  
							
							... 
							
							
 
							
							- Make sure CMake always finds absolute paths for Cairo, Pango and GdkPixbuf
- Add forgotten json-c include path to swaymsg/CMakeLists.txt
- Disable -Werror because of assert warnings
- Add correct /proc/pid/file path for FreeBSD
- Use libepoll-shim on FreeBSD
- Only use Linux capabilities on, well, Linux 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6535da7bde 
								
							
								 
							
						 
						
							
							
								
								swaymsg: pretty print ipc response  
							
							... 
							
							
 
							
							fixes  #809  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								5e253fdd9a 
								
							
								 
							
						 
						
							
							
								
								Correctly exit sway on errors.  
							
							... 
							
							
 
							
							Calling `exit` in sway_terminate prevents sway from correctly shutting
down (freeing data, cleanly terminating the ipc server, etc.).
A better way is to exit straight away if the failure occurs before
`wlc_run` and use sway_abort as usual if it occur when wlc is running. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								28081b7689 
								
							
								 
							
						 
						
							
							
								
								libinput  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								762a78be3c 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #292  from christophgysin/man  
							
							... 
							
							
 
							
							move manpages to subfolders 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								88368362df 
								
							
								 
							
						 
						
							
							
								
								swaymsg: add newline after response  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								99af7e7c9c 
								
							
								 
							
						 
						
							
							
								
								move manpages to subfolders  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								cce9c338c0 
								
							
								 
							
						 
						
							
							
								
								cmake: build common code only once  
							
							... 
							
							
 
							
							This creates (static) libraries for protocols/, common/, and wayland/. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								c9ce15aa18 
								
							
								 
							
						 
						
							
							
								
								cmake: remove subprojects  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2dedf206d7 
								
							
								 
							
						 
						
							
							
								
								cmake: use out-of-source build  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								f7ec3d00a0 
								
							
								 
							
						 
						
							
							
								
								cmake: use tabs instead of spaces  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								905966bcae 
								
							
								 
							
						 
						
							
							
								
								cmake: style consistency  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								2429266e3e 
								
							
								 
							
						 
						
							
							
								
								cmake: convert all cmake commands to lowercase  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								923c3245ac 
								
							
								 
							
						 
						
							
							
								
								Fix option parsing  
							
							... 
							
							
 
							
							Using 'flag' results in duplicate code paths for short and long options.
This broke the -q short option in swaymsg, because there was:
 {"quiet", no_argument, &quiet, 'q'}
Which will set quiet to 'q' and return 0, not 'q'. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								bf97a5ada5 
								
							
								 
							
						 
						
							
							
								
								swaymsg: Add --help option that prints usage  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								0d55d1a067 
								
							
								 
							
						 
						
							
							
								
								swaymsg: Print usage and exit on unknown options  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								3ba33321de 
								
							
								 
							
						 
						
							
							
								
								Use macros for exit values  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								062c74b7d0 
								
							
								 
							
						 
						
							
							
								
								Add command line to swaygrab  
							
							... 
							
							
 
							
							Also modifies IPC client so that we can work with persistent
connections. 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								27f03c705d 
								
							
								 
							
						 
						
							
							
								
								Move IPC client into common, refactor IPC  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								5ae359279b 
								
							
								 
							
						 
						
							
							
								
								Fix build warnings  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								a1018f3280 
								
							
								 
							
						 
						
							
							
								
								Implement swaymsg IPC behavior  
							
							
 
							
						 
						
							10 years ago  
				
					
						
							
							
								 
						
							
							
								9a15371ba3 
								
							
								 
							
						 
						
							
							
								
								Parse command line args for swaymsg  
							
							
 
							
						 
						
							10 years ago