switched back to void

This commit is contained in:
Clay Gomera 2022-09-13 20:44:31 -04:00
parent dfb8084340
commit 479a025fb9
18 changed files with 106 additions and 83 deletions

View file

@ -138,14 +138,12 @@ alias \
# pacman # pacman
alias \ alias \
pac-up="sudo pacman -Syyu" \ xb-up="sudo xbps-install -Su && xcheckrestart" \
pac-get="sudo pacman -S" \ xb-get="sudo xbps-install -S" \
pac-rmv="sudo pacman -Rcns" \ xb-rmv="sudo xbps-remove -R" \
pac-rmv-sec="sudo pacman -Runs" \ xb-rmv-sec="sudo xbps-remove" \
pac-qry="sudo pacman -Ss" \ xb-qry="sudo xbps-query -R" \
pac-cln="sudo pacman -Scc" \ xb-cln="sudo xbps-remove -Oo" \
par-get="paru -S" \
par-cln="paru -Scc"
# colorize grep output (good for log files) # colorize grep output (good for log files)
alias \ alias \
@ -190,9 +188,9 @@ alias \
# power management # power management
alias \ alias \
po="systemctl poweroff" \ po="loginctl poweroff" \
sp="systemctl suspend" \ sp="loginctl suspend" \
rb="systemctl reboot" rb="loginctl reboot"
# file management # file management
alias \ alias \

View file

@ -6,6 +6,6 @@ music = "alacritty -t cmus --class cmus,cmus -e cmus",
chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks", chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks",
game = "retroarch", game = "retroarch",
file = "alacritty -t vifm --class vifm,vifm -e ./.config/vifm/scripts/vifmrun", file = "alacritty -t vifm --class vifm,vifm -e ./.config/vifm/scripts/vifmrun",
browser = "brave", browser = "chromium",
} }
return apps return apps

View file

@ -1,4 +1,7 @@
local awful = require("awful") local awful = require("awful")
awful.util.spawn_with_shell("$HOME/.fehbg &") awful.util.spawn_with_shell("/usr/bin/emacs --daemon &")
awful.util.spawn_with_shell("lxpolkit &") awful.util.spawn_with_shell("lxpolkit &")
awful.util.spawn_with_shell("$HOME/.fehbg &")
awful.util.spawn_with_shell("unclutter --hide-on-touch &") awful.util.spawn_with_shell("unclutter --hide-on-touch &")
awful.util.spawn_with_shell("picom --experimental-backends --config ~/.config/picom/picom.conf &")
awful.util.spawn_with_shell("dunst --config ~/.config/dunst/dunstrc &")

View file

