mirror of
				https://github.com/WarrenHood/dotfiles.git
				synced 2025-11-04 01:38:41 +00:00 
			
		
		
		
	Some simple powerline theming
This commit is contained in:
		
							parent
							
								
									152b1956a9
								
							
						
					
					
						commit
						56221499e2
					
				| 
						 | 
				
			
			@ -14,6 +14,11 @@ local beautiful = require("beautiful")
 | 
			
		|||
local naughty = require("naughty")
 | 
			
		||||
local menubar = require("menubar")
 | 
			
		||||
local hotkeys_popup = require("awful.hotkeys_popup")
 | 
			
		||||
 | 
			
		||||
local lain = require("lain")
 | 
			
		||||
local separators = lain.util.separators
 | 
			
		||||
local arrow = separators.arrow_left
 | 
			
		||||
 | 
			
		||||
-- Enable hotkeys help widget for VIM and other apps
 | 
			
		||||
-- when client with a matching name is opened:
 | 
			
		||||
require("awful.hotkeys_popup.keys")
 | 
			
		||||
| 
						 | 
				
			
			@ -209,12 +214,18 @@ awful.screen.connect_for_each_screen(function(s)
 | 
			
		|||
            s.mytaglist,
 | 
			
		||||
            s.mypromptbox,
 | 
			
		||||
        },
 | 
			
		||||
        
 | 
			
		||||
        s.mytasklist, -- Middle widget
 | 
			
		||||
        
 | 
			
		||||
        { -- Right widgets
 | 
			
		||||
            layout = wibox.layout.fixed.horizontal,
 | 
			
		||||
            mykeyboardlayout,
 | 
			
		||||
            wibox.widget.systray(),
 | 
			
		||||
            mytextclock,
 | 
			
		||||
        	layout = wibox.layout.fixed.horizontal,
 | 
			
		||||
            arrow("alpha", "#DD77DD"),
 | 
			
		||||
            wibox.container.background( mykeyboardlayout, "#DD77DD"),
 | 
			
		||||
            arrow("#DD77DD", "#7777DD"),
 | 
			
		||||
            wibox.container.background( wibox.widget.systray(), "#7777DD"),
 | 
			
		||||
            arrow("#7777DD", "#77DD77"),
 | 
			
		||||
            wibox.container.background( mytextclock, "#77DD77"),
 | 
			
		||||
            arrow("#77DD77", "alpha"),
 | 
			
		||||
            s.mylayoutbox,
 | 
			
		||||
        },
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,6 +6,14 @@ local theme_assets = require("beautiful.theme_assets")
 | 
			
		|||
local xresources = require("beautiful.xresources")
 | 
			
		||||
local dpi = xresources.apply_dpi
 | 
			
		||||
 | 
			
		||||
local gears = require("gears")
 | 
			
		||||
local lain  = require("lain")
 | 
			
		||||
local awful = require("awful")
 | 
			
		||||
local wibox = require("wibox")
 | 
			
		||||
local separators = lain.util.separators
 | 
			
		||||
local arrow = separators.arrow_left
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
local gfs = require("gears.filesystem")
 | 
			
		||||
local themes_path = gfs.get_themes_dir()
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -13,20 +21,20 @@ local theme = {}
 | 
			
		|||
 | 
			
		||||
theme.font          = "Mononoki Nerd Font 8"
 | 
			
		||||
theme.bg_normal     = "#222222"
 | 
			
		||||
theme.bg_focus      = "#55bb55"
 | 
			
		||||
theme.bg_focus      = "#222222"
 | 
			
		||||
theme.bg_urgent     = "#cc0088"
 | 
			
		||||
theme.bg_minimize   = "#444444"
 | 
			
		||||
theme.bg_systray    = theme.bg_normal
 | 
			
		||||
theme.bg_systray    = "#7777DD"
 | 
			
		||||
 | 
			
		||||
theme.fg_normal     = "#aaaaaa"
 | 
			
		||||
theme.fg_focus      = "#ffffff"
 | 
			
		||||
theme.fg_urgent     = "#ffffff"
 | 
			
		||||
theme.fg_minimize   = "#ffffff"
 | 
			
		||||
theme.fg_normal     = "#FFFFFF"
 | 
			
		||||
theme.fg_focus      = "#FFFFFF"
 | 
			
		||||
theme.fg_urgent     = "#FFFFFF"
 | 
			
		||||
theme.fg_minimize   = "#FFFFFF"
 | 
			
		||||
 | 
			
		||||
theme.useless_gap   = dpi(6)
 | 
			
		||||
theme.border_width  = dpi(2)
 | 
			
		||||
theme.border_normal = "#333333"
 | 
			
		||||
theme.border_focus  = "#55bb55"
 | 
			
		||||
theme.border_focus  = "#77DD77"
 | 
			
		||||
theme.border_marked = "#900090"
 | 
			
		||||
 | 
			
		||||
-- There are other variable sets
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										
											BIN
										
									
								
								awesome/.config/awesome/wallpapers/miku.jpg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								awesome/.config/awesome/wallpapers/miku.jpg
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 469 KiB  | 
		Loading…
	
		Reference in a new issue