Adding lots of changes
This commit is contained in:
parent
d4f511d8ce
commit
3488174a83
|
@ -49,7 +49,7 @@ ruled.notification.connect_signal('request::rules', function()
|
||||||
fg = '#ffffff',
|
fg = '#ffffff',
|
||||||
margin = dpi(16),
|
margin = dpi(16),
|
||||||
position = 'bottom_middle',
|
position = 'bottom_middle',
|
||||||
implicit_timeout = 0
|
implicit_timeout = 15
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ ruled.notification.connect_signal('request::rules', function()
|
||||||
fg = beautiful.fg_normal,
|
fg = beautiful.fg_normal,
|
||||||
margin = dpi(16),
|
margin = dpi(16),
|
||||||
position = 'bottom_middle',
|
position = 'bottom_middle',
|
||||||
implicit_timeout = 5
|
implicit_timeout = 8
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -228,6 +228,7 @@ naughty.connect_signal("request::display", function(n)
|
||||||
},
|
},
|
||||||
bg = beautiful.bg_normal,
|
bg = beautiful.bg_normal,
|
||||||
id = "background_role",
|
id = "background_role",
|
||||||
|
shape = gears.shape.rounded_rect,
|
||||||
widget = naughty.container.background,
|
widget = naughty.container.background,
|
||||||
},
|
},
|
||||||
strategy = "min",
|
strategy = "min",
|
||||||
|
@ -247,9 +248,9 @@ naughty.connect_signal("request::display", function(n)
|
||||||
},
|
},
|
||||||
-- Margin of the fake BG to have a space between notification and the screen edge
|
-- Margin of the fake BG to have a space between notification and the screen edge
|
||||||
-- margins = dpi(15),--beautiful.notification_margin,
|
-- margins = dpi(15),--beautiful.notification_margin,
|
||||||
right = dpi(20),
|
right = dpi(10),
|
||||||
left = dpi(20),
|
left = dpi(10),
|
||||||
bottom = dpi(20),
|
bottom = dpi(10),
|
||||||
top = dpi(5),
|
top = dpi(5),
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ local spawn = require('awful.spawn')
|
||||||
|
|
||||||
screen.connect_signal("request::desktop_decoration", function(s)
|
screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
s.show_vol_osd = false
|
s.show_vol_osd = true
|
||||||
|
|
||||||
local osd_header = wibox.widget {
|
local osd_header = wibox.widget {
|
||||||
text = 'Volume',
|
text = 'Volume',
|
||||||
|
@ -59,7 +59,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
local volume_level = vol_osd_slider:get_value()
|
local volume_level = vol_osd_slider:get_value()
|
||||||
|
|
||||||
spawn('amixer -D pulse sset Master ' .. volume_level .. '%', false)
|
spawn('amixer set Master ' .. volume_level .. '%', false)
|
||||||
|
|
||||||
-- Update textbox widget text
|
-- Update textbox widget text
|
||||||
osd_value.text = volume_level .. '%'
|
osd_value.text = volume_level .. '%'
|
||||||
|
@ -141,8 +141,8 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
maximum_height = osd_height,
|
maximum_height = osd_height,
|
||||||
maximum_width = osd_width,
|
maximum_width = osd_width,
|
||||||
offset = dpi(5),
|
offset = dpi(5),
|
||||||
shape = gears.shape.rectangle,
|
shape = gears.shape.rounded_rect,
|
||||||
bg = beautiful.transparent,
|
bg = "#282a36",
|
||||||
preferred_anchors = 'middle',
|
preferred_anchors = 'middle',
|
||||||
preferred_positions = {'left', 'right', 'top', 'bottom'},
|
preferred_positions = {'left', 'right', 'top', 'bottom'},
|
||||||
|
|
||||||
|
@ -167,7 +167,6 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
|
|
||||||
},
|
},
|
||||||
bg = beautiful.background,
|
|
||||||
shape = gears.shape.rounded_rect,
|
shape = gears.shape.rounded_rect,
|
||||||
widget = wibox.container.background()
|
widget = wibox.container.background()
|
||||||
}
|
}
|
||||||
|
@ -214,12 +213,12 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
if right_panel and left_panel then
|
if right_panel and left_panel then
|
||||||
if right_panel.visible then
|
if right_panel.visible then
|
||||||
awful.placement.bottom_left(focused.volume_osd_overlay, { margins = {
|
awful.placement.bottom_left(focused.volume_osd_overlay, { margins = {
|
||||||
left = osd_margin + left_panel.width,
|
left = osd_margin + left_panel.width,
|
||||||
right = 0,
|
right = 0,
|
||||||
top = 0,
|
top = 0,
|
||||||
bottom = osd_margin,
|
bottom = osd_margin,
|
||||||
},
|
},
|
||||||
parent = focused }
|
parent = focused }
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
|
@ -228,37 +227,37 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
|
|
||||||
if right_panel then
|
if right_panel then
|
||||||
if right_panel.visible then
|
if right_panel.visible then
|
||||||
awful.placement.bottom_left(focused.volume_osd_overlay, { margins = {
|
awful.placement.bottom_left(focused.volume_osd_overlay, { margins = {
|
||||||
left = osd_margin,
|
left = osd_margin,
|
||||||
right = 0,
|
right = 0,
|
||||||
top = 0,
|
top = 0,
|
||||||
bottom = osd_margin,
|
bottom = osd_margin,
|
||||||
},
|
},
|
||||||
parent = focused }
|
parent = focused }
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
awful.placement.bottom_right(focused.volume_osd_overlay, { margins = {
|
awful.placement.centered(focused.volume_osd_overlay, { margins = {
|
||||||
left = 0,
|
left = 0,
|
||||||
right = osd_margin,
|
right = osd_margin,
|
||||||
top = 0,
|
top = dpi(800),
|
||||||
bottom = osd_margin,
|
bottom = osd_margin,
|
||||||
},
|
},
|
||||||
parent = focused }
|
parent = focused }
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
awesome.connect_signal(
|
awesome.connect_signal(
|
||||||
'module::volume_osd:show',
|
'module::volume_osd:show',
|
||||||
function(bool)
|
function(bool)
|
||||||
placement_placer()
|
placement_placer()
|
||||||
awful.screen.focused().volume_osd_overlay.visible = bool
|
awful.screen.focused().volume_osd_overlay.visible = bool
|
||||||
if bool then
|
if bool then
|
||||||
timer_rerun()
|
timer_rerun()
|
||||||
awesome.emit_signal(
|
awesome.emit_signal(
|
||||||
'module::brightness_osd:show',
|
'module::brightness_osd:show',
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
else
|
else
|
||||||
|
|
187
awesome/rc.lua
187
awesome/rc.lua
|
@ -5,6 +5,8 @@ pcall(require, "luarocks.loader")
|
||||||
-- Standard awesome library
|
-- Standard awesome library
|
||||||
local gears = require("gears")
|
local gears = require("gears")
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
|
local xresources = require("beautiful.xresources")
|
||||||
|
local dpi = xresources.apply_dpi
|
||||||
require("awful.autofocus")
|
require("awful.autofocus")
|
||||||
-- Widget and layout library
|
-- Widget and layout library
|
||||||
local wibox = require("wibox")
|
local wibox = require("wibox")
|
||||||
|
@ -19,6 +21,8 @@ local hotkeys_popup = require("awful.hotkeys_popup")
|
||||||
require("awful.hotkeys_popup.keys")
|
require("awful.hotkeys_popup.keys")
|
||||||
|
|
||||||
|
|
||||||
|
-- require('layout')
|
||||||
|
|
||||||
-- Widgets to add
|
-- Widgets to add
|
||||||
-- local batteryarc_widget = require("awesome-wm-widget.batteryarc-widget.batteryarc")
|
-- local batteryarc_widget = require("awesome-wm-widget.batteryarc-widget.batteryarc")
|
||||||
|
|
||||||
|
@ -46,7 +50,7 @@ require('module.backdrop')
|
||||||
-- require('module.menu')
|
-- require('module.menu')
|
||||||
require('module.volume-osd')
|
require('module.volume-osd')
|
||||||
require('module.brightness-osd')
|
require('module.brightness-osd')
|
||||||
require('module.dynamic-wallpaper')
|
-- require('module.dynamic-wallpaper')
|
||||||
-- require('module.battery-notifier')
|
-- require('module.battery-notifier')
|
||||||
-- require('module.lockscreen')
|
-- require('module.lockscreen')
|
||||||
|
|
||||||
|
@ -95,6 +99,7 @@ altkey = "Mod1"
|
||||||
|
|
||||||
-- Table of layouts to cover with awful.layout.inc, order matters.
|
-- Table of layouts to cover with awful.layout.inc, order matters.
|
||||||
awful.layout.layouts = {
|
awful.layout.layouts = {
|
||||||
|
awful.layout.suit.magnifier,
|
||||||
awful.layout.suit.tile,
|
awful.layout.suit.tile,
|
||||||
awful.layout.suit.floating,
|
awful.layout.suit.floating,
|
||||||
-- awful.layout.suit.tile.left,
|
-- awful.layout.suit.tile.left,
|
||||||
|
@ -106,7 +111,6 @@ awful.layout.layouts = {
|
||||||
awful.layout.suit.spiral.dwindle,
|
awful.layout.suit.spiral.dwindle,
|
||||||
awful.layout.suit.max,
|
awful.layout.suit.max,
|
||||||
-- awful.layout.suit.max.fullscreen,
|
-- awful.layout.suit.max.fullscreen,
|
||||||
-- awful.layout.suit.magnifier,
|
|
||||||
-- awful.layout.suit.corner.nw,
|
-- awful.layout.suit.corner.nw,
|
||||||
-- awful.layout.suit.corner.ne,
|
-- awful.layout.suit.corner.ne,
|
||||||
-- awful.layout.suit.corner.sw,
|
-- awful.layout.suit.corner.sw,
|
||||||
|
@ -201,12 +205,57 @@ end
|
||||||
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
|
-- Re-set wallpaper when a screen's geometry changes (e.g. different resolution)
|
||||||
screen.connect_signal("property::geometry", set_wallpaper)
|
screen.connect_signal("property::geometry", set_wallpaper)
|
||||||
|
|
||||||
|
|
||||||
|
-- mynewpanel:setup {
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- expand = "outside",
|
||||||
|
-- { -- Left widgets
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- -- wibox.container.margin (s.mytaglist,25,0,0,0),
|
||||||
|
-- -- wibox.container.margin (s.mytasklist,25,25,0,0), -- Middle widget
|
||||||
|
-- -- s.myemptywidget,
|
||||||
|
-- spacing = 15
|
||||||
|
-- },
|
||||||
|
-- -- mytextclock,
|
||||||
|
-- { -- Right widgets
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- -- s.myemptywidget,
|
||||||
|
-- -- s.myemptywidget,
|
||||||
|
-- -- s.myrightwidgets,
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
||||||
awful.screen.connect_for_each_screen(function(s)
|
awful.screen.connect_for_each_screen(function(s)
|
||||||
-- Wallpaper
|
-- Wallpaper
|
||||||
set_wallpaper(s)
|
set_wallpaper(s)
|
||||||
|
|
||||||
-- Each screen has its own tag table.
|
-- Each screen has its own tag table.
|
||||||
awful.tag({ "main", "www", "code", "fun"}, s, awful.layout.layouts[1])
|
awful.tag({ "◉", "◉", "◉", "◉"}, s, awful.layout.layouts[1])
|
||||||
|
|
||||||
|
|
||||||
|
yoffset = dpi(35)
|
||||||
|
xoffset = dpi(18)
|
||||||
|
|
||||||
|
mypanel = wibox
|
||||||
|
({
|
||||||
|
x = s.geometry.x + xoffset,
|
||||||
|
y = s.geometry.height - yoffset,
|
||||||
|
height = dpi(25),
|
||||||
|
width = s.geometry.width - (xoffset * 2),
|
||||||
|
ontop = true,
|
||||||
|
stretch = false,
|
||||||
|
type = "dock",
|
||||||
|
screen = s,
|
||||||
|
shape = gears.shape.rounded_bar,
|
||||||
|
-- widget = wibox.widget.textbox
|
||||||
|
bg = beautiful.bg_normal,
|
||||||
|
fg = beautiful.fg_normal,
|
||||||
|
opacity = 0.65,
|
||||||
|
})
|
||||||
|
|
||||||
|
mypanel:struts {
|
||||||
|
bottom = dpi(30)
|
||||||
|
}
|
||||||
|
|
||||||
-- Create a promptbox for each screen
|
-- Create a promptbox for each screen
|
||||||
s.mypromptbox = awful.widget.prompt()
|
s.mypromptbox = awful.widget.prompt()
|
||||||
|
@ -226,8 +275,11 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Create a systray widget
|
-- Create a systray widget
|
||||||
s.mysystray = wibox.widget.systray()
|
s.mysystray = {
|
||||||
|
wibox.widget.systray(),
|
||||||
|
-- bg = "#00FF0066",
|
||||||
|
widget = wibox.container.background,
|
||||||
|
}
|
||||||
-- Create a tasklist widget
|
-- Create a tasklist widget
|
||||||
-- s.mytasklist = awful.widget.tasklist {
|
-- s.mytasklist = awful.widget.tasklist {
|
||||||
-- screen = s,
|
-- screen = s,
|
||||||
|
@ -251,7 +303,7 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
spacing_widget = {
|
spacing_widget = {
|
||||||
{
|
{
|
||||||
forced_width = 5,
|
forced_width = 5,
|
||||||
forced_height = 30,
|
forced_height = dpi(20),
|
||||||
-- shape = gears.shape.circle,
|
-- shape = gears.shape.circle,
|
||||||
widget = wibox.widget.separator
|
widget = wibox.widget.separator
|
||||||
},
|
},
|
||||||
|
@ -271,7 +323,7 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
id = 'icon_role',
|
id = 'icon_role',
|
||||||
widget = wibox.widget.imagebox,
|
widget = wibox.widget.imagebox,
|
||||||
},
|
},
|
||||||
margins = 4,
|
margins = 2,
|
||||||
widget = wibox.container.margin,
|
widget = wibox.container.margin,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -288,45 +340,88 @@ awful.screen.connect_for_each_screen(function(s)
|
||||||
widget = wibox.container.background,
|
widget = wibox.container.background,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
-- Create the wibox
|
|
||||||
s.mywibox = awful.wibar({ position = "bottom", screen = s })
|
|
||||||
-- Create Battery, Network, and Volume widget
|
-- Create Battery, Network, and Volume widget
|
||||||
s.battery = require('widget.battery')()
|
s.battery = require('widget.battery')()
|
||||||
s.network = require('widget.network')()
|
s.network = require('widget.network')()
|
||||||
-- s.volume = require('widget.volume-slider')()
|
s.volume = require('widget.volume')()
|
||||||
s.updater = require('widget.package-updater')()
|
s.updater = require('widget.package-updater')()
|
||||||
|
|
||||||
|
-- Create the wibox
|
||||||
|
-- s.mywibox = awful.wibar({
|
||||||
|
-- y = s.geometry.y + dpi(1080) - yoffset,
|
||||||
|
-- position = "bottom",
|
||||||
|
-- screen = s})
|
||||||
|
|
||||||
s.myrightwidgets =
|
s.myrightwidgets =
|
||||||
{ -- Right widgets
|
{
|
||||||
layout = wibox.layout.align.horizontal,
|
{ -- Right widgets
|
||||||
s.mytasklist, -- Middle widget
|
layout = wibox.layout.fixed.horizontal,
|
||||||
s.mysystray,
|
s.volume,
|
||||||
s.mylayoutbox,
|
s.mysystray,
|
||||||
|
s.updater,
|
||||||
|
s.network,
|
||||||
|
s.battery,
|
||||||
|
wibox.container.margin (s.mylayoutbox,0,25,0,0),
|
||||||
|
},
|
||||||
|
-- bg = "#00FF0066",
|
||||||
|
widget = wibox.container.background,
|
||||||
}
|
}
|
||||||
|
-- Empty widget to use for spacing
|
||||||
|
s.myemptywidget = wibox.widget{
|
||||||
|
markup = '',
|
||||||
|
align = '',
|
||||||
|
valign = '',
|
||||||
|
widget = wibox.widget.textbox
|
||||||
|
}
|
||||||
-- Add widgets to the wibox
|
-- Add widgets to the wibox
|
||||||
s.mywibox:setup {
|
-- s.mywibox:setup {
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- expand = "outside",
|
||||||
|
-- { -- Left widgets
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- wibox.container.margin (s.mytaglist,25,0,0,0),
|
||||||
|
-- wibox.container.margin (s.mytasklist,25,25,0,0), -- Middle widget
|
||||||
|
-- s.myemptywidget,
|
||||||
|
-- spacing = 15
|
||||||
|
-- },
|
||||||
|
-- mytextclock,
|
||||||
|
-- { -- Right widgets
|
||||||
|
-- layout = wibox.layout.align.horizontal,
|
||||||
|
-- s.myemptywidget,
|
||||||
|
-- s.myemptywidget,
|
||||||
|
-- s.myrightwidgets,
|
||||||
|
-- },
|
||||||
|
-- }
|
||||||
|
|
||||||
|
-- Add widgets to the wibox
|
||||||
|
mypanel:setup {
|
||||||
layout = wibox.layout.align.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
|
expand = "outside",
|
||||||
{ -- Left widgets
|
{ -- Left widgets
|
||||||
layout = wibox.layout.fixed.horizontal,
|
layout = wibox.layout.align.horizontal,
|
||||||
wibox.container.margin (s.mytaglist,25,0,0,0),
|
wibox.container.margin (s.mytaglist,15,0,-3,0),
|
||||||
s.mypromptbox,
|
wibox.container.margin (s.mytasklist,25,25,0,0), -- Middle widget
|
||||||
|
s.myemptywidget,
|
||||||
spacing = 15
|
spacing = 15
|
||||||
},
|
},
|
||||||
wibox.container.margin (s.mytasklist,35,35,0,0), -- Middle widget
|
|
||||||
{ -- Right widgets
|
|
||||||
layout = wibox.layout.fixed.horizontal,
|
|
||||||
s.mysystray,
|
|
||||||
-- s.volume,
|
|
||||||
s.updater,
|
|
||||||
s.network,
|
|
||||||
s.battery,
|
|
||||||
mytextclock,
|
mytextclock,
|
||||||
wibox.container.margin (s.mylayoutbox,0,25,0,0),
|
{ -- Right widgets
|
||||||
|
layout = wibox.layout.align.horizontal,
|
||||||
|
s.myemptywidget,
|
||||||
|
s.myemptywidget,
|
||||||
|
s.myrightwidgets,
|
||||||
},
|
},
|
||||||
|
visible = true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mypanel.visible = true
|
||||||
|
-- return mypanel
|
||||||
end)
|
end)
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
testwibox = wibox {x = 20, y = 10, width = 10, height = 10, ontop = true, bg = "#000000"}
|
||||||
|
|
||||||
|
testwibox:to_widget()
|
||||||
-- {{{ Mouse bindings
|
-- {{{ Mouse bindings
|
||||||
root.buttons(gears.table.join(
|
root.buttons(gears.table.join(
|
||||||
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
awful.button({ }, 3, function () mymainmenu:toggle() end),
|
||||||
|
@ -403,6 +498,12 @@ globalkeys = gears.table.join(
|
||||||
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
awful.key({ modkey, "Shift" }, "q", awesome.quit,
|
||||||
{description = "quit awesome", group = "awesome"}),
|
{description = "quit awesome", group = "awesome"}),
|
||||||
|
|
||||||
|
-- Programs
|
||||||
|
awful.key({ modkey, }, "b", function () awful.spawn("firefox") end,
|
||||||
|
{description = "open firefox", group = "apps"}),
|
||||||
|
awful.key({ modkey, }, "e", function () awful.spawn("emacsclient -c") end,
|
||||||
|
{description = "open emacs frame connected to server", group = "apps"}),
|
||||||
|
|
||||||
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
awful.key({ modkey, }, "l", function () awful.tag.incmwfact( 0.05) end,
|
||||||
{description = "increase master width factor", group = "layout"}),
|
{description = "increase master width factor", group = "layout"}),
|
||||||
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
|
awful.key({ modkey, }, "h", function () awful.tag.incmwfact(-0.05) end,
|
||||||
|
@ -434,13 +535,17 @@ globalkeys = gears.table.join(
|
||||||
|
|
||||||
-- Volume Keys
|
-- Volume Keys
|
||||||
awful.key({}, "XF86AudioLowerVolume", function ()
|
awful.key({}, "XF86AudioLowerVolume", function ()
|
||||||
awful.util.spawn("amixer -q -D pulse sset Master 5%-", false)
|
awful.util.spawn("amixer set Master 5%-", false)
|
||||||
|
awesome.emit_signal('widget::volume')
|
||||||
|
awesome.emit_signal('module::volume_osd:show', true)
|
||||||
end),
|
end),
|
||||||
awful.key({}, "XF86AudioRaiseVolume", function ()
|
awful.key({}, "XF86AudioRaiseVolume", function ()
|
||||||
awful.util.spawn("amixer -q -D pulse sset Master 5%+", false)
|
awful.util.spawn("amixer -q set Master 5%+", false)
|
||||||
|
awesome.emit_signal('widget::volume')
|
||||||
|
awesome.emit_signal('module::volume_osd:show', true)
|
||||||
end),
|
end),
|
||||||
awful.key({}, "XF86AudioMute", function ()
|
awful.key({}, "XF86AudioMute", function ()
|
||||||
awful.util.spawn("amixer -D pulse set Master 1+ toggle", false)
|
awful.util.spawn("amixer set Master 1+ toggle", false)
|
||||||
end),
|
end),
|
||||||
-- Media Keys
|
-- Media Keys
|
||||||
awful.key({}, "XF86AudioPlay", function()
|
awful.key({}, "XF86AudioPlay", function()
|
||||||
|
@ -493,7 +598,7 @@ clientkeys = gears.table.join(
|
||||||
c:raise()
|
c:raise()
|
||||||
end,
|
end,
|
||||||
{description = "toggle fullscreen", group = "client"}),
|
{description = "toggle fullscreen", group = "client"}),
|
||||||
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end,
|
awful.key({ modkey, }, "q", function (c) c:kill() end,
|
||||||
{description = "close", group = "client"}),
|
{description = "close", group = "client"}),
|
||||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle ,
|
||||||
{description = "toggle floating", group = "client"}),
|
{description = "toggle floating", group = "client"}),
|
||||||
|
@ -632,12 +737,15 @@ awful.rules.rules = {
|
||||||
"Wpa_gui",
|
"Wpa_gui",
|
||||||
"veromix",
|
"veromix",
|
||||||
"xtightvncviewer",
|
"xtightvncviewer",
|
||||||
|
"mpv",
|
||||||
|
"gl",
|
||||||
"feh"},
|
"feh"},
|
||||||
|
|
||||||
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
-- Note that the name property shown in xprop might be set slightly after creation of the client
|
||||||
-- and the name shown there might not match defined rules here.
|
-- and the name shown there might not match defined rules here.
|
||||||
name = {
|
name = {
|
||||||
"Event Tester", -- xev.
|
"Event Tester", -- xev.
|
||||||
|
"remove images?" -- darktable delete window.
|
||||||
},
|
},
|
||||||
role = {
|
role = {
|
||||||
"AlarmWindow", -- Thunderbird's calendar.
|
"AlarmWindow", -- Thunderbird's calendar.
|
||||||
|
@ -659,8 +767,14 @@ awful.rules.rules = {
|
||||||
-- Set Feh center
|
-- Set Feh center
|
||||||
{ rule = {class = "feh"},
|
{ rule = {class = "feh"},
|
||||||
properties = {
|
properties = {
|
||||||
placement = awful.placement.centered
|
placement = awful.placement.centered,
|
||||||
|
floating = true
|
||||||
}},
|
}},
|
||||||
|
{ rule = {class = "mpv"},
|
||||||
|
properties = {
|
||||||
|
floating = true
|
||||||
|
}
|
||||||
|
},
|
||||||
}
|
}
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
|
@ -720,9 +834,9 @@ client.connect_signal("request::titlebars", function(c)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Enable sloppy focus, so that focus follows mouse.
|
-- Enable sloppy focus, so that focus follows mouse.
|
||||||
client.connect_signal("mouse::enter", function(c)
|
-- client.connect_signal("mouse::enter", function(c)
|
||||||
c:emit_signal("request::activate", "mouse_enter", {raise = false})
|
-- c:emit_signal("request::activate", "mouse_enter", {raise = false})
|
||||||
end)
|
-- end)
|
||||||
|
|
||||||
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
client.connect_signal("focus", function(c) c.border_color = beautiful.border_focus end)
|
||||||
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
client.connect_signal("unfocus", function(c) c.border_color = beautiful.border_normal end)
|
||||||
|
@ -735,3 +849,4 @@ awful.spawn.with_shell("libinput-gestures-setup start")
|
||||||
awful.spawn.with_shell("flameshot")
|
awful.spawn.with_shell("flameshot")
|
||||||
awful.spawn.with_shell("feh --bg-fill ~/Pictures/wallpapers/RoyalKing.png")
|
awful.spawn.with_shell("feh --bg-fill ~/Pictures/wallpapers/RoyalKing.png")
|
||||||
awful.spawn.with_shell("/usr/lib/polkit-kde-authentication-agent-1")
|
awful.spawn.with_shell("/usr/lib/polkit-kde-authentication-agent-1")
|
||||||
|
awful.spawn.with_shell("emacs -daemon")
|
||||||
|
|
|
@ -15,10 +15,13 @@ local theme = {}
|
||||||
|
|
||||||
theme.font = "VictorMono Nerd Font SemiBold 10"
|
theme.font = "VictorMono Nerd Font SemiBold 10"
|
||||||
|
|
||||||
|
-- COLORS
|
||||||
|
-- Try to build a theme off of SNAZZY
|
||||||
theme.bg_normal = "#282a36"
|
theme.bg_normal = "#282a36"
|
||||||
|
theme.bg_light = "#34353e"
|
||||||
theme.bg_focus = "#43454f"
|
theme.bg_focus = "#43454f"
|
||||||
theme.bg_urgent = "#ff5c57"
|
|
||||||
theme.bg_minimize = "#78787e"
|
theme.bg_minimize = "#78787e"
|
||||||
|
theme.bg_urgent = "#ff5c57"
|
||||||
theme.bg_systray = theme.bg_normal
|
theme.bg_systray = theme.bg_normal
|
||||||
|
|
||||||
theme.fg_normal = "#a5a5a9"
|
theme.fg_normal = "#a5a5a9"
|
||||||
|
@ -48,7 +51,7 @@ theme.border_marked = "#00000000"
|
||||||
--theme.taglist_bg_focus = "#ff0000"
|
--theme.taglist_bg_focus = "#ff0000"
|
||||||
|
|
||||||
-- Generate taglist squares:
|
-- Generate taglist squares:
|
||||||
local taglist_square_size = dpi(8)
|
local taglist_square_size = dpi(0)
|
||||||
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
|
theme.taglist_squares_sel = theme_assets.taglist_squares_sel(
|
||||||
taglist_square_size, theme.fg_normal
|
taglist_square_size, theme.fg_normal
|
||||||
)
|
)
|
||||||
|
@ -86,17 +89,17 @@ theme.menu_width = dpi(100)
|
||||||
theme.wibar_shape = gears.shape.rounded_bar
|
theme.wibar_shape = gears.shape.rounded_bar
|
||||||
theme.wibar_bg = theme.bg_normal
|
theme.wibar_bg = theme.bg_normal
|
||||||
theme.wibar_fg = theme.fg_normal
|
theme.wibar_fg = theme.fg_normal
|
||||||
-- theme.wibar_y = 1030
|
theme.wibar_y = 1030
|
||||||
-- theme.wibar_x = 0
|
theme.wibar_x = 0
|
||||||
-- theme.wibar_stretch = false
|
-- theme.wibar_stretch = false
|
||||||
theme.wibar_border_width = dpi(5)
|
theme.wibar_border_width = dpi(0)
|
||||||
theme.wibar_border_color = nil
|
theme.wibar_border_color = ""
|
||||||
-- theme.wibar_ontop = nil
|
-- theme.wibar_ontop = nil
|
||||||
-- theme.wibar_cursor = nil
|
-- theme.wibar_cursor = nil
|
||||||
theme.wibar_opacity = 0.7
|
theme.wibar_opacity = 0.6
|
||||||
-- theme.wibar_type = nil
|
-- theme.wibar_type = nil
|
||||||
theme.wibar_width = dpi(1900)
|
theme.wibar_width = dpi(1850)
|
||||||
theme.wibar_height = dpi(30)
|
-- theme.wibar_height = dpi(20)
|
||||||
-- theme.wibar_bgimage = nil
|
-- theme.wibar_bgimage = nil
|
||||||
|
|
||||||
-- Define the image to load
|
-- Define the image to load
|
||||||
|
|
|
@ -5,6 +5,7 @@ function build(widget)
|
||||||
local container =
|
local container =
|
||||||
wibox.widget {
|
wibox.widget {
|
||||||
widget,
|
widget,
|
||||||
|
-- bg = beautiful.theme_bg,
|
||||||
widget = wibox.container.background
|
widget = wibox.container.background
|
||||||
}
|
}
|
||||||
local old_cursor, old_wibox
|
local old_cursor, old_wibox
|
||||||
|
|
|
@ -56,7 +56,7 @@ local return_button = function()
|
||||||
local widget_button = wibox.widget {
|
local widget_button = wibox.widget {
|
||||||
{
|
{
|
||||||
widget,
|
widget,
|
||||||
margins = dpi(7),
|
margins = dpi(2),
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
},
|
},
|
||||||
widget = clickable_container
|
widget = clickable_container
|
||||||
|
|
|
@ -40,7 +40,7 @@ local return_button = function()
|
||||||
local widget_button = wibox.widget {
|
local widget_button = wibox.widget {
|
||||||
{
|
{
|
||||||
widget,
|
widget,
|
||||||
margins = dpi(7),
|
margins = dpi(2),
|
||||||
widget = wibox.container.margin
|
widget = wibox.container.margin
|
||||||
},
|
},
|
||||||
widget = clickable_container
|
widget = clickable_container
|
||||||
|
@ -119,4 +119,4 @@ local return_button = function()
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return return_button
|
return return_button
|
||||||
|
|
150
awesome/widget/volume/init.lua
Normal file
150
awesome/widget/volume/init.lua
Normal file
|
@ -0,0 +1,150 @@
|
||||||
|
local wibox = require('wibox')
|
||||||
|
local gears = require('gears')
|
||||||
|
local awful = require('awful')
|
||||||
|
local beautiful = require('beautiful')
|
||||||
|
local naughty = require('naughty')
|
||||||
|
|
||||||
|
local watch = awful.widget.watch
|
||||||
|
local spawn = awful.spawn
|
||||||
|
|
||||||
|
local dpi = beautiful.xresources.apply_dpi
|
||||||
|
|
||||||
|
local icons = require('theme.icons')
|
||||||
|
|
||||||
|
local return_widget = function ()
|
||||||
|
|
||||||
|
local slider = wibox.widget {
|
||||||
|
nil,
|
||||||
|
{
|
||||||
|
id = 'vol_slider',
|
||||||
|
bar_shape = gears.shape.rounded_rect,
|
||||||
|
bar_height = dpi(2),
|
||||||
|
bar_color = '#ffffff20',
|
||||||
|
bar_active_color = '#f2f2f2EE',
|
||||||
|
handle_color = '#ffffff',
|
||||||
|
handle_shape = gears.shape.circle,
|
||||||
|
handle_width = dpi(15),
|
||||||
|
handle_border_color = '#00000012',
|
||||||
|
handle_border_width = dpi(1),
|
||||||
|
maximum = 100,
|
||||||
|
widget = wibox.widget.slider,
|
||||||
|
},
|
||||||
|
nil,
|
||||||
|
expand = 'none',
|
||||||
|
layout = wibox.layout.align.vertical
|
||||||
|
}
|
||||||
|
|
||||||
|
local volume_slider = slider.vol_slider
|
||||||
|
|
||||||
|
volume_slider:connect_signal(
|
||||||
|
'property::value',
|
||||||
|
function()
|
||||||
|
|
||||||
|
local volume_level = volume_slider:get_value()
|
||||||
|
|
||||||
|
spawn('amixer sset Master ' ..
|
||||||
|
volume_level .. '%',
|
||||||
|
false
|
||||||
|
)
|
||||||
|
|
||||||
|
-- Update volume osd
|
||||||
|
awesome.emit_signal(
|
||||||
|
'module::volume_osd',
|
||||||
|
volume_level
|
||||||
|
)
|
||||||
|
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
|
volume_slider:buttons(
|
||||||
|
gears.table.join(
|
||||||
|
awful.button(
|
||||||
|
{},
|
||||||
|
4,
|
||||||
|
nil,
|
||||||
|
function()
|
||||||
|
if volume_slider:get_value() > 100 then
|
||||||
|
volume_slider:set_value(100)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
volume_slider:set_value(volume_slider:get_value() + 5)
|
||||||
|
end
|
||||||
|
),
|
||||||
|
awful.button(
|
||||||
|
{},
|
||||||
|
5,
|
||||||
|
nil,
|
||||||
|
function()
|
||||||
|
if volume_slider:get_value() < 0 then
|
||||||
|
volume_slider:set_value(0)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
volume_slider:set_value(volume_slider:get_value() - 5)
|
||||||
|
end
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
local update_slider = function()
|
||||||
|
awful.spawn.easy_async_with_shell(
|
||||||
|
[[bash -c "amixer get Master"]],
|
||||||
|
function(stdout)
|
||||||
|
|
||||||
|
local volume = string.match(stdout, '(%d?%d?%d)%%')
|
||||||
|
|
||||||
|
-- debugging
|
||||||
|
-- naughty.notify{ title = "Volume changed", message = volume}
|
||||||
|
volume_slider:set_value(tonumber(volume))
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Update on startup
|
||||||
|
update_slider()
|
||||||
|
|
||||||
|
-- The emit will come from the global keybind
|
||||||
|
awesome.connect_signal(
|
||||||
|
'widget::volume',
|
||||||
|
function()
|
||||||
|
update_slider()
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
|
-- The emit will come from the OSD
|
||||||
|
awesome.connect_signal(
|
||||||
|
'widget::volume:update',
|
||||||
|
function(value)
|
||||||
|
volume_slider:set_value(tonumber(value))
|
||||||
|
end
|
||||||
|
)
|
||||||
|
|
||||||
|
local volume_setting = wibox.widget {
|
||||||
|
{
|
||||||
|
{
|
||||||
|
{
|
||||||
|
image = icons.volume,
|
||||||
|
resize = true,
|
||||||
|
widget = wibox.widget.imagebox
|
||||||
|
},
|
||||||
|
top = dpi(2),
|
||||||
|
bottom = dpi(2),
|
||||||
|
widget = wibox.container.margin
|
||||||
|
},
|
||||||
|
slider,
|
||||||
|
spacing = dpi(2),
|
||||||
|
layout = wibox.layout.fixed.horizontal
|
||||||
|
|
||||||
|
},
|
||||||
|
left = dpi(2),
|
||||||
|
right = dpi(2),
|
||||||
|
forced_width = dpi(140),
|
||||||
|
-- forced_height = dpi(48),
|
||||||
|
widget = wibox.container.margin
|
||||||
|
}
|
||||||
|
|
||||||
|
return volume_setting
|
||||||
|
end
|
||||||
|
|
||||||
|
return return_widget
|
|
@ -39,7 +39,7 @@ volume_slider:connect_signal(
|
||||||
|
|
||||||
local volume_level = volume_slider:get_value()
|
local volume_level = volume_slider:get_value()
|
||||||
|
|
||||||
spawn('amixer -D pulse sset Master ' ..
|
spawn('amixer set Master ' ..
|
||||||
volume_level .. '%',
|
volume_level .. '%',
|
||||||
false
|
false
|
||||||
)
|
)
|
||||||
|
@ -85,7 +85,7 @@ volume_slider:buttons(
|
||||||
|
|
||||||
local update_slider = function()
|
local update_slider = function()
|
||||||
awful.spawn.easy_async_with_shell(
|
awful.spawn.easy_async_with_shell(
|
||||||
[[bash -c "amixer -D pulse sget Master"]],
|
[[bash -c "amixer sget Master"]],
|
||||||
function(stdout)
|
function(stdout)
|
||||||
|
|
||||||
local volume = string.match(stdout, '(%d?%d?%d)%%')
|
local volume = string.match(stdout, '(%d?%d?%d)%%')
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Modify these to change relative widths or default height */
|
/* Modify these to change relative widths or default height */
|
||||||
#navigator-toolbox{ --uc-navigationbar-width: 11vw; --uc-toolbar-height: 30px; --window-drag-space-width: 20px}
|
#navigator-toolbox{ --uc-navigationbar-width: 11vw; --uc-toolbar-height: 29px; --window-drag-space-width: 20px}
|
||||||
/* Override for other densities */
|
/* Override for other densities */
|
||||||
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px;}
|
:root[uidensity="compact"] > #navigator-toolbox{ --uc-toolbar-height: 32px;}
|
||||||
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
|
:root[uidensity="touch"] > #navigator-toolbox{ --uc-toolbar-height: 40px; }
|
||||||
|
@ -16,6 +16,7 @@
|
||||||
#toolbar-menubar[inactive]{
|
#toolbar-menubar[inactive]{
|
||||||
margin-bottom: calc(0px - var(--uc-toolbar-height));
|
margin-bottom: calc(0px - var(--uc-toolbar-height));
|
||||||
margin-left: 0px;
|
margin-left: 0px;
|
||||||
|
height: calc(--uc-toolbar-height) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#TabsToolbar > .titlebar-buttonbox-container,
|
#TabsToolbar > .titlebar-buttonbox-container,
|
||||||
|
@ -29,7 +30,6 @@
|
||||||
#TabsToolbar{
|
#TabsToolbar{
|
||||||
margin-right: calc(0px + var(--uc-navigationbar-width));
|
margin-right: calc(0px + var(--uc-navigationbar-width));
|
||||||
/* Remove empty space above tabs so that tabs are clickable at very top of screen */
|
/* Remove empty space above tabs so that tabs are clickable at very top of screen */
|
||||||
margin-top: -2px;
|
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,23 @@
|
||||||
/* Example file enabling theme + some features */
|
/* Example file enabling theme + some features */
|
||||||
|
|
||||||
/* material firefox imports */
|
/* material firefox imports */
|
||||||
|
|
||||||
/* @import "global/variables.css"; */
|
/* @import "global/variables.css"; */
|
||||||
|
|
||||||
/* @import "global/global.css"; */
|
/* @import "global/global.css"; */
|
||||||
|
|
||||||
/* @import "icons/icons.css"; */
|
/* @import "icons/icons.css"; */
|
||||||
|
|
||||||
/* @import "tabbar/tabbar.css"; */
|
/* @import "tabbar/tabbar.css"; */
|
||||||
|
|
||||||
/* @import "navbar/navbar.css"; */
|
/* @import "navbar/navbar.css"; */
|
||||||
|
|
||||||
/* @import "personalbar/personalbar.css"; */
|
/* @import "personalbar/personalbar.css"; */
|
||||||
|
|
||||||
/* @import "popup/popup.css"; */
|
/* @import "popup/popup.css"; */
|
||||||
|
|
||||||
/* @import "urlbar/urlbar.css"; */
|
/* @import "urlbar/urlbar.css"; */
|
||||||
|
|
||||||
/* @import "findbar/findbar.css"; */
|
/* @import "findbar/findbar.css"; */
|
||||||
|
|
||||||
/*@import url(chrome/theme_color_variables.css);
|
/*@import url(chrome/theme_color_variables.css);
|
||||||
|
@ -16,15 +25,28 @@
|
||||||
@import url(chrome/theme_sidebar.css);
|
@import url(chrome/theme_sidebar.css);
|
||||||
@import url(chrome/theme_popups_and_menus.css);
|
@import url(chrome/theme_popups_and_menus.css);
|
||||||
@import url(chrome/theme_additional_windows.css);*/
|
@import url(chrome/theme_additional_windows.css);*/
|
||||||
|
|
||||||
/* @import url(chrome/status_inside_urlbar.css); */
|
/* @import url(chrome/status_inside_urlbar.css); */
|
||||||
|
|
||||||
/*@import url(chrome/navigation_buttons_inside_urlbar.css);*/
|
/*@import url(chrome/navigation_buttons_inside_urlbar.css);*/
|
||||||
|
|
||||||
@import url(chrome/tab_close_button_always_on_hover.css);
|
@import url(chrome/tab_close_button_always_on_hover.css);
|
||||||
|
|
||||||
@import url(chrome/button_effect_scale_onclick.css);
|
@import url(chrome/button_effect_scale_onclick.css);
|
||||||
|
|
||||||
@import url(chrome/blank_page_background.css);
|
@import url(chrome/blank_page_background.css);
|
||||||
|
|
||||||
/* @import url(chrome/navbar_tabs_oneliner.css); */
|
/* @import url(chrome/navbar_tabs_oneliner.css); */
|
||||||
|
|
||||||
@import url(chrome/navbar_tabs_oneliner_tabs_on_left.css);
|
@import url(chrome/navbar_tabs_oneliner_tabs_on_left.css);
|
||||||
|
|
||||||
/* @import url(chrome/navbar_notabs.css); */
|
/* @import url(chrome/navbar_notabs.css); */
|
||||||
|
|
||||||
/* @import url(chrome/page_action_buttons_on_hover.css); */
|
/* @import url(chrome/page_action_buttons_on_hover.css); */
|
||||||
|
|
||||||
@import url(chrome/autohide_sidebar.css);
|
@import url(chrome/autohide_sidebar.css);
|
||||||
|
|
||||||
@import url(chrome/menubar_in_toolbar.css);
|
@import url(chrome/menubar_in_toolbar.css);
|
||||||
|
|
||||||
@import url(chrome/hide_toolbox_top_bottom_borders.css);
|
@import url(chrome/hide_toolbox_top_bottom_borders.css);
|
||||||
|
|
||||||
|
|
30
firefox/chrome/userChrome.css.tri.bak
Normal file
30
firefox/chrome/userChrome.css.tri.bak
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/* Example file enabling theme + some features */
|
||||||
|
|
||||||
|
/* material firefox imports */
|
||||||
|
/* @import "global/variables.css"; */
|
||||||
|
/* @import "global/global.css"; */
|
||||||
|
/* @import "icons/icons.css"; */
|
||||||
|
/* @import "tabbar/tabbar.css"; */
|
||||||
|
/* @import "navbar/navbar.css"; */
|
||||||
|
/* @import "personalbar/personalbar.css"; */
|
||||||
|
/* @import "popup/popup.css"; */
|
||||||
|
/* @import "urlbar/urlbar.css"; */
|
||||||
|
/* @import "findbar/findbar.css"; */
|
||||||
|
|
||||||
|
/*@import url(chrome/theme_color_variables.css);
|
||||||
|
@import url(chrome/theme_toolbars.css);
|
||||||
|
@import url(chrome/theme_sidebar.css);
|
||||||
|
@import url(chrome/theme_popups_and_menus.css);
|
||||||
|
@import url(chrome/theme_additional_windows.css);*/
|
||||||
|
/* @import url(chrome/status_inside_urlbar.css); */
|
||||||
|
/*@import url(chrome/navigation_buttons_inside_urlbar.css);*/
|
||||||
|
@import url(chrome/tab_close_button_always_on_hover.css);
|
||||||
|
@import url(chrome/button_effect_scale_onclick.css);
|
||||||
|
@import url(chrome/blank_page_background.css);
|
||||||
|
/* @import url(chrome/navbar_tabs_oneliner.css); */
|
||||||
|
@import url(chrome/navbar_tabs_oneliner_tabs_on_left.css);
|
||||||
|
/* @import url(chrome/navbar_notabs.css); */
|
||||||
|
/* @import url(chrome/page_action_buttons_on_hover.css); */
|
||||||
|
@import url(chrome/autohide_sidebar.css);
|
||||||
|
@import url(chrome/menubar_in_toolbar.css);
|
||||||
|
@import url(chrome/hide_toolbox_top_bottom_borders.css);
|
30
firefox/chrome/userChrome.orig.css
Normal file
30
firefox/chrome/userChrome.orig.css
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
/* Example file enabling theme + some features */
|
||||||
|
|
||||||
|
/* material firefox imports */
|
||||||
|
/* @import "global/variables.css"; */
|
||||||
|
/* @import "global/global.css"; */
|
||||||
|
/* @import "icons/icons.css"; */
|
||||||
|
/* @import "tabbar/tabbar.css"; */
|
||||||
|
/* @import "navbar/navbar.css"; */
|
||||||
|
/* @import "personalbar/personalbar.css"; */
|
||||||
|
/* @import "popup/popup.css"; */
|
||||||
|
/* @import "urlbar/urlbar.css"; */
|
||||||
|
/* @import "findbar/findbar.css"; */
|
||||||
|
|
||||||
|
/*@import url(chrome/theme_color_variables.css);
|
||||||
|
@import url(chrome/theme_toolbars.css);
|
||||||
|
@import url(chrome/theme_sidebar.css);
|
||||||
|
@import url(chrome/theme_popups_and_menus.css);
|
||||||
|
@import url(chrome/theme_additional_windows.css);*/
|
||||||
|
/* @import url(chrome/status_inside_urlbar.css); */
|
||||||
|
/*@import url(chrome/navigation_buttons_inside_urlbar.css);*/
|
||||||
|
@import url(chrome/tab_close_button_always_on_hover.css);
|
||||||
|
@import url(chrome/button_effect_scale_onclick.css);
|
||||||
|
@import url(chrome/blank_page_background.css);
|
||||||
|
/* @import url(chrome/navbar_tabs_oneliner.css); */
|
||||||
|
@import url(chrome/navbar_tabs_oneliner_tabs_on_left.css);
|
||||||
|
/* @import url(chrome/navbar_notabs.css); */
|
||||||
|
/* @import url(chrome/page_action_buttons_on_hover.css); */
|
||||||
|
@import url(chrome/autohide_sidebar.css);
|
||||||
|
@import url(chrome/menubar_in_toolbar.css);
|
||||||
|
@import url(chrome/hide_toolbox_top_bottom_borders.css);
|
12
picom.conf
12
picom.conf
|
@ -34,18 +34,18 @@ shadow = true;
|
||||||
|
|
||||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||||
# shadow-radius = 12
|
# shadow-radius = 12
|
||||||
shadow-radius = 15;
|
shadow-radius = 12;
|
||||||
|
|
||||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||||
shadow-opacity = .75
|
shadow-opacity = .85
|
||||||
|
|
||||||
# The left offset for shadows, in pixels. (defaults to -15)
|
# The left offset for shadows, in pixels. (defaults to -15)
|
||||||
# shadow-offset-x = -15
|
# shadow-offset-x = -15
|
||||||
shadow-offset-x = -17;
|
shadow-offset-x = 3;
|
||||||
|
|
||||||
# The top offset for shadows, in pixels. (defaults to -15)
|
# The top offset for shadows, in pixels. (defaults to -15)
|
||||||
# shadow-offset-y = -15
|
# shadow-offset-y = -15
|
||||||
shadow-offset-y = -17;
|
shadow-offset-y = 3;
|
||||||
|
|
||||||
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
|
# Avoid drawing shadows on dock/panel windows. This option is deprecated,
|
||||||
# you should use the *wintypes* option in your config file instead.
|
# you should use the *wintypes* option in your config file instead.
|
||||||
|
@ -481,9 +481,9 @@ log-level = "info";
|
||||||
#
|
#
|
||||||
wintypes:
|
wintypes:
|
||||||
{
|
{
|
||||||
normal = { fade = false; shadow = false; }
|
normal = { fade = false; shadow = true; }
|
||||||
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; full-shadow = false; };
|
||||||
dock = { shadow = false; }
|
dock = { shadow = true; }
|
||||||
dnd = { shadow = false; }
|
dnd = { shadow = false; }
|
||||||
popup_menu = { opacity = 0.8; }
|
popup_menu = { opacity = 0.8; }
|
||||||
dropdown_menu = { opacity = 0.8; }
|
dropdown_menu = { opacity = 0.8; }
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi
|
// rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
configuration {
|
configuration {
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
location: 5;
|
// location: 5;
|
||||||
yoffset: -50;
|
// yoffset: -50;
|
||||||
xoffset: -20;
|
// xoffset: -20;
|
||||||
}
|
}
|
||||||
@import "/usr/share/rofi/themes/android_notification.rasi"
|
// @import "/usr/share/rofi/themes/android_notification.rasi"
|
||||||
|
|
|
@ -11,7 +11,7 @@ configuration {
|
||||||
font: "VictorMono Nerd Font 11";
|
font: "VictorMono Nerd Font 11";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
display-drun: "⮞";
|
display-drun: "";
|
||||||
drun-display-format: "{name} {description}";
|
drun-display-format: "{name} {description}";
|
||||||
threads: 0;
|
threads: 0;
|
||||||
scroll-method: 0;
|
scroll-method: 0;
|
||||||
|
@ -66,9 +66,9 @@ inputbar {
|
||||||
|
|
||||||
prompt {
|
prompt {
|
||||||
enabled: true;
|
enabled: true;
|
||||||
padding: -5px 10px 0px 8px;
|
padding: 0px 10px 0px 5px;
|
||||||
background-color: @transparent;
|
background-color: @transparent;
|
||||||
font: "FantasqueSansMono Nerd Font 16";
|
// font: "FantasqueSansMono Nerd Font 16";
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,9 +77,10 @@ entry {
|
||||||
placeholder-color: @foreground;
|
placeholder-color: @foreground;
|
||||||
expand: true;
|
expand: true;
|
||||||
horizontal-align: 0;
|
horizontal-align: 0;
|
||||||
placeholder: "Search";
|
// placeholder: "Search";
|
||||||
blink: true;
|
blink: true;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
|
padding: 0px 0px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
case-indicator {
|
case-indicator {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
/*-*- mode: css; -*-*/
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Author : Aditya Shakya (adi1090x)
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
@ -8,14 +9,15 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
configuration {
|
configuration {
|
||||||
font: "Noto Sans 10";
|
font: "VictorMono Nerd Font 11";
|
||||||
show-icons: true;
|
show-icons: true;
|
||||||
icon-theme: "Papirus";
|
icon-theme: "Papirus";
|
||||||
|
display-drun: " ";
|
||||||
drun-display-format: "{name}";
|
drun-display-format: "{name}";
|
||||||
threads: 0;
|
threads: 0;
|
||||||
scroll-method: 0;
|
scroll-method: 0;
|
||||||
disable-history: false;
|
disable-history: false;
|
||||||
fullscreen: false;
|
fullscreen: true;
|
||||||
hide-scrollbar: true;
|
hide-scrollbar: true;
|
||||||
sidebar-mode: false;
|
sidebar-mode: false;
|
||||||
}
|
}
|
||||||
|
@ -34,6 +36,7 @@ configuration {
|
||||||
window {
|
window {
|
||||||
transparency: "real";
|
transparency: "real";
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
|
border: 0px;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@ -44,7 +47,9 @@ window {
|
||||||
}
|
}
|
||||||
|
|
||||||
prompt {
|
prompt {
|
||||||
enabled: false;
|
background-color: @background;
|
||||||
|
text-color: @foreground;
|
||||||
|
enabled: true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,8 +57,8 @@ inputbar {
|
||||||
background-color: @background-alt;
|
background-color: @background-alt;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
expand: false;
|
expand: false;
|
||||||
border-radius: 6px;
|
border-radius: 60px;
|
||||||
margin: 0px 430px 0px 430px;
|
margin: 0px 230px 0px 230px;
|
||||||
padding: 10px 10px 10px 10px;
|
padding: 10px 10px 10px 10px;
|
||||||
position: north;
|
position: north;
|
||||||
}
|
}
|
||||||
|
@ -78,15 +83,15 @@ case-indicator {
|
||||||
|
|
||||||
listview {
|
listview {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
columns: 7;
|
columns: 5;
|
||||||
spacing: 4px;
|
spacing: 15px;
|
||||||
cycle: false;
|
cycle: false;
|
||||||
dynamic: true;
|
dynamic: true;
|
||||||
layout: vertical;
|
layout: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
mainbox {
|
mainbox {
|
||||||
background-color: @background-color;
|
background-color: @background;
|
||||||
children: [ inputbar, listview ];
|
children: [ inputbar, listview ];
|
||||||
spacing: 25px;
|
spacing: 25px;
|
||||||
padding: 70px 135px 55px 135px;
|
padding: 70px 135px 55px 135px;
|
||||||
|
@ -96,27 +101,34 @@ element {
|
||||||
background-color: @background;
|
background-color: @background;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
orientation: vertical;
|
orientation: vertical;
|
||||||
border-radius: 9px;
|
border-radius: 15px;
|
||||||
padding: 20px 0px 20px 0px;
|
padding: 20px 0px 20px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-icon {
|
element-icon {
|
||||||
size: 65px;
|
size: 65px;
|
||||||
|
background-color: @background;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element-text {
|
element-text {
|
||||||
expand: true;
|
expand: true;
|
||||||
|
background-color: @background;
|
||||||
horizontal-align: 0.5;
|
horizontal-align: 0.5;
|
||||||
vertical-align: 0.5;
|
vertical-align: 0.5;
|
||||||
margin: 5px 10px 0px 10px;
|
margin: 5px 10px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
element normal.urgent,
|
element normal.urgent,
|
||||||
element alternate.urgent {
|
element alternate.urgent {
|
||||||
background-color: @urgent;
|
background-color: @urgent;
|
||||||
text-color: @foreground;
|
text-color: @foreground;
|
||||||
border-radius: 9px;
|
border-radius: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
element normal.active,
|
element normal.active,
|
||||||
|
|
|
@ -12,6 +12,6 @@
|
||||||
# gnome_do slingshot appdrawer appfolder column
|
# gnome_do slingshot appdrawer appfolder column
|
||||||
# row row_center screen row_dock row_dropdown
|
# row row_center screen row_dock row_dropdown
|
||||||
|
|
||||||
style="blurry"
|
style="blurry_full"
|
||||||
|
|
||||||
rofi -no-lazy-grab -show drun -modi drun,window,calc,ssh,run,emoji -theme launchers-git/"$style".rasi & sleep 0.3 && xprop -f _KDE_NET_WM_BLUR_BEHIND_REGION 32c -set _KDE_NET_WM_BLUR_BEHIND_REGION 0 -name rofi
|
rofi -no-lazy-grab -show drun -modi drun,window,calc,ssh,run,emoji -theme launchers-git/"$style".rasi
|
||||||
|
|
Loading…
Reference in a new issue