@ -11,15 +11,15 @@ mytextclock = wibox.widget.textclock()
screen.connect_signal("request::desktop_decoration", function(s) screen.connect_signal("request::desktop_decoration", function(s)
-- Tag names for each screen -- Tag names for each screen
awful.tag({ "E", awful.tag({ "",
"F", "",
"W", "",
"C", "",
"M", "",
"V", "",
"X", "",
"D", "",
"G" ""
}, s, awful.layout.layouts[1]) }, s, awful.layout.layouts[1])
-- Layoutbox widget -- Layoutbox widget
@ -34,10 +34,11 @@ screen.connect_signal("request::desktop_decoration", function(s)
} }
-- Custom widgets -- Custom widgets
s.volume = awful.widget.watch(".config/awesome/core/bar/widgets/volume", 0.1) s.volume = awful.widget.watch(".config/awesome/core/bar/widgets/volume", 1)
s.battery = awful.widget.watch(".config/awesome/core/bar/widgets/battery", 0.1) s.battery = awful.widget.watch(".config/awesome/core/bar/widgets/battery", 10)
s.brightness = awful.widget.watch(".config/awesome/core/bar/widgets/brightness", 0.1) s.wifi = awful.widget.watch(".config/awesome/core/bar/widgets/wifi", 10)
s.layout = awful.widget.watch(".config/awesome/core/bar/widgets/layout", 0.1) s.brightness = awful.widget.watch(".config/awesome/core/bar/widgets/brightness", 1)
s.layout = awful.widget.watch(".config/awesome/core/bar/widgets/layout", 1)
-- Taglist widget -- Taglist widget
s.mytaglist = awful.widget.taglist { s.mytaglist = awful.widget.taglist {
@ -80,15 +81,18 @@ s.layout = awful.widget.watch(".config/awesome/core/bar/widgets/layout", 0.1)
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_one), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_one),
wibox.container.background(s.layout, theme.bar_bg_one), wibox.container.background(s.layout, theme.bar_bg_one),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_one), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_one),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_two),
wibox.container.background(s.battery, theme.bar_bg_two),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_two),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_tre), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_tre),
wibox.container.background(s.volume, theme.bar_bg_tre), wibox.container.background(s.volume, theme.bar_bg_tre),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_tre), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_tre),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_for), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_for),
wibox.container.background(s.brightness, theme.bar_bg_for), wibox.container.background(s.brightness, theme.bar_bg_for),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_for), wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_for),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_two),
wibox.container.background(s.battery, theme.bar_bg_two),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_two),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_fiv),
wibox.container.background(s.wifi, theme.bar_bg_fiv),
wibox.container.background(wibox.widget.textbox(" "), theme.bar_bg_fiv),
}, },
}, },
{ {

View file

@ -2,22 +2,22 @@
# Loop through all attached batteries and format the info # Loop through all attached batteries and format the info
currntpwr=$(powerprofilesctl get) currntpwr=$(powerprofilesctl get)
if [ "${currntpwr}" = "performance" ]; then if [ "${currntpwr}" = "performance" ]; then
pwr="-  performance" pwr="-  Performance"
elif [ "${currntpwr}" = "balanced" ]; then elif [ "${currntpwr}" = "balanced" ]; then
pwr="-  balanced" pwr="-  Balanced"
elif [ "${currntpwr}" = "power-saver" ]; then elif [ "${currntpwr}" = "power-saver" ]; then
pwr="-  power-saver" pwr="-  Power Saver"
fi fi
for battery in /sys/class/power_supply/BAT?*; do for battery in /sys/class/power_supply/BAT?*; do
# If non-first battery, print a space separator. # If non-first battery, print a space separator.
[ -n "${capacity+x}" ] && printf " " [ -n "${capacity+x}" ] && printf " "
# Sets up the status and capacity # Sets up the status and capacity
case "$(cat "$battery/status" 2>&1)" in case "$(cat "$battery/status" 2>&1)" in
"Full") status="" ;; "Full") status="" ;;
"Discharging") status="" ;; "Discharging") status="" ;;
"Charging") status="" ;; "Charging") status="" ;;
"Not charging") status="" ;; "Not charging") status="" ;;
"Unknown") status="" ;; "Unknown") status="" ;;
*) exit 1 ;; *) exit 1 ;;
esac esac
capacity="$(cat "$battery/capacity" 2>&1)" capacity="$(cat "$battery/capacity" 2>&1)"

View file

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+'); layout=$(setxkbmap -query | grep -oP 'layout:\s*\K\w+');
echo " $layout"; echo " $layout" | tr '[:lower:]' '[:upper:]';

View file

@ -0,0 +1,15 @@
#!/bin/bash
constate=$(nmcli dev | grep wifi | sed 's/ \{2,\}/|/g' | cut -d '|' -f3 | head -1)
currentwfi=$(nmcli dev | grep wifi | sed 's/ \{2,\}/|/g' | cut -d '|' -f4 | head -1)
if [ "$constate" = "disconnected" ]; then
state="睊"
echo "$state"
elif [ "$constate" = "connected" ]; then
state="直"
echo "$state" - "$currentwfi"
else
state="直?"
echo "$state"
fi

View file

