Laptop #2

Closed
thomasave wants to merge 119 commits from laptop into master
9 changed files with 29 additions and 29 deletions
Showing only changes of commit c6ae5d6a0c - Show all commits

View File

@ -15,13 +15,13 @@ font:
family: Source Code Pro
style: Bold Italic
size: 14
size: 13
# Colors (Molokai Dark)
colors:
# Default colors
primary:
background: '#000010'
background: '#000030'
foreground: '#F8F8F2'
normal:

View File

@ -41,7 +41,7 @@ local updates_indicator = wibox.widget{
forced_width = 18,
widget = wibox.widget.imagebox,
},
top = 5, bottom = 0, left = 5, right = 0,
top = 4, bottom = 0, left = 5, right = 0,
widget = wibox.container.margin
}
},
@ -118,12 +118,14 @@ top_panel.create = function(s)
pl(wibox.widget{}, theme.bg_normal .. "00", theme.top_panel_powerline),
pl(wibox.container.margin(wibox.widget.systray(), 0, 0, 5, 5), theme.top_panel_powerline, theme.bg_normal),
pl(volume_widget({widget_type='icon_and_text'}), theme.bg_normal, theme.top_panel_powerline),
pl(awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
pl(governor_selector, theme.top_panel_powerline, theme.bg_normal),
pl(current_layout_box, theme.bg_normal, theme.top_panel_powerline),
pl(awful.widget.watch('bash -c "sensors | grep Package | cut -f 5 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
pl(memory_widget, theme.bg_normal, theme.top_panel_powerline),
pl(cpu_widget, theme.top_panel_powerline, theme.bg_normal),
pl(frequency_widget, theme.bg_normal, theme.top_panel_powerline),
pl(updates_indicator, theme.top_panel_powerline, theme.bg_normal),
pl(current_layout_box, theme.bg_normal, theme.top_panel_powerline),
pl(battery_widget({font=theme.font, display_notification=true}), theme.bg_normal, theme.top_panel_powerline),
pl(clock, theme.top_panel_powerline, theme.top_panel_powerline),
}
}

View File

@ -25,8 +25,7 @@ local run_on_start_up = {
"nm-applet",
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
"xmodmap /home/user/.Xmodmap",
os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh",
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
-- "/opt/power/powersave.sh",
-- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh"
}

View File

@ -2,8 +2,8 @@ local dpi = require("beautiful.xresources").apply_dpi
local theme = {}
-- Font
theme.font = "Ubuntu 12"
theme.title_font = "Ubuntu 12"
theme.font = "Ubuntu 9"
theme.title_font = "Ubuntu 10"
-- Background
theme.bg_normal = "#1f2430"
@ -31,7 +31,7 @@ theme.border_focus = "#002F5F"
theme.border_marked = theme.fg_urgent
-- Panel Sizing
theme.top_panel_height = dpi(30)
theme.top_panel_height = dpi(27)
theme.top_panel_powerline = "#002F5F"
-- Taglist

View File

@ -19,7 +19,7 @@ local function powerline(widget, bgcolor, adjacentcolor, right)
{
layout = wibox.layout.fixed.horizontal,
{
wibox.container.margin(widget, dpi(6), dpi(10), dpi(0), dpi(1)),
wibox.container.margin(widget, dpi(6), dpi(6), dpi(0), dpi(1)),
bg = bgcolor,
widget = wibox.container.background

View File

@ -15,7 +15,7 @@ include-file = ~/.config/polybar/colors.config
[bar/example]
; Generic options
width = 100%
height = 32
height = 26
dpi-x = 96
dpi-y = 96
@ -29,19 +29,20 @@ background = #9912151c
foreground = ${colors.white}
; Set bar's fonts list
font-0 = "Noto Sans:size=13:weight=85:antialias=true;3"
font-0 = "Ubuntu:size=10.2:weight=85:antialias=true;3"
font-1 = "Source Code Pro:pixelsize=20:antialias=true;6"
font-2 = "Source Code Pro:size=11:weight=bold:antialias=true;3"
font-3 = "Font Awesome 6 Free Solid:size=10:antialias=true;3"
font-4 = "Font Awesome 6 Free:size=10:antialias=true;3"
font-5 = "Font Awesome 6 Brands:size=10:antialias=true;3"
font-6 = "Font Awesome v4 Compatibility:size=10:antialias=true;3"
font-3 = "Font Awesome 6 Free Solid:size=11:antialias=true;3"
font-4 = "Font Awesome 6 Free:size=11:antialias=true;3"
font-5 = "Font Awesome 6 Brands:size=11:antialias=true;3"
font-6 = "Font Awesome v4 Compatibility:size=11:antialias=true;3"
; Set modules list
modules-left = xwindow
modules-center = i3
modules-right = updates temperature memory clockspeed cpu pulseaudio date startarrow
modules-right = governor temperature memory clockspeed cpu pulseaudio battery updates date startarrow
fixed-center = true
monitor = eDP-1
;=======================================
; Modules
@ -101,16 +102,17 @@ label = " %used% "
[module/updates]
; Powerline settings
inherit = powerline-templates/right-to-left-item
background = ${colors.background}
background-next = ${root.background}
background = ${colors.blue}
background-next = ${colors.background}
; Other settings
type = custom/script
format-background = ${self.background}
format-foreground = ${colors.white}
format-warn-background = ${self.background}
exec = checkupdates | wc -l
exec = checkupdates 2> /dev/null | wc -l
format = "  <label> "
click-left = WINIT_X11_SCALE_FACTOR=1 alacritty -e bash -c "yay ; echo Done, press any key to exit... ; read"
interval = 90
[module/clockspeed]
@ -136,14 +138,14 @@ type = custom/script
format-background = ${colors.blue}
format-foreground = ${colors.white}
format-warn-background = ${self.background}
exec = sensors | grep Tctl | awk '{print $2}' | cut -d '+' -f 2
exec = sensors | grep Package | cut -d ' ' -f 5 | cut -d '+' -f 2
format = " <label> "
[module/governor]
; Powerline settings
inherit = powerline-templates/right-to-left-item
background = ${colors.background}
background-next = ${colors.blue}
background-next = ${root.background}
; Other settings
type = custom/script
format-background = ${self.background}

View File

@ -96,7 +96,7 @@ type = custom/text
content-background = ${self.background-next}
content-foreground = ${self.background}
label-font = 1
content = " "
content = "  "
;
; # Right-to-left end-of-line separator
@ -115,7 +115,7 @@ content = " "
type = custom/text
content-foreground = ${self.separator}
label-font = 1
content = " "
content = ""
; ============================================================================ ;
;

View File

@ -5,7 +5,7 @@
*/
* {
background: #0f111a;
background: #12151c;
foreground: #f1f1f1;
selected: #0033a1;
selected-text: #ffffff;

View File

@ -1,4 +1 @@
keycode 94 = grave asciitilde dead_grave dead_tilde grave asciitilde
keycode 49 = less greater less greater bar brokenbar bar brokenbar
keycode 49 = Shift_L
keycode 108 = Multi_key