file_path stringlengths 4 154 | file_url stringlengths 83 244 | repo_name stringlengths 8 65 | repo_description stringlengths 1 350 ⌀ | contributors listlengths 0 100 | commit_hash stringlengths 40 40 | license stringlengths 0 20.1k | license_url stringlengths 0 150 | file_content stringlengths 4 182k |
|---|---|---|---|---|---|---|---|---|
awesome-m2\.config\awesome\helpers.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\helpers.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local awful = require('awful')
local wibox = require('wibox')
local gears = require('gears')
-- Get screen geometry
local screen_width = awful.screen.focused().geometry.width
local screen_height = awful.screen.focused().geometry.height
local helpers = {}
-- Create rounded recta... |
awesome-m2\.config\awesome\rc.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\rc.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- If LuaRocks is installed, make sure that packages installed through it are
-- found (e.g. lgi). If LuaRocks is not installed, do nothing.
pcall(require, 'luarocks.loader')
-- Standard awesome library
local awful = require('awful')
require('awful.autofocus')
-- Theme handling library
local beautiful = require('beaut... |
awesome-m2\.config\awesome\config\icons.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\config\icons.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- These icons use Material Design Icon Desktop
-- You can view these icon with:
-- xfd -fa "Material Design Icons Desktop:style=Regular:pixelsize=20"
-- Each icons has a code, use echo to look, ex with: echo -e "\UF34D"
local icons = {}
icons.app = {
xst = '',
web = '',
neomutt = '',
ncmpcpp = '... |
awesome-m2\.config\awesome\config\keys.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\config\keys.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gtable = require('gears.table')
local mymainmenu = require('module.menu')
local menubar = require('menubar')
local keys = {}
-- Mod keys
modkey = 'Mod4'
altkey = 'Mod1'
shiftkey = 'Shift'
ctrlkey = 'Control'
local function updateScreenPadding(nb)
local screen = awful.screen.f... |
awesome-m2\.config\awesome\daemons\battery.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\battery.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local helpers = require('helpers')
local beautiful = require('beautiful')
local gtimer = require('gears.timer')
local noti = require('utils.noti')
local spawn = require('awful.spawn')
local unknown_icon = beautiful.widget_battery_icon_unknown or ''
local discharging_icon = beautiful.widget_battery_icon_discharging or... |
awesome-m2\.config\awesome\daemons\brightness.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\brightness.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- Create a signal: daemon::brightness
-- return value: brightness
local spawn = require('awful.spawn')
local noti = require('utils.noti')
local val = 1
local start = true
local brightness_subscribe_script = [[
sh -c "
while (inotifywait -e modify /sys/class/backlight/?**/brightness -qq) ; do echo ; done
"
]]... |
awesome-m2\.config\awesome\daemons\cpu.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\cpu.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- function from vicious lib :)
local timer = require('gears.timer')
local io = { lines = io.lines }
-- Initialize function tables
local cpu_usage = {}
local cpu_total = {}
local cpu_active = {}
local function cpu_info()
local cpu_lines = {}
for line in io.lines('/proc/stat') do
if string.sub(line, 1... |
awesome-m2\.config\awesome\daemons\disks.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\disks.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local aspawn = require('awful.spawn')
local gtimer = require('gears.timer')
local fs_info = {}
local hdds = disks or { 'home' }
local function sformat_in_giga(value)
return string.format('%.1f', value / 1024 ^ 2)
end
local function disks_info()
aspawn.with_line_callback('sh -c "df -kP"', {
stdout = f... |
awesome-m2\.config\awesome\daemons\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | require('daemons.volume')
require('daemons.brightness')
require('daemons.cpu')
require('daemons.ram')
require('daemons.mpd')
require('daemons.disks')
require('daemons.rss')
require('daemons.network')
require('daemons.battery')
require('daemons.wifi')
|
awesome-m2\.config\awesome\daemons\mpd.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\mpd.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local spawn = require('awful.spawn')
local timer = require('gears.timer')
local noti = require('utils.noti')
local icons = require('icons.default')
local start = true
local msg_old = ''
local function music_cover()
local script = [[
MUSIC_DIR=$HOME/musics
CURR=$(mpc --format "%file%" current)
DIR="${C... |
awesome-m2\.config\awesome\daemons\network.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\network.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- custom function from vicious lib
-- original code: https://github.com/vicious-widgets/vicious/blob/master/widgets/net_linux.lua
local gtimer = require('gears.timer')
local nets = {}
local unit = 1 -- i use only by byte for now
local function network_info()
local args = {}
for line in io.lines('/proc/net/d... |
awesome-m2\.config\awesome\daemons\ram.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\ram.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local gtimer = require('gears.timer')
local noti = require('utils.noti')
local io = { lines = io.lines }
local function mem_info()
local mem = { buf = {}, swp = {} }
for line in io.lines('/proc/meminfo') do
for k, v in string.gmatch(line, '([%a]+):[%s]+([%d]+).+') do
if k == 'MemTotal' the... |
awesome-m2\.config\awesome\daemons\rss.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\rss.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local gtimer = require('gears.timer')
local aspawn = require('awful.spawn')
local rss = {}
local curl = "curl -A 'Mozilla/4.0' -fsm 5 --connect-timeout 3 "
local function rss_grab(object, fields, file)
local object = object or 'item'
local fields = fields or { 'title', 'link' } -- link, title, or description
... |
awesome-m2\.config\awesome\daemons\volume.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\volume.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- Create a signal: daemon::volume
-- return values: volume [number], is_muted [0 or 1]
local spawn = require('awful.spawn')
local noti = require('utils.noti')
local volume_old = -1
local msg_old = ''
local start = true
local function emit_volume_info_alsa()
spawn.easy_async_with_shell('~/bin/volume.sh get', func... |
awesome-m2\.config\awesome\daemons\wifi.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\daemons\wifi.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local timer = require('gears.timer')
local io = { lines = io.lines, open = io.open }
local string = { match = string.match }
local function wifi_str()
local wifi = { interface = 'N/A', str = 0 }
local f = io.open('/proc/net/wireless')
if f == nil then
awesome.emit_signal('daemon::wifi', wifi)
... |
awesome-m2\.config\awesome\icons\app_drawer\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\icons\app_drawer\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local p = os.getenv('HOME') .. '/.config/awesome/icons/app_drawer/'
local icons = {}
local icon_name = {
'terminal',
'gimp',
'twitter',
'github',
'reddit',
'virtualbox',
'tilix',
'steam',
'ruby',
'neovim',
'mpv',
'imagemagick',
'github',
'youtube',
'brave',
... |
awesome-m2\.config\awesome\icons\default\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\icons\default\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local p = os.getenv('HOME') .. '/.config/awesome/icons/default/'
local icons = {}
local icon_name = {
'tor_on',
'tor_off',
'tor_start',
'tor_stop',
'tor_restart',
'default_cover',
'astronaut',
'sci',
'miami',
'anonymous',
'morpho',
'worker',
'lines',
}
for _, v in pa... |
awesome-m2\.config\awesome\layouts\app_drawer.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\app_drawer.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gtable = require('gears.table')
local wibox = require('wibox')
local helper = require('utils.helper')
local widget = require('util.widgets')
local icons = require('icons.app_drawer')
local app = require('util.app')
local keygrabber = require('awful.keygrabber')
local modal = require... |
awesome-m2\.config\awesome\layouts\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | return function(s)
-- App drawer bar
require('layouts.app_drawer')(s)
-- Start Screen widget
require('layouts.start_screen')(s)
-- Monitor bar
require('layouts.monitor_bar')(s)
-- Nav drawer
require('layouts.navigation-drawer')(s)
-- Logout screen
require('layouts.logout')(s)... |
awesome-m2\.config\awesome\layouts\lock_screen.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\lock_screen.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gshape = require('gears.shape')
local wibox = require('wibox')
local naughty = require('naughty')
local helpers = require('helpers')
local widget = require('util.widgets')
local password = password or 'awesome'
local lock_screen_symbol = ''
local lock_screen_fail_symbol = ''
loc... |
awesome-m2\.config\awesome\layouts\logout.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\logout.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local keygrabber = require('awful.keygrabber')
local button = require('utils.button')
local modal = require('utils.modal')
local helper = require('utils.helper')
local font = require('utils.font')
local icons = require('config.icons')
-- keylogger
local exi... |
awesome-m2\.config\awesome\layouts\navigation-drawer.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\navigation-drawer.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local modal = require('utils.modal')
local awful = require('awful')
local gtable = require('gears.table')
local font = require('utils.font')
local button = require('utils.button')
local ufont = require('utils.font')
local mat_fg = require('utils.material.foreground')
local mat_bg = requir... |
awesome-m2\.config\awesome\layouts\settings.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\settings.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local screen = require('awful.screen')
local table = require('gears.table')
local keygrabber = require('awful.keygrabber')
local font = require('utils.font')
local button = require('utils.button')
local spawn = require('awful.spawn')
local helper = require('... |
awesome-m2\.config\awesome\layouts\start_screen.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\start_screen.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local gtable = require('gears.table')
local awful = require('awful')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helper = require('utils.helper')
local app = require('util.app')
local modal = require('utils.modal')
local button = require('utils.butt... |
awesome-m2\.config\awesome\layouts\monitor_bar\full.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\full.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local gtable = require('gears.table')
local widget = require('util.widgets')
local beautiful = require('beautiful')
local font = require('util.font')
local button = require('utils.button')
local ufont = require('utils.font')
local mat_text = require('utils.m... |
awesome-m2\.config\awesome\layouts\monitor_bar\full_v2.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\full_v2.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local gtable = require('gears.table')
local widget = require('util.widgets')
local beautiful = require('beautiful')
local font = require('util.font')
local button = require('utils.button')
local ufont = require('utils.font')
local mat_text = require('utils.m... |
awesome-m2\.config\awesome\layouts\monitor_bar\horizontal.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\horizontal.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local font = require('util.font')
-- widgets for the monitor bar
local ram = require('widgets.ram')({ layout = 'horizontal', mode = 'progressbar', bar_size = 100 })
local volume =... |
awesome-m2\.config\awesome\layouts\monitor_bar\horizontal_v2.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\horizontal_v2.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local font = require('util.font')
-- for the top
local ram = require('widgets.ram')({
mode = 'progressbar',
layout = 'vertical',
bar_size = 40,
title = { 'RAM', M.... |
awesome-m2\.config\awesome\layouts\monitor_bar\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | return function(s)
if M.name == 'lines' then
require('layouts.monitor_bar.full')(s)
elseif M.name == 'worker' then
require('layouts.monitor_bar.horizontal_v2')(s)
elseif M.name == 'astronaut' then
require('layouts.monitor_bar.full_v2')(s)
else
require('layouts.monitor_bar... |
awesome-m2\.config\awesome\layouts\monitor_bar\vertical.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\layouts\monitor_bar\vertical.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local gtable = require('gears.table')
local widget = require('util.widgets')
local beautiful = require('beautiful')
local font = require('util.font')
local button = require('utils.button')
local ufont = require('utils.font')
local mat_text = require('utils.m... |
awesome-m2\.config\awesome\module\autostart.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\autostart.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local app = require('util.app')
local spawn = require('awful.spawn')
local beautiful = require('beautiful')
local naughty = require('naughty')
app.run_once({ 'picom -b' })
app.run_once({ 'ncmpcpp' }, true, 'music_n')
app.run_once({ 'cava' }, true, 'music_c')
app.run_once({ 'tmux' }, true, 'music_t')
app.run_once({ 'ne... |
awesome-m2\.config\awesome\module\layout.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\layout.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
-- init table
local mylayout = class()
function mylayout:init()
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
awful.layout.suit.floating,
awful.layout.suit.tile,
-- awful.layout.suit.tile.left,
-- awfu... |
awesome-m2\.config\awesome\module\menu.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\menu.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local awful = require('awful')
local gtable = require('gears.table')
local hotkeys_popup = require('awful.hotkeys_popup').widget
-- Enable hotkeys help widget for VIM and other apps
-- -- when client with a matching name is opened:
require('awful.hotkeys_popup.keys')
-- default c... |
awesome-m2\.config\awesome\module\notifications.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\notifications.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local noti = require('utils.noti')
local naughty = require('naughty')
-- timeout
naughty.config.defaults.timeout = 10
naughty.config.presets.low.timeout = 4
naughty.config.presets.critical.timeout = 0 -- click to disable
-- Check if awesome encountered an error during startup and fell back to
-- another config (This ... |
awesome-m2\.config\awesome\module\rules.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\rules.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local beautiful = require('beautiful')
local keys = require('config.keys') -- TODO: remove soon
local helpers = require('helpers')
-- Rules
awful.rules.rules = {
-- All clients will match this rule.
{
rule = {},
properties = {
border_width = beautiful... |
awesome-m2\.config\awesome\module\signals.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\signals.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local awful = require('awful')
local helpers = require('helpers')
local gears = require('gears')
-- {{{ Signals
-- Signal function to execute when a new client appears.
client.connect_signal('manage', function(c)
-- Set the windows at the slave,
-- i.e. put it at the end ... |
awesome-m2\.config\awesome\module\tagnames.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\tagnames.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local beautiful = require('beautiful')
-- init table
local mytagname = class()
function mytagname:init(s)
-- Each screen has its own tag table.
local l = awful.layout.suit -- Alias to save time :)
-- local layouts = { l.max, l.floating, l.max, l.max , l.tile,
-- l.m... |
awesome-m2\.config\awesome\module\wallpaper.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\module\wallpaper.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local beautiful = require('beautiful')
-- init table
local mywallpaper = class()
local function set_wallpaper(s)
-- Wallpaper
if beautiful.wallpaper then
local wallpaper = beautiful.wallpaper
awful.spawn.with_shell('feh --bg-fill ' .. wallpaper)
end
end
func... |
awesome-m2\.config\awesome\titlebars\default.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\titlebars\default.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local titlebar = require('util.titlebar')
local mat_fg = require('utils.material.foreground')
beautiful.titlebar_bg_focus = beautiful.titlebar_bg_focus or M.x.background
beautiful.titlebar_bg = beautiful.titlebar_bg or... |
awesome-m2\.config\awesome\titlebars\hide.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\titlebars\hide.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local titlebar = require('util.titlebar')
beautiful.titlebar_bg_focus = M.x.background
beautiful.titlebar_bg = M.x.background
beautiful.titlebar_bg_normal = M.x.background
client.connect_signal('request::titlebars', f... |
awesome-m2\.config\awesome\titlebars\init.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\titlebars\init.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local titlebar = require('util.titlebar')
if M.name == 'miami' then
require('titlebars.smart-border')
elseif M.name == 'worker' then
require('titlebars.internal-border')
elseif M.name == 'morpho' then
require('titlebars.hide')
else
require('titlebars.default')
titlebar.enable_rounding()
end
|
awesome-m2\.config\awesome\titlebars\internal-border.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\titlebars\internal-border.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local font = require('util.font')
local titlebar = require('util.titlebar')
-- vars
local position = beautiful.titlebar_position or 'top'
local t_font = M.f.subtile_1
local function title(c)
return wibox.widget({
... |
awesome-m2\.config\awesome\titlebars\smart-border.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\titlebars\smart-border.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local smartBorders = require('util.smart-borders')
local font = require('util.font')
local titlebar = require('util.titlebar')
-- vars
local position = beautiful.titlebar_position or 'top'
local t_font = M.f.subtile_1
... |
awesome-m2\.config\awesome\util\app.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\app.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local spawn = require('awful.spawn')
local ascreen = require('awful.screen')
local beautiful = require('beautiful')
local helpers = require('helpers')
local awful = require('awful')
local app = {}
function app.start(cmd, is_shell, have_class, callback)
local is_shell = is_shell or nil -- bool
local have_class... |
awesome-m2\.config\awesome\util\buttons.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\buttons.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local gtable = require('gears.table')
local abutton = require('awful.button')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
local btext = require('util.mat-button')
local buttons = {}
function buttons.text_list(text, cmd, color)
local color = color or ... |
awesome-m2\.config\awesome\util\font.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\font.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local widget = require('util.widgets')
local helpers = require('helpers')
-- opacity for helper text and dark theme
-- https://material.io/design/color/dark-theme.html#ui-application
local p = {}
p['high'] = 87
p['medium'] = 60
p['disable'] = 38
function make_widget(font, text, color, alpha)
local alpha = alpha o... |
awesome-m2\.config\awesome\util\layouts.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\layouts.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local beautiful = require('beautiful')
local layouts = {}
function layouts.create_titlebar(c, titlebar_buttons, titlebar_position, titlebar_size)
awful.titlebar(c, { font = beautiful.titlebar_font, position = titlebar_position, size = titlebar_size }):setup({
{
b... |
awesome-m2\.config\awesome\util\menu.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\menu.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local gtable = require('gears.table')
local font = require('util.font')
local mat_bg = require('utils.material.background')
local root_menu = class()
function root_menu:init(args)
self.fg = args.fg or M.x.on_surface
self.bg = args.bg or M.x.on_surf... |
awesome-m2\.config\awesome\util\separators.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\separators.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | --[[
Licensed under GNU General Public License v2
* (c) 2015, Luca CPZ
* (c) 2015, plotnikovanton
--]]
local wibox = require('wibox')
local gears = require('gears')
-- Lain Cairo separators util submodule
-- lain.util.separators
local separators = { height = 0, width = 9 }
-- [[ Arrow
-- Right
fu... |
awesome-m2\.config\awesome\util\slider.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\slider.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- source: https://github.com/PapyElGringo/material-awesome/blob/8cd624d51ce3d525d38258890d13656ccd7aeb11/widget/material/slider.lua
-- Default widget requirements
local base = require('wibox.widget.base')
local gtable = require('gears.table')
local setmetatable = setmetatable
local widget = require('util.widgets')
--... |
awesome-m2\.config\awesome\util\smart-borders.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\smart-borders.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -- A modified version found at:
-- https://github.com/meriadec/awesome-efficient/blob/master/modules/smart-borders.lua
local gears = require('gears')
local cairo = require('lgi').cairo
local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local HIDPI = os.getenv('HIDPI') ... |
awesome-m2\.config\awesome\util\tabs.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\tabs.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
local mat_bg = require('utils.material.background')
-- opacity state for button dark theme
-- https://material.io/design/color/dark-theme.html#states
local o = { fg = {} }
o['fg'][... |
awesome-m2\.config\awesome\util\titlebar.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\titlebar.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gtable = require('gears.table')
local shape = require('gears.shape')
local wibox = require('wibox')
local button = require('utils.button')
local font = require('utils.font')
local beautiful = require('beautiful')
local helper = require('utils.helper')
local ncmpcpp = require('widge... |
awesome-m2\.config\awesome\util\widgets.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\util\widgets.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local helpers = require('helpers')
local gshape = require('gears.shape')
local gtable = require('gears.table')
local awful = require('awful')
local naughty = require('naughty')
local separator = require('util.separators')
local app = require('util.app')
local widgets = {}
function widge... |
awesome-m2\.config\awesome\utils\app.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\app.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local spawn = require('awful.spawn')
local app = {}
function app.start(cmd, is_shell, have_class, callback)
local is_shell = is_shell or nil -- bool
local have_class = have_class or nil -- string
spawn(cmd)
if callback then
callback()
end
end
function app.shell(cmd)
spawn.with_shell(t... |
awesome-m2\.config\awesome\utils\button.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\button.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local table = require('gears.table')
local helper = require('utils.helper')
local font = require('utils.font')
local mat_bg = require('utils.material.background')
local mat_fg = require('utils.material.foreground')
local mat_button = class()
-- opacity col... |
awesome-m2\.config\awesome\utils\font.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\font.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
-- opacity for helper text and dark theme
-- https://material.io/design/color/dark-theme.html#ui-application
local function widget_text(font, text, align)
local align = align or 'center'
return wibox.widget({
align = align,
valign = 'center',
font = font,... |
awesome-m2\.config\awesome\utils\helper.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\helper.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local shape = require('gears.shape')
-- Get screen geometry
local screen_width = awful.screen.focused().geometry.width
local screen_height = awful.screen.focused().geometry.height
local helper = {}
-- Create rounded rectangle shape
helper.rrect = function... |
awesome-m2\.config\awesome\utils\modal.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\modal.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local screen = require('awful.screen')
local helper = require('utils.helper')
local button = require('awful.button')
local table = require('gears.table')
local widget = require('utils.widget')
local modal = {}
function modal:init(s)
self.screen = s or screen.focused()
self.heigh... |
awesome-m2\.config\awesome\utils\noti.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\noti.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local naughty = require('naughty')
local helper = require('utils.helper')
-- configs
naughty.config.presets.low = {
font = M.f.body_2,
fg = M.x.on_surface,
bg = M.x.dark_primary,
margin = 14,
shape = helper.rrect(6),
border_color = M.x.surface,
}
naughty.config.presets.normal = {
font = M.... |
awesome-m2\.config\awesome\utils\progressbar.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\progressbar.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local progressbar = {}
function progressbar.horiz(color)
local color = color or M.x.primary
return wibox.widget({
max_value = 100,
value = 0,
forced_height = dpi(6),
border_color = M.x.surface,
color = color,
background_color = col... |
awesome-m2\.config\awesome\utils\slider.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\slider.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local beautiful = require('beautiful')
local helper = require('utils.helper')
beautiful.slider_bar_height = dpi(6)
beautiful.slider_handle_width = dpi(20)
beautiful.slider_handle_shape = helper.rrect(20)
local slider = {}
function slider.horiz(color)
local color = color or M.x.prim... |
awesome-m2\.config\awesome\utils\tooltip.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\tooltip.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local atooltip = require('awful.tooltip')
local helper = require('utils.helper')
local tooltip = {}
-- spec: https://material.io/components/tooltips/
function tooltip.create(w)
if not w then
return
end
return atooltip({
markup = 0,
visible = false,
shape = helper.rrect(50),... |
awesome-m2\.config\awesome\utils\widget.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\widget.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local widget = {}
function widget.centered(w, layout)
local layout = layout or 'horizontal'
return wibox.widget({
nil,
w,
expand = 'none',
layout = wibox.layout.align[layout],
})
end
return widget
|
awesome-m2\.config\awesome\utils\material\background.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\material\background.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local helper = require('utils.helper')
local root_bg = class()
function root_bg:init(args)
self.color = args.color or M.x.on_surface
self.shape = args.shape or helper.rrect(10)
self.w = wibox.widget({
bg = self.color .. '00',
shape = self.shape,
widge... |
awesome-m2\.config\awesome\utils\material\foreground.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\material\foreground.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local root_fg = class()
function root_fg:init(args)
self.color = args.color or M.x.on_surface
self.focus = args.focus or self.color
self.w = wibox.widget({
fg = self.color .. 'B3', -- 70%
widget = wibox.container.background,
})
end
-- opacity state
-- ht... |
awesome-m2\.config\awesome\utils\material\text.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\utils\material\text.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local root_text = class()
-- Code for transparency
-- https://gist.github.com/lopspower/03fb1cc0ac9f32ef38f4
local emphasis = {
['high'] = 'DE', -- 87%
['medium'] = '99', -- 60%
['disabled'] = '61', -- 38%
['error'] = 'FF', -- 100%
}
-- text emphasis
-- https://material... |
awesome-m2\.config\awesome\widgets\battery.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\battery.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
local ufont = require('utils.font')
local icons = require('config.icons')
-- beautiful vars
local spacing = beautiful.widget_spacing or 1
--... |
awesome-m2\.config\awesome\widgets\brightness.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\brightness.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local wibox = require('wibox')
local aspawn = require('awful.spawn')
local font = require('util.font')
local ufont = require('utils.font')
local icons = require('config.icons')
-- beautiful vars
local spaci... |
awesome-m2\.config\awesome\widgets\button_tor.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\button_tor.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local icons = require('icons.default')
local button = require('utils.button')
local font = require('util.font')
local ufont = require('utils.font... |
awesome-m2\.config\awesome\widgets\change_theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\change_theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local beautiful = require('beautiful')
local noti = require('utils.noti')
local widget = require('util.widgets')
local helper = require('utils.helper')
local table = require('gears.table')
local icons = require('icons.default')
local font = require('util.fon... |
awesome-m2\.config\awesome\widgets\cpu.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\cpu.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
local ufont = require('utils.font')
local mat_text = require('utils.material.text')
-- beautiful vars
local spacing = beautiful.widget_spacin... |
awesome-m2\.config\awesome\widgets\date.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\date.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
-- beautiful vars
local date_icon = beautiful.widget_date_icon or ''
local fg = beautiful.widget_date_fg or M.x.on_background
local bg = bea... |
awesome-m2\.config\awesome\widgets\disks.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\disks.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local widget = require('util.widgets')
local helpers = require('helpers')
local wibox = require('wibox')
local beautiful = require('beautiful')
local sep = require('util.separators')
local font = require('util.font')
local ufont = require('utils.font')
local mat_text = require('utils.material.text')
local icons = requi... |
awesome-m2\.config\awesome\widgets\launcher.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\launcher.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local button = require('utils.button')
local font = require('utils.font')
local icons = require('config.icons')
local launcher_root = class()
function launcher_root:init()
self.w = button({
fg_icon = M.x.primary,
icon = font.icon(icons.widget.launcher),
command = nav_drawer_show,
l... |
awesome-m2\.config\awesome\widgets\layoutbox.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\layoutbox.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local table = require('gears.table')
local font = require('utils.font')
local tooltip = require('utils.tooltip')
local icons = require('config.icons')
local layoutbox_root = class()
function layoutbox_root:init(s)
self.s = s
self.icon = font.icon(i... |
awesome-m2\.config\awesome\widgets\mail.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\mail.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local font = require('util.font')
local tooltip = require('utils.tooltip')
local font = require('util.font')
-- beautiful vars
local fg_read = b... |
awesome-m2\.config\awesome\widgets\mini-taglist.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\mini-taglist.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local table = require('gears.table')
local wibox = require('wibox')
local beautiful = require('beautiful')
local font = require('utils.font')
local icons = require('config.icons')
local tags = beautiful.tags
or {
icons.app.xst,
icons.app.spior,
icons.app.defau... |
awesome-m2\.config\awesome\widgets\mini-tasklist.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\mini-tasklist.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local table = require('gears.table')
local wibox = require('wibox')
local beautiful = require('beautiful')
local font = require('utils.font')
local helper = require('utils.helper')
local icons = require('config.icons')
beautiful.tasklist_font = M.f.subtile_2
local tasklist_root = class(... |
awesome-m2\.config\awesome\widgets\mpc.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\mpc.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local spawn = require('awful.spawn')
local button = require('utils.button')
local font = require('utils.font')
local icons = require('config.icons')
local mpc_root = class()
function mpc_root:init(args)
self.mode = args.mode or 'text' -- text or titlebar
self.w = self:make_widge... |
awesome-m2\.config\awesome\widgets\music-player.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\music-player.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local icons = require('icons.default')
local font = require('util.font')
local button = require('utils.button')
local ufont = require('utils.font... |
awesome-m2\.config\awesome\widgets\music.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\music.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local awful = require('awful')
local button = require('utils.button')
local font = require('utils.font')
local shape = require('gears.shape')
local surface = require('gears.surface')
local noti = require('utils.noti')
local progressbar = require('utils.progressbar')
local helpers = requir... |
awesome-m2\.config\awesome\widgets\network.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\network.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local wibox = require('wibox')
local font = require('util.font')
local ufont = require('utils.font')
local icons = require('config.icons')
local net_dev = network or 'lo'
-- beautiful vars
local spacing = ... |
awesome-m2\.config\awesome\widgets\rail.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\rail.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local gtable = require('gears.table')
local awful = require('awful')
local mat_bg = require('utils.material.background')
local beautiful = require('beautiful')
local wibox = require('wibox')
local helpers = require('helpers')
local rail = class()
function rail:init(s)
self.s = s or awful.screen.focused()
self... |
awesome-m2\.config\awesome\widgets\ram.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\ram.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local wibox = require('wibox')
local font = require('util.font')
local ufont = require('utils.font')
local mat_text = require('utils.material.text')
local icons = require('config.icons')
-- beautiful vars
l... |
awesome-m2\.config\awesome\widgets\scrot.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\scrot.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local noti = require('utils.noti')
local table = require('gears.table')
local icons = require('config.icons')
local button = require('utils.button')
local font = require('utils.font')
-- widget creation
local scrot_icon = button({
fg_icon = M.x.on_background,
icon = font.button(i... |
awesome-m2\.config\awesome\widgets\settings.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\settings.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local button = require('utils.button')
local font = require('utils.font')
local icons = require('config.icons')
local settings_root = class()
function settings_root:init()
self.w = button({
fg_icon = M.x.secondary_variant_2,
icon = font.icon(icons.widget.settings),
command = settings_toggl... |
awesome-m2\.config\awesome\widgets\taglist.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\taglist.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gtable = require('gears.table')
local wibox = require('wibox')
local beautiful = require('beautiful')
local helpers = require('helpers')
local gears = require('gears')
local widget = require('util.widgets')
local modkey = 'Mod4'
-- root
local taglist_root = class()
function tagli... |
awesome-m2\.config\awesome\widgets\tasklist.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\tasklist.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local gtable = require('gears.table')
local awful = require('awful')
local wibox = require('wibox')
local widget = require('util.widgets')
local beautiful = require('beautiful')
local helpers = require('helpers')
-- options
local spacing = beautiful.tasklist_spacing or dpi(4)
local align = beautiful.tasklist_align or ... |
awesome-m2\.config\awesome\widgets\volume.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\volume.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local beautiful = require('beautiful')
local widget = require('util.widgets')
local helpers = require('helpers')
local wibox = require('wibox')
local aspawn = require('awful.spawn')
local font = require('util.font')
local ufont = require('utils.font')
local icons = require('config.icons')
-- beautiful vars
local spaci... |
awesome-m2\.config\awesome\widgets\wifi.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2\.config\awesome\widgets\wifi.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
local font = require('utils.font')
local mat_text = require('utils.material.text')
local icons = require('config.icons')
local wifi_root = class()
function wifi_root:init(args)
self.icon = args.icon or bea... |
awesome-m2-themes\anonymous\.config\awesome\loaded-theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\anonymous\.config\awesome\loaded-theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local screen = require('awful.screen')
local beautiful = require('beautiful')
local xrdb = beautiful.xresources.get_current_theme()
local width = screen.focused().geometry.width
local height = screen.focused().geometry.height
local mytheme = {}
mytheme.name = 'anonymous'
mytheme.x = {
background = xrdb.color0 o... |
awesome-m2-themes\anonymous\.config\awesome\bars\anonymous.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\anonymous\.config\awesome\bars\anonymous.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local beautiful = require('beautiful')
local widget = require('util.widgets')
-- widgets load
local tor = require('widgets.button_tor')
local tagslist = require('taglists.anonymous')
-- {{{ Redefine widgets with a background
local mpc = require('widgets.mp... |
awesome-m2-themes\anonymous\.config\awesome\taglists\anonymous.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\anonymous\.config\awesome\taglists\anonymous.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local gears = require('gears')
local beautiful = require('beautiful')
local wibox = require('wibox')
local naughty = require('naughty')
local capi = { screen = screen, client = client }
local ntags = 10
local s = awful.screen.focused()
local tag_icons = {}
-- Create imageboxes and set t... |
awesome-m2-themes\anonymous\.config\awesome\themes\anonymous\theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\anonymous\.config\awesome\themes\anonymous\theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | ---------------------------
-- Anonymous awesome theme --
---------------------------
local theme_assets = require('beautiful.theme_assets')
local xresources = require('beautiful.xresources')
local dpi = xresources.apply_dpi
local gfs = require('gears.filesystem')
local gears = require('gears')
local themes_path = gfs... |
awesome-m2-themes\astronaut\.config\awesome\loaded-theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\astronaut\.config\awesome\loaded-theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local screen = require('awful.screen')
local beautiful = require('beautiful')
local xrdb = beautiful.xresources.get_current_theme()
local width = screen.focused().geometry.width
local height = screen.focused().geometry.height
local mytheme = {}
mytheme.name = 'astronaut'
mytheme.x = {
background = xrdb.color0 o... |
awesome-m2-themes\astronaut\.config\awesome\bars\astronaut.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\astronaut\.config\awesome\bars\astronaut.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local helper = require('utils.helper')
local mybar = class()
function mybar:init(s)
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
-- We need one layoutbox per screen.
s.mylayoutbox = require('widge... |
awesome-m2-themes\astronaut\.config\awesome\themes\astronaut\theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\astronaut\.config\awesome\themes\astronaut\theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | -----------------------------
-- Astronaut awesome theme --
-----------------------------
local theme_assets = require('beautiful.theme_assets')
local gfs = require('gears.filesystem')
local themes_path = gfs.get_themes_dir()
local theme = {}
theme.font = M.f.overline
theme.bg_normal = M.x.background
theme.bg_f... |
awesome-m2-themes\lines\.config\awesome\loaded-theme.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\lines\.config\awesome\loaded-theme.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local screen = require('awful.screen')
local beautiful = require('beautiful')
local xrdb = beautiful.xresources.get_current_theme()
local width = screen.focused().geometry.width
local height = screen.focused().geometry.height
local mytheme = {}
mytheme.name = 'lines'
mytheme.x = {
background = xrdb.background o... |
awesome-m2-themes\lines\.config\awesome\bars\lines.lua | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/awesome-m2-themes\lines\.config\awesome\bars\lines.lua | szorfein/dotfiles | Dotfiles of my last wm, managed by GNU stow. | [
"szorfein"
] | 5e394b7ad2f1bea59cc4d63409387dd389144249 | The MIT License (MIT)
Copyright (c) 2016 szorfein
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish... | https://github.com/szorfein/dotfiles/blob/5e394b7ad2f1bea59cc4d63409387dd389144249/LICENSE | local awful = require('awful')
local wibox = require('wibox')
local helper = require('utils.helper')
local mybar = class()
function mybar:init(s)
-- Create an imagebox widget which will contain an icon indicating which layout we're using.
-- We need one layoutbox per screen.
s.mylayoutbox = require('widge... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.