@ -294,18 +294,18 @@ awful.keyboard.append_global_keybindings({
awful.keygrabber.run( awful.keygrabber.run(
function(_, key, event) function(_, key, event)
if event == "release" then return end if event == "release" then return end
if key == "e" then awful.util.spawn(apps.editor) if key == "1" then awful.util.spawn(apps.editor)
elseif key == "f" then awful.util.spawn(apps.file) elseif key == "2" then awful.util.spawn(apps.file)
elseif key == "w" then awful.util.spawn(apps.browser) elseif key == "3" then awful.util.spawn(apps.browser)
elseif key == "c" then awful.util.spawn(apps.chat) elseif key == "4" then awful.util.spawn(apps.chat)
elseif key == "m" then awful.util.spawn(apps.music) elseif key == "5" then awful.util.spawn(apps.music)
elseif key == "g" then awful.util.spawn(apps.game) elseif key == "9" then awful.util.spawn(apps.game)
end end
awful.keygrabber.stop(grabber) awful.keygrabber.stop(grabber)
end end
) )
end, end,
{description = "followed by KEY (Look at the tag names)", group = "apps"} {description = "followed by KEY", group = "apps"}
), ),
-- Keyboard layouts (Super + x followed by KEY) -- Keyboard layouts (Super + x followed by KEY)
awful.key({ modkey }, "x", function() awful.key({ modkey }, "x", function()

View file

@ -55,27 +55,29 @@ ruled.client.connect_signal("request::rules", function()
"Virt-manager" "Virt-manager"
} }
}, },
properties = { tag = "E" }, properties = { tag = "" },
} }
-- F TAG -- F TAG
ruled.client.append_rule { ruled.client.append_rule {
rule = { class = "vifm" }, rule = { class = "vifm" },
properties = { tag = "F" }, properties = { tag = "" },
} }
-- W TAG -- W TAG
ruled.client.append_rule { ruled.client.append_rule {
rule_any = { class = { rule_any = { class = {
"Brave-browser", "Brave-browser",
"librewolf", "librewolf",
"Firefox",
"Chromium",
"qutebrowser" "qutebrowser"
} }
}, },
properties = { tag = "W" } properties = { tag = "" }
} }
-- C TAG -- C TAG
ruled.client.append_rule { ruled.client.append_rule {
rule = { class = "gomuks" }, rule = { class = "gomuks" },
properties = { tag = "C" } properties = { tag = "" }
} }
-- M TAG -- M TAG
ruled.client.append_rule { ruled.client.append_rule {
@ -87,7 +89,7 @@ ruled.client.connect_signal("request::rules", function()
"Carla2-Control" "Carla2-Control"
} }
}, },
properties = { tag = "M" } properties = { tag = "" }
} }
-- V TAG -- V TAG
ruled.client.append_rule { ruled.client.append_rule {
@ -101,7 +103,7 @@ ruled.client.connect_signal("request::rules", function()
"mpv" "mpv"
} }
}, },
properties = { tag = "V" } properties = { tag = "" }
} }
-- X TAG -- X TAG
ruled.client.append_rule { ruled.client.append_rule {
@ -116,7 +118,7 @@ ruled.client.connect_signal("request::rules", function()
"Bitwarden" "Bitwarden"
} }
}, },
properties = { tag = "X" } properties = { tag = "" }
} }
-- D TAG -- D TAG
ruled.client.append_rule { ruled.client.append_rule {
@ -125,12 +127,12 @@ ruled.client.connect_signal("request::rules", function()
"Joplin" "Joplin"
} }
}, },
properties = { tag = "D" } properties = { tag = "" }
} }
-- G TAG -- G TAG
ruled.client.append_rule { ruled.client.append_rule {
rule = { class = "retroarch" }, rule = { class = "retroarch" },
properties = { tag = "G" } properties = { tag = "" }
} }
--}}} --}}}
-- } -- }

View file

