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... |
End of preview. Expand in Data Studio
Dataset collected from public GitHub repositories. Individual files retain their original licenses. Github luau scripts
- Downloads last month
- 20