aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aliases/.aliases/aliases2
-rw-r--r--awesome/.config/awesome/picom.conf36
-rw-r--r--awesome/.config/awesome/rc.lua2
-rw-r--r--awesome/.config/awesome/themes/powerarrow-black/theme.lua648
-rw-r--r--kitty/.config/kitty/kitty.conf2
-rw-r--r--nvim/.config/nvim/.gitignore8
-rw-r--r--nvim/.config/nvim/.luacheckrc21
-rw-r--r--nvim/.config/nvim/.neoconf.json15
-rw-r--r--nvim/.config/nvim/.stylua.toml7
-rw-r--r--nvim/.config/nvim/.styluaignore1
-rw-r--r--nvim/.config/nvim/.typos.toml6
-rw-r--r--nvim/.config/nvim/LICENSE875
-rw-r--r--nvim/.config/nvim/README.md4
-rw-r--r--nvim/.config/nvim/config.ld7
-rw-r--r--nvim/.config/nvim/init.lua25
-rw-r--r--nvim/.config/nvim/lazy-lock.json80
-rw-r--r--nvim/.config/nvim/lazyvim.json9
-rw-r--r--nvim/.config/nvim/lua/astronvim/autocmds.lua254
-rw-r--r--nvim/.config/nvim/lua/astronvim/bootstrap.lua131
-rw-r--r--nvim/.config/nvim/lua/astronvim/health.lua60
-rw-r--r--nvim/.config/nvim/lua/astronvim/icons/nerd_font.lua48
-rw-r--r--nvim/.config/nvim/lua/astronvim/icons/text.lua40
-rw-r--r--nvim/.config/nvim/lua/astronvim/lazy.lua44
-rw-r--r--nvim/.config/nvim/lua/astronvim/mappings.lua435
-rw-r--r--nvim/.config/nvim/lua/astronvim/options.lua70
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/buffer.lua178
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/ffi.lua20
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/git.lua180
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/init.lua286
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/lsp.lua418
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/mason.lua119
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/status.lua1637
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/ui.lua222
-rw-r--r--nvim/.config/nvim/lua/astronvim/utils/updater.lua318
-rw-r--r--nvim/.config/nvim/lua/config/autocmds.lua3
-rw-r--r--nvim/.config/nvim/lua/config/keymaps.lua36
-rw-r--r--nvim/.config/nvim/lua/config/lazy.lua46
-rw-r--r--nvim/.config/nvim/lua/config/options.lua7
-rw-r--r--nvim/.config/nvim/lua/lazy_snapshot.lua51
-rw-r--r--nvim/.config/nvim/lua/plugins/alpha.lua37
-rw-r--r--nvim/.config/nvim/lua/plugins/cmp.lua103
-rw-r--r--nvim/.config/nvim/lua/plugins/competitest.lua136
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/alpha.lua13
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/guess-indent.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/heirline.lua119
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/lspconfig.lua36
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/lspkind.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/luasnip.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/mason-lspconfig.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/mason-null-ls.lua5
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/mason-nvim-dap.lua5
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/mason.lua20
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/notify.lua7
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/nvim-autopairs.lua10
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/nvim-dap-ui.lua7
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/nvim-treesitter.lua1
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/nvim-web-devicons.lua5
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/telescope.lua9
-rw-r--r--nvim/.config/nvim/lua/plugins/configs/which-key.lua4
-rw-r--r--nvim/.config/nvim/lua/plugins/core.lua110
-rw-r--r--nvim/.config/nvim/lua/plugins/dap.lua18
-rw-r--r--nvim/.config/nvim/lua/plugins/disabled.lua10
-rw-r--r--nvim/.config/nvim/lua/plugins/example.lua373
-rw-r--r--nvim/.config/nvim/lua/plugins/git.lua15
-rw-r--r--nvim/.config/nvim/lua/plugins/heirline.lua91
-rw-r--r--nvim/.config/nvim/lua/plugins/lsp.lua72
-rw-r--r--nvim/.config/nvim/lua/plugins/mason.lua25
-rw-r--r--nvim/.config/nvim/lua/plugins/neo-tree.lua126
-rw-r--r--nvim/.config/nvim/lua/plugins/telescope.lua42
-rw-r--r--nvim/.config/nvim/lua/plugins/treesitter.lua32
-rw-r--r--nvim/.config/nvim/lua/plugins/ui.lua124
-rw-r--r--nvim/.config/nvim/lua/resession/extensions/astronvim.lua32
m---------nvim/.config/nvim/lua/user0
-rw-r--r--nvim/.config/nvim/stylua.toml3
-rwxr-xr-xscripts/.scripts/posture.sh8
-rw-r--r--zsh/.zshrc9
76 files changed, 1282 insertions, 6692 deletions
diff --git a/aliases/.aliases/aliases b/aliases/.aliases/aliases
index 65904a9..d917cb4 100644
--- a/aliases/.aliases/aliases
+++ b/aliases/.aliases/aliases
@@ -28,7 +28,6 @@ alias att="arcolinux-tweak-tool"
alias avs="arcolinux-vbox-share"
alias awa="arcolinux-welcome-app"
alias big="expac -H M '%m\t%n' | sort -h | nl"
-alias big="expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB
alias bls="betterlockscreen -u /usr/share/backgrounds/arcolinux/"
alias book='/home/omar/.scripts/books.sh'
alias btrfsfs="sudo btrfs filesystem df /"
@@ -128,7 +127,6 @@ alias paruskip='paru -S --mflags --skipinteg'
alias pause='playerctl -p spotify pause'
alias pdw='pwd'
alias personal='cp -Rf /personal/* ~'
-alias pipes='cd pipes.sh;./pipes.sh';cd
alias pksyua="paru -Syu --noconfirm"
alias play='playerctl -p spotify play'
alias please='sudo'
diff --git a/awesome/.config/awesome/picom.conf b/awesome/.config/awesome/picom.conf
index 6b559e5..61ad968 100644
--- a/awesome/.config/awesome/picom.conf
+++ b/awesome/.config/awesome/picom.conf
@@ -173,7 +173,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
#
#opacity-rule = [ "80:class_g = 'Alacritty'" ]
opacity-rule = [
- "100:class_g = 'kitty'",
+ "90:class_g = 'kitty'",
"90:class_g = 'alacritty'",
];
@@ -182,10 +182,24 @@ opacity-rule = [
# Background-Blurring #
#################################
+
+# Exclude conditions for background blur.
+# blur-background-exclude = []
+blur-background-exclude = [
+ "window_type = 'menu'";
+ "window_type = 'dropdown_menu'";
+ "window_type = 'popup_menu'";
+ "window_type = 'tooltip'";
+ "window_type = 'dock'",
+ "window_type = 'desktop'",
+ "_GTK_FRAME_EXTENTS@:c"
+];
+
blur:
{
method = "dual_kawase";
strength = 4;
+ for_window = ["class_g = 'Alacritty'"];
};
# Parameters for background blurring, see the *BLUR* section for more information.
@@ -220,13 +234,8 @@ blur:
blur-kern = "3x3box";
-# Exclude conditions for background blur.
-# blur-background-exclude = []
-blur-background-exclude = [
- "window_type = 'dock'",
- "window_type = 'desktop'",
- "_GTK_FRAME_EXTENTS@:c"
-];
+
+
#################################
# General Settings #
@@ -445,9 +454,10 @@ log-level = "warn";
#
wintypes:
{
- tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
- dock = { shadow = false; }
- dnd = { shadow = false; }
- popup_menu = { opacity = 1.0; }
- dropdown_menu = { opacity = 1.0; }
+ # normal { blur-background = true; };
+ # tooltip = { fade = true; shadow = true; opacity = 1.0; focus = true; full-shadow = false; };
+ dock = { shadow = false; };
+ dnd = { shadow = false; };
+ # popup_menu = { opacity = 1.0; }
+ # dropdown_menu = { opacity = 1.0; }
};
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 734634c..16fa644 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -115,7 +115,7 @@ local editorgui = "neovide"
local filemanager = "pcmanfm"
local mailclient = "mailspring"
local mediaplayer = "spotify"
-local terminal = "kitty"
+local terminal = "alacritty"
local virtualmachine = "virtualbox"
-- awesome variables
diff --git a/awesome/.config/awesome/themes/powerarrow-black/theme.lua b/awesome/.config/awesome/themes/powerarrow-black/theme.lua
index 579e767..f64f608 100644
--- a/awesome/.config/awesome/themes/powerarrow-black/theme.lua
+++ b/awesome/.config/awesome/themes/powerarrow-black/theme.lua
@@ -5,368 +5,384 @@
--]]
-local gears = require("gears")
-local lain = require("lain")
-local awful = require("awful")
-local wibox = require("wibox")
-
-local math, string, os = math, string, os
-local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
-
-local theme = {}
-theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-dark"
-theme.font = "Source code pro bold 12"
-theme.taglist_font = "Source code pro bold 12"
-theme.fg_normal = "#ffffff" -- Not focused windows text color
-theme.fg_blue = "#000000" -- Mlo4 lazma
-theme.fg_magenta = "#FBE9E7" -- taglist color and mem and cpu
-theme.fg_focus = "#6200C4"
-theme.fg_urgent = "#b74822"
-theme.bg_normal = "#000000" -- Bar color
-theme.bg_focus = "#717171" -- taglist focused bg color
-theme.bg_urgent = "#3F3F3F"
-theme.taglist_fg_focus = "#ffffff"
-theme.tasklist_bg_focus = "#3f3f3f"
-theme.tasklist_fg_focus = "#eeeeee"
-theme.border_width = 2
-theme.border_normal = "#000000"
-theme.border_focus = "#f90057"
-theme.border_marked = "#000000"
-theme.titlebar_bg_focus = "#3F3F3F"
-theme.titlebar_bg_normal = "#3F3F3F"
-theme.titlebar_bg_focus = theme.bg_focus
-theme.titlebar_bg_normal = theme.bg_normal
-theme.titlebar_fg_focus = theme.fg_focus
-theme.menu_height = 20
-theme.menu_width = 140
-theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
-theme.awesome_icon = theme.dir .. "/icons/awesome.png"
-theme.layout_tile = theme.dir .. "/icons/tile.png"
-theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"
-theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png"
-theme.layout_tiletop = theme.dir .. "/icons/tiletop.png"
-theme.layout_fairv = theme.dir .. "/icons/fairv.png"
-theme.layout_fairh = theme.dir .. "/icons/fairh.png"
-theme.layout_spiral = theme.dir .. "/icons/spiral.png"
-theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
-theme.layout_max = theme.dir .. "/icons/max.png"
-theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
-theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
-theme.layout_floating = theme.dir .. "/icons/floating.png"
-theme.widget_ac = theme.dir .. "/icons/ac.png"
-theme.widget_mem = theme.dir .. "/icons/mem.png"
-theme.widget_cpu = theme.dir .. "/icons/cpu.png"
-theme.widget_temp = theme.dir .. "/icons/temp.png"
-theme.widget_net = theme.dir .. "/icons/net.png"
-theme.widget_hdd = theme.dir .. "/icons/hdd.png"
-theme.widget_music = theme.dir .. "/icons/note.png"
-theme.widget_music_on = theme.dir .. "/icons/note.png"
-theme.widget_music_pause = theme.dir .. "/icons/pause.png"
-theme.widget_music_stop = theme.dir .. "/icons/stop.png"
-theme.widget_vol = theme.dir .. "/icons/vol.png"
-theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
-theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
-theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
-theme.widget_mail = theme.dir .. "/icons/mail.png"
-theme.widget_mail_on = theme.dir .. "/icons/mail_on.png"
-theme.widget_task = theme.dir .. "/icons/task.png"
-theme.widget_scissors = theme.dir .. "/icons/scissors.png"
-theme.widget_weather = theme.dir .. "/icons/dish.png"
-theme.widget_arch_logo = theme.dir .. "/icons/archlinux.png"
-theme.tasklist_plain_task_name = false
-theme.tasklist_disable_task_name = false
-theme.tasklist_disable_icon = false
-theme.useless_gap = 3
-theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
-theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"
-theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png"
-theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png"
-theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png"
-theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png"
-theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png"
-theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png"
-theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png"
-theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png"
-theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png"
-theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png"
-theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png"
-theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png"
-theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png"
-theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png"
-theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png"
+local gears = require("gears")
+local lain = require("lain")
+local awful = require("awful")
+local wibox = require("wibox")
+
+local math, string, os = math, string, os
+local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
+
+local theme = {}
+theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-dark"
+theme.font = "Source code pro bold 12"
+theme.taglist_font = "Source code pro bold 12"
+theme.fg_normal = "#ffffff" -- Not focused windows text color
+theme.fg_blue = "#000000" -- Mlo4 lazma
+theme.fg_magenta = "#FBE9E7" -- taglist color and mem and cpu
+theme.fg_focus = "#6200C4"
+theme.fg_urgent = "#b74822"
+theme.bg_normal = "#000000" -- Bar color
+theme.bg_focus = "#717171" -- taglist focused bg color
+theme.bg_urgent = "#3F3F3F"
+theme.taglist_fg_focus = "#ffffff"
+theme.tasklist_bg_focus = "#3f3f3f"
+theme.tasklist_fg_focus = "#eeeeee"
+theme.border_width = 2
+theme.border_normal = "#000000"
+theme.border_focus = "#f90057"
+theme.border_marked = "#000000"
+theme.titlebar_bg_focus = "#3F3F3F"
+theme.titlebar_bg_normal = "#3F3F3F"
+theme.titlebar_bg_focus = theme.bg_focus
+theme.titlebar_bg_normal = theme.bg_normal
+theme.titlebar_fg_focus = theme.fg_focus
+theme.menu_height = 20
+theme.menu_width = 140
+theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
+theme.awesome_icon = theme.dir .. "/icons/awesome.png"
+theme.layout_tile = theme.dir .. "/icons/tile.png"
+theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"
+theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png"
+theme.layout_tiletop = theme.dir .. "/icons/tiletop.png"
+theme.layout_fairv = theme.dir .. "/icons/fairv.png"
+theme.layout_fairh = theme.dir .. "/icons/fairh.png"
+theme.layout_spiral = theme.dir .. "/icons/spiral.png"
+theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
+theme.layout_max = theme.dir .. "/icons/max.png"
+theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
+theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
+theme.layout_floating = theme.dir .. "/icons/floating.png"
+theme.widget_ac = theme.dir .. "/icons/ac.png"
+theme.widget_mem = theme.dir .. "/icons/mem.png"
+theme.widget_cpu = theme.dir .. "/icons/cpu.png"
+theme.widget_temp = theme.dir .. "/icons/temp.png"
+theme.widget_net = theme.dir .. "/icons/net.png"
+theme.widget_hdd = theme.dir .. "/icons/hdd.png"
+theme.widget_music = theme.dir .. "/icons/note.png"
+theme.widget_music_on = theme.dir .. "/icons/note.png"
+theme.widget_music_pause = theme.dir .. "/icons/pause.png"
+theme.widget_music_stop = theme.dir .. "/icons/stop.png"
+theme.widget_vol = theme.dir .. "/icons/vol.png"
+theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
+theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
+theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
+theme.widget_mail = theme.dir .. "/icons/mail.png"
+theme.widget_mail_on = theme.dir .. "/icons/mail_on.png"
+theme.widget_task = theme.dir .. "/icons/task.png"
+theme.widget_scissors = theme.dir .. "/icons/scissors.png"
+theme.widget_weather = theme.dir .. "/icons/dish.png"
+theme.widget_arch_logo = theme.dir .. "/icons/archlinux.png"
+theme.tasklist_plain_task_name = false
+theme.tasklist_disable_task_name = false
+theme.tasklist_disable_icon = false
+theme.useless_gap = 3
+theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
+theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"
+theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png"
+theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png"
+theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png"
+theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png"
+theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png"
+theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png"
+theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png"
+theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png"
+theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png"
+theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png"
+theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png"
+theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png"
+theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png"
+theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png"
+theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png"
theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/maximized_normal_inactive.png"
-theme.bg_systray = "#000000"
-theme.clock_fontfg = theme.fg_magenta
-theme.clock_font = "DejaVu Sans Mono Bold 12"
-theme.arch_fontfg = theme.fg_magenta
-theme.arch_font = "DejaVu Sans Mono Bold 12"
-
-local markup = lain.util.markup
-local separators = lain.util.separators
+theme.bg_systray = "#000000"
+theme.clock_fontfg = theme.fg_magenta
+theme.clock_font = "DejaVu Sans Mono Bold 12"
+theme.arch_fontfg = theme.fg_magenta
+theme.arch_font = "DejaVu Sans Mono Bold 12"
+local markup = lain.util.markup
+local separators = lain.util.separators
-- Textclock
local clockicon = wibox.widget.imagebox(theme.widget_clock)
-local clock = awful.widget.watch(
- "date +'%A %d %B %I:%M%p'", 60,
- function(widget, stdout)
- widget:set_markup(" " .. markup.fontfg(theme.clock_font, theme.clock_fontfg, stdout))
- end
-)
+local clock = awful.widget.watch("date +'%A %d %B %I:%M%p'", 60, function(widget, stdout)
+ widget:set_markup(" " .. markup.fontfg(theme.clock_font, theme.clock_fontfg, stdout))
+end)
-- Calendar
theme.cal = lain.widget.cal({
- attach_to = { clock },
- notification_preset = {
- font = "Roboto Mono Medium 10",
- fg = theme.border_focus,
- bg = theme.bg_normal
- }
+ attach_to = { clock },
+ notification_preset = {
+ font = "Roboto Mono Medium 10",
+ fg = theme.border_focus,
+ bg = theme.bg_normal,
+ },
})
-- ALSA volume
theme.volume = lain.widget.alsabar({
- --togglechannel = "IEC958,3",
- notification_preset = { font = theme.font, fg = theme.fg_normal },
+ --togglechannel = "IEC958,3",
+ notification_preset = { font = theme.font, fg = theme.fg_normal },
})
-- MPD
local musicplr = "urxvt -title Music -g 130x34-320+16 -e ncmpcpp"
local mpdicon = wibox.widget.imagebox(theme.widget_music)
mpdicon:buttons(my_table.join(
- awful.button({ modkey }, 1, function() awful.spawn.with_shell(musicplr) end),
- awful.button({}, 2, function()
- awful.spawn.with_shell("mpc toggle")
- theme.mpd.update()
- end),
- awful.button({ modkey }, 3, function() awful.spawn.with_shell("pkill ncmpcpp") end),
- awful.button({}, 3, function()
- awful.spawn.with_shell("mpc stop")
- theme.mpd.update()
- end)))
+ awful.button({ modkey }, 1, function()
+ awful.spawn.with_shell(musicplr)
+ end),
+ awful.button({}, 2, function()
+ awful.spawn.with_shell("mpc toggle")
+ theme.mpd.update()
+ end),
+ awful.button({ modkey }, 3, function()
+ awful.spawn.with_shell("pkill ncmpcpp")
+ end),
+ awful.button({}, 3, function()
+ awful.spawn.with_shell("mpc stop")
+ theme.mpd.update()
+ end)
+))
theme.mpd = lain.widget.mpd({
-