@ -12,7 +12,7 @@ local theme = {}
-- }}} -- }}}
-- {{{ theme font -- {{{ theme font
theme.font = "mononoki Nerd Font 9" theme.font = "mononoki Nerd Font 12"
--- }}} --- }}}
-- {{{ bar colors -- {{{ bar colors
@ -20,7 +20,8 @@ theme.bar_bg_one = "#427b58"
theme.bar_bg_two = "#076678" theme.bar_bg_two = "#076678"
theme.bar_bg_tre = "#b57614" theme.bar_bg_tre = "#b57614"
theme.bar_bg_for = "#9d0006" theme.bar_bg_for = "#9d0006"
theme.bar_clock = "#504945" theme.bar_bg_fiv = "#8f3f71"
theme.bar_clock = "#3c3836"
--- }}} --- }}}
@ -30,7 +31,7 @@ theme.fg_focus = "#dfc4a1"
theme.fg_urgent = "#fbf1c7" theme.fg_urgent = "#fbf1c7"
theme.bg_normal = "#1d2021" theme.bg_normal = "#1d2021"
theme.bg_focus = "#3c3836" theme.bg_focus = "#3c3836"
theme.bg_urgent = "#cc241d" theme.bg_urgent = "#a89984"
-- }}} -- }}}
-- {{{ Borders -- {{{ Borders
@ -42,16 +43,16 @@ theme.border_marked = "#9d0006"
-- }}} -- }}}
-- {{{ Taglist -- {{{ Taglist
theme.taglist_font = "mononoki Nerd Font 9" theme.taglist_font = "mononoki Nerd Font 14"
theme.taglist_fg_focus = "#fb4934" theme.taglist_fg_focus = "#fb4934"
theme.taglist_fg_occupied = "#8ec07c" theme.taglist_fg_occupied = "#8ec07c"
theme.taglist_fg_urgent = "#458588" theme.taglist_fg_urgent = "#504945"
theme.taglist_fg_empty = "#a89984" theme.taglist_fg_empty = "#a89984"
theme.taglist_spacing = 5 theme.taglist_spacing = 5
-- }}} -- }}}
-- {{{ Notifications -- {{{ Notifications
theme.notification_font = "mononoki Nerd Font 9" theme.notification_font = "mononoki Nerd Font 12"
theme.notification_bg = "#282828" theme.notification_bg = "#282828"
theme.notification_fg = "#fbf1c7" theme.notification_fg = "#fbf1c7"
theme.notification_shape = gears.shape.rounded_rect theme.notification_shape = gears.shape.rounded_rect
@ -64,8 +65,8 @@ theme.hotkeys_modifiers_fg = "#458588"
theme.hotkeys_label_bg = "#fabd2f" theme.hotkeys_label_bg = "#fabd2f"
theme.hotkeys_label_fg = "#1d2021" theme.hotkeys_label_fg = "#1d2021"
theme.hotkeys_group_margin = dpi(20) theme.hotkeys_group_margin = dpi(20)
theme.hotkeys_description_font = "mononoki Nerd Font 9" theme.hotkeys_description_font = "mononoki Nerd Font 12"
theme.hotkeys_font = "mononoki Nerd Font 9" theme.hotkeys_font = "mononoki Nerd Font 12"
-- }}} -- }}}
-- {{{ Mouse finder -- {{{ Mouse finder

View file

@ -1,8 +1,8 @@
[Settings] [Settings]
gtk-theme-name=gruvbox-dark-gtk gtk-theme-name=gruvbox-dark-gtk
gtk-icon-theme-name=gruvbox-dark-icons-gtk gtk-icon-theme-name=gruvbox-dark-icons-gtk
gtk-font-name=Sans 10 gtk-font-name=mononoki Nerd Font 10
gtk-cursor-theme-name=volantes_cursors gtk-cursor-theme-name=Simp1e-Gruvbox-Dark
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -7,7 +7,7 @@
print_info() { print_info() {
prin " " prin " "
info "$(color 1) OS " distro info "$(color 1) OS " distro
info "$(color 2) VER" kernel info "$(color 2) VER" kernel
info "$(color 3) UP " uptime info "$(color 3) UP " uptime
info "$(color 4) PKG" packages info "$(color 4) PKG" packages
@ -701,7 +701,7 @@ image_source="auto"
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, # Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant. # postmarketOS, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants. # Use '{distro name}_small' to use the small variants.
ascii_distro="arch_small" ascii_distro="void_small"
# Ascii Colors # Ascii Colors
# Default: 'distro' # Default: 'distro'

View file

@ -29,11 +29,11 @@ pwrs="$pwr1\n$pwr2\n$pwr3\n$pwr4"
action=$(echo -e "$options" | rofi -dmenu -b -l 7 -i -p " ") action=$(echo -e "$options" | rofi -dmenu -b -l 7 -i -p " ")
case "$action" in case "$action" in
$option1*) $option1*)
whoami | xargs -I % sh -c 'pkill -KILL -u %';; pkill X;;
$option2*) $option2*)
systemctl reboot || loginctl reboot;; loginctl reboot;;
$option3*) $option3*)
systemctl poweroff || loginctl poweroff;; loginctl poweroff;;
$option4*) $option4*)
betterlockscreen --suspend;; betterlockscreen --suspend;;
$option5*) $option5*)

