updates: dotfiles

This commit is contained in:
rxyhn 2022-03-05 16:15:34 +07:00
parent c045eb40ce
commit 6e0748bb60
3 changed files with 25 additions and 23 deletions

4
.github/README.md vendored
View file

@ -36,8 +36,8 @@ Fyi, I use night colorscheme, and it's so beautiful.
*Assuming your AUR helper is* `yay` *Assuming your AUR helper is* `yay`
```shell ```shell
$ yay -S awesome-git picom-ibhagwan-git alacritty rofi todo-bin \ $ yay -S awesome-git picom-jonaburg-fix alacritty rofi todo-bin \
acpi acpid acpi_call inotify-tools polkit-gnome xdotool maim colord wireless_tools \ acpi acpid acpi_call inotify-tools polkit-gnome xdotool maim colord \
brightnessctl alsa-utils alsa-tools pulseaudio pulseaudio-alsa playerctl-git \ brightnessctl alsa-utils alsa-tools pulseaudio pulseaudio-alsa playerctl-git \
mpc mpd mpdris2 --needed mpc mpd mpdris2 --needed
``` ```

View file

@ -69,12 +69,12 @@ local hourtextbox = wibox.widget.textclock("%H")
hourtextbox.markup = helpers.colorize_text(hourtextbox.text, beautiful.xforeground) hourtextbox.markup = helpers.colorize_text(hourtextbox.text, beautiful.xforeground)
hourtextbox.align = "center" hourtextbox.align = "center"
hourtextbox.valign = "center" hourtextbox.valign = "center"
hourtextbox.font = beautiful.font_name .. "medium 11" hourtextbox.font = beautiful.font_name .. "medium 12"
local minutetextbox = wibox.widget.textclock("%M") local minutetextbox = wibox.widget.textclock("%M")
minutetextbox.align = "center" minutetextbox.align = "center"
minutetextbox.valign = "center" minutetextbox.valign = "center"
minutetextbox.font = beautiful.font_name .. "medium 11" minutetextbox.font = beautiful.font_name .. "medium 12"
hourtextbox:connect_signal("widget::redraw_needed", function() hourtextbox:connect_signal("widget::redraw_needed", function()
hourtextbox.markup = helpers.colorize_text(hourtextbox.text, hourtextbox.markup = helpers.colorize_text(hourtextbox.text,
@ -169,8 +169,10 @@ local function boxed_widget2(widget)
local boxed = wibox.widget{ local boxed = wibox.widget{
{ {
widget, widget,
top = dpi(5), top = dpi(4),
bottom = dpi(5), bottom = dpi(4),
left = dpi(2),
right = dpi(2),
widget = wibox.container.margin widget = wibox.container.margin
}, },
bg = beautiful.lighter_bg, bg = beautiful.lighter_bg,

View file

@ -1,10 +1,10 @@
# Shadows # Shadows
shadow = true; shadow = true;
shadow-radius = 19; shadow-radius = 14;
shadow-opacity = 1.8; shadow-opacity = 0.7;
shadow-offset-x = -18; shadow-offset-x = -12;
shadow-offset-y = -18; shadow-offset-y = -12;
shadow-exclude = [ shadow-exclude = [
"class_g = 'Synapse'", "class_g = 'Synapse'",
"class_g = 'slop'", "class_g = 'slop'",
@ -25,7 +25,7 @@ no-fading-destroyed-argb = true;
# Corners # Corners
# corner-radius = 8 corner-radius = 3
rounded-corners-exclude = [ rounded-corners-exclude = [
"name *= 'screenkey'", "name *= 'screenkey'",
"window_type = 'dock'", "window_type = 'dock'",
@ -63,19 +63,19 @@ detect-transient = true;
glx-no-stencil = true; glx-no-stencil = true;
use-damage = true; use-damage = true;
xrender-sync-fence = true; xrender-sync-fence = true;
glx-use-copysubbuffer-mesa = true; glx-use-copysubbuffer-mesa = false;
wintypes: wintypes:
{ {
normal = { fade = true; full-shadow = true; }; normal = { fade = true; full-shadow = true; };
tooltip = { fade = true; }; tooltip = { fade = true; };
menu = { fade = true; }; menu = { fade = true; };
popup_menu = { fade = true; }; popup_menu = { fade = true; shadow = false; };
dropdown_menu = { fade = true; }; dropdown_menu = { fade = true; };
utility = { fade = true; }; utility = { fade = true; };
dialog = { fade = true; }; dialog = { fade = true; };
notify = { fade = true; }; notify = { fade = true; };
unknown = { fade = true; }; unknown = { fade = true; };
# notification = { shadow = true; }; notification = { full-shadow = true; };
# dock = { shadow = false; }; # dock = { shadow = false; };
}; };