Some rules
This commit is contained in:
		
							parent
							
								
									4d38d2cff5
								
							
						
					
					
						commit
						758dd8348d
					
				
					 3 changed files with 19 additions and 8 deletions
				
			
		
							
								
								
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								rc.lua
									
										
									
									
									
								
							|  | @ -52,7 +52,7 @@ for s = 1, screen.count() do | |||
| 	widgets.add.spacer(rtop) | ||||
| 	widgets.add.systray(rtop) | ||||
| 
 | ||||
| 	widgets.set_spacer_text(" ◈ ") | ||||
| 	widgets.set_spacer_text("  ◈  ") | ||||
| end | ||||
| -- }}} | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										23
									
								
								rules.lua
									
										
									
									
									
								
							
							
						
						
									
										23
									
								
								rules.lua
									
										
									
									
									
								
							|  | @ -60,13 +60,20 @@ local function setup(self) | |||
| 			}}, | ||||
| 			properties = { floating = true, size_hints_honor = true } | ||||
| 		}, | ||||
| 
 | ||||
| 		{ | ||||
| 			rule = { class = "Firefox", instance = "Navigator" }, | ||||
| 			properties = { | ||||
| 				tag = tags[rule_screen][2], | ||||
| 				floating = false, minimized = false  | ||||
| 			} | ||||
| 			}, | ||||
| 		}, | ||||
| 		{ | ||||
| 			rule = { class = "Whatsapp", instance = "Navigator" }, | ||||
| 			properties = { | ||||
| 				tag = tags[rule_screen][3], | ||||
| 				floating = false, minimized = false  | ||||
| 			}, | ||||
| 			callback = awful.client.setslave | ||||
| 		}, | ||||
| 		{ | ||||
| 			rule_any = { class = {"Pidgin"}, instance = {"Weechat"} }, | ||||
|  | @ -92,10 +99,14 @@ local function setup(self) | |||
| 			properties = { | ||||
| 				tag = tags[rule_screen][3], | ||||
| 			}, | ||||
| 			callback = function(c) | ||||
| 				awful.client.setslave(c) | ||||
| 				callback = popup_urgent("new chat message")(c) | ||||
| 			end | ||||
| 			callback = awful.client.setslave | ||||
| 		}, | ||||
| 		{ | ||||
| 			rule = { class = "Telegram" }, | ||||
| 			properties = { | ||||
| 				tag = tags[rule_screen][3], | ||||
| 			}, | ||||
| 			callback = awful.client.setslave | ||||
| 		}, | ||||
| 		{ | ||||
| 			rule = { class = "Steam", name = "Steam" }, | ||||
|  |  | |||
|  | @ -230,7 +230,7 @@ widgets.add.battery = batterywidget | |||
| local function wifiwidget(name, parent, interface) --{{{ | ||||
| 	wlist[parent.screen][name] = wibox.widget.textbox() | ||||
| 	vicious.register(wlist[parent.screen][name], vicious.widgets.wifi, | ||||
| 	"WLAN ${ssid} @ ${sign}, Q:${link}/70", 31, interface) | ||||
| 	"WLAN ${ssid} @ ${sign}dBm, Q:${link}/70", 31, interface) | ||||
| 	parent.layout:add(wlist[parent.screen][name]) | ||||
| end --}}} | ||||
| widgets.add.wifi = wifiwidget | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 crater2150
						crater2150