View file

@ -6,7 +6,7 @@
## ROFI VARIABLES ## ## ROFI VARIABLES ##
ROFI1="rofi -dmenu -l 10 -b -i -p" ROFI1="rofi -dmenu -l 10 -b -i -p"
ROFI2="rofi -dmenu -b -p" ROFI2="rofi -dmenu -l 1 -b -p"
ROFI3="rofi -dmenu -l 5 -b -i -p" ROFI3="rofi -dmenu -l 5 -b -i -p"
## MAIN OPTIONS ## ## MAIN OPTIONS ##

View file

@ -1,7 +1,7 @@
gtk-theme-name="gruvbox-dark-gtk" gtk-theme-name="gruvbox-dark-gtk"
gtk-icon-theme-name="gruvbox-dark-icons-gtk" gtk-icon-theme-name="gruvbox-dark-icons-gtk"
gtk-font-name="Sans 10" gtk-font-name="mononoki Nerd Font 10"
gtk-cursor-theme-name="volantes_cursors" gtk-cursor-theme-name="Simp1e-Gruvbox-Dark"
gtk-cursor-theme-size=0 gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ gtk-toolbar-style=GTK_TOOLBAR_BOTH_HORIZ
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR

View file

@ -1,4 +1,4 @@
[Icon Theme] [Icon Theme]
Name=Default Name=Default
Comment=Default Cursor Theme Comment=Default Cursor Theme
Inherits=volantes_cursors Inherits=Simp1e-Gruvbox-Dark

View file

@ -30,18 +30,18 @@ if [ -f "$usermodmap" ]; then
fi fi
### ENVIRONMENT VARIABLES ### ENVIRONMENT VARIABLES
export GST_VAAPI_ALL_DRIVERS=1 #export GST_VAAPI_ALL_DRIVERS=1
export MOZ_USE_XINPUT2=1 export MOZ_USE_XINPUT2=1
export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in terminal export EDITOR="nvim" # $EDITOR use neovim in terminal
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode export VISUAL="alacritty -e nvim" # $VISUAL use neovim in terminal
export READER="zathura" # Zathura as the pdf viewer export READER="zathura" # Zathura as the pdf viewer
export TERMINAL="alacritty" # Alacritty as the default terminal emulator export TERMINAL="alacritty" # Alacritty as the default terminal emulator
export BROWSER="librewolf" # Librewolf as the default web browser export BROWSER="qutebrowser" # Qutebrowser as the default web browser
export WM="dwm" # DWM as the default Window Manager export WM="awesome" # Awesomewm as the default Window Manager
export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}" export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}"
export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}" export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:="$HOME/.config"}" export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:="$HOME/.config"}"
export QT_QPA_PLATFORMTHEME=qt5ct # Qt theeming stuff export QT_QPA_PLATFORMTHEME=qt5ct # Qt theeming stuff
# start window manager / desktop environment # start window manager / desktop environment
exec dwm exec awesome