mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-04 01:32:42 +01:00 
			
		
		
		
	Merge branch 'Alexays:master' into ISSUE#1545
This commit is contained in:
		@@ -8,7 +8,7 @@
 | 
			
		||||
 | 
			
		||||
namespace waybar::modules::sway {
 | 
			
		||||
 | 
			
		||||
// Helper function to to assign a number to a workspace, just like sway. In fact
 | 
			
		||||
// Helper function to assign a number to a workspace, just like sway. In fact
 | 
			
		||||
// this is taken quite verbatim from `sway/ipc-json.c`.
 | 
			
		||||
int Workspaces::convertWorkspaceNameToNum(std::string name) {
 | 
			
		||||
  if (isdigit(name[0])) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user