updated bois
This commit is contained in:
parent
8431de7d45
commit
34dcd44ad5
26 changed files with 63 additions and 52430 deletions
52398
system/etc/hosts
52398
system/etc/hosts
File diff suppressed because it is too large
Load diff
|
@ -18,7 +18,7 @@ export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in termina
|
||||||
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
|
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
|
||||||
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="awesome" # Awesomewm 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"}"
|
||||||
|
|
10
user/.bashrc
10
user/.bashrc
|
@ -186,8 +186,10 @@ alias \
|
||||||
# adding flags
|
# adding flags
|
||||||
alias \
|
alias \
|
||||||
df="df -h" \
|
df="df -h" \
|
||||||
free="free -m" \
|
free="free -m"
|
||||||
newsboat="newsboat -u ~/.config/newsboat/urls"
|
|
||||||
|
# newsboat
|
||||||
|
[ -x "$(command -v newsboat)" ] && alias newsboat="newsboat -u ~/.config/newsboat/urls"
|
||||||
|
|
||||||
# multimedia scripts
|
# multimedia scripts
|
||||||
alias \
|
alias \
|
||||||
|
@ -250,8 +252,8 @@ alias \
|
||||||
yta-vorbis="yt-dlp --extract-audio --audio-format vorbis" \
|
yta-vorbis="yt-dlp --extract-audio --audio-format vorbis" \
|
||||||
yta-wav="yt-dlp --extract-audio --audio-format wav" \
|
yta-wav="yt-dlp --extract-audio --audio-format wav" \
|
||||||
ytv-best="yt-dlp -f bestvideo+bestaudio" \
|
ytv-best="yt-dlp -f bestvideo+bestaudio" \
|
||||||
yt="ytfzf -f -t" \
|
yt="ytfzf -ftsl" \
|
||||||
ytm="ytfzf -m"
|
ytm="ytfzf -mtsl"
|
||||||
|
|
||||||
# network and bluetooth
|
# network and bluetooth
|
||||||
alias \
|
alias \
|
||||||
|
|
|
@ -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 = "librewolf",
|
browser = "qutebrowser",
|
||||||
}
|
}
|
||||||
return apps
|
return apps
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
local awful = require("awful")
|
local awful = require("awful")
|
||||||
awful.util.spawn_with_shell("lxpolkit &")
|
awful.util.spawn_with_shell("lxpolkit &")
|
||||||
awful.util.spawn_with_shell("/usr/bin/emacs --daemon &")
|
|
||||||
awful.util.spawn_with_shell("$HOME/.fehbg &")
|
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("picom --experimental-backends --config ~/.config/picom/picom.conf &")
|
||||||
|
|
|
@ -12,7 +12,7 @@ screen.connect_signal("request::desktop_decoration", function(s)
|
||||||
-- Tag names for each screen
|
-- Tag names for each screen
|
||||||
awful.tag({ "",
|
awful.tag({ "",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
"",
|
"",
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
# Prints the current volume or 🔇 if muted.
|
# Prints the current volume or 🔇 if muted.
|
||||||
[ $(pamixer --get-mute) = true ] && echo "x" && exit
|
[ $(pamixer --get-mute) = true ] && echo "x" && exit
|
||||||
vol="$(pamixer --get-volume)"
|
vol="$(pamixer --get-volume)"
|
||||||
if [ "$vol" -gt "70" ]; then
|
if [ "$vol" -gt "50" ]; then
|
||||||
icon=""
|
icon=""
|
||||||
elif [ "$vol" -gt "30" ]; then
|
elif [ "$vol" -gt "10" ]; then
|
||||||
icon=""
|
icon=""
|
||||||
elif [ "$vol" -gt "0" ]; then
|
elif [ "$vol" -gt "0" ]; then
|
||||||
icon="x"
|
icon=""
|
||||||
else
|
else
|
||||||
echo "x" && exit
|
echo "x" && exit
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -8,7 +8,7 @@ if [ "$constate" = "disconnected" ]; then
|
||||||
echo "$state"
|
echo "$state"
|
||||||
elif [ "$constate" = "connected" ]; then
|
elif [ "$constate" = "connected" ]; then
|
||||||
state="直"
|
state="直"
|
||||||
echo "$state" - "$currentwfi"
|
echo "$state $currentwfi"
|
||||||
else
|
else
|
||||||
state="直?"
|
state="直?"
|
||||||
echo "$state"
|
echo "$state"
|
||||||
|
|
|
@ -284,7 +284,7 @@ awful.keyboard.append_global_keybindings({
|
||||||
{description = "decrease brightness", group = "quick"}),
|
{description = "decrease brightness", group = "quick"}),
|
||||||
-- Display configuration
|
-- Display configuration
|
||||||
awful.key({}, "XF86Display", function () awful.spawn("arandr") end,
|
awful.key({}, "XF86Display", function () awful.spawn("arandr") end,
|
||||||
{description = "decrease brightness", group = "quick"}),
|
{description = "configure display", group = "quick"}),
|
||||||
-- apps (Super + a followed by KEY)
|
-- apps (Super + a followed by KEY)
|
||||||
awful.key({ modkey }, "a", function()
|
awful.key({ modkey }, "a", function()
|
||||||
local grabber
|
local grabber
|
||||||
|
|
|
@ -50,6 +50,7 @@ ruled.client.connect_signal("request::rules", function()
|
||||||
rule_any = { class = {
|
rule_any = { class = {
|
||||||
"Emacs",
|
"Emacs",
|
||||||
"Godot",
|
"Godot",
|
||||||
|
"neovim",
|
||||||
"Virt-manager"
|
"Virt-manager"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -71,7 +72,7 @@ ruled.client.connect_signal("request::rules", function()
|
||||||
"qutebrowser"
|
"qutebrowser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
properties = { tag = "" }
|
properties = { tag = "" }
|
||||||
}
|
}
|
||||||
-- TAG 4
|
-- TAG 4
|
||||||
ruled.client.append_rule {
|
ruled.client.append_rule {
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
-- {{{ Imports
|
-- {{{ Imports
|
||||||
local gears = require("gears")
|
local gears = require("gears")
|
||||||
local dpi = require("beautiful.xresources").apply_dpi
|
local dpi = require("beautiful.xresources").apply_dpi
|
||||||
|
local beautiful = require("beautiful")
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
local themes_path = string.format("%s/.config/awesome/theme/", os.getenv("HOME"))
|
local themes_path = string.format("%s/.config/awesome/theme/", os.getenv("HOME"))
|
||||||
|
@ -33,8 +34,22 @@ theme.bg_urgent = "#a89984"
|
||||||
-- }}}
|
-- }}}
|
||||||
|
|
||||||
-- {{{ Borders
|
-- {{{ Borders
|
||||||
theme.useless_gap = dpi(5)
|
-- No borders when rearranging only 1 non-floating or maximized client
|
||||||
theme.border_width = dpi(3)
|
screen.connect_signal("arrange", function (s)
|
||||||
|
local max = s.selected_tag.layout.name == "max"
|
||||||
|
local only_one = #s.tiled_clients == 1 -- use tiled_clients so that other floating windows don't affect the count
|
||||||
|
-- but iterate over clients instead of tiled_clients as tiled_clients doesn't include maximized windows
|
||||||
|
for _, c in pairs(s.clients) do
|
||||||
|
if (max or only_one) and not c.floating or c.maximized then
|
||||||
|
c.border_width = 0
|
||||||
|
else
|
||||||
|
c.border_width = beautiful.border_width
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
beautiful.gap_single_client = false
|
||||||
|
theme.useless_gap = dpi(1)
|
||||||
|
theme.border_width = dpi(1)
|
||||||
theme.border_normal = "#504945"
|
theme.border_normal = "#504945"
|
||||||
theme.border_focus = "#9d0006"
|
theme.border_focus = "#9d0006"
|
||||||
theme.border_marked = "#9d0006"
|
theme.border_marked = "#9d0006"
|
||||||
|
|
|
@ -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="void_small"
|
ascii_distro="arch_small"
|
||||||
|
|
||||||
# Ascii Colors
|
# Ascii Colors
|
||||||
# Default: 'distro'
|
# Default: 'distro'
|
||||||
|
|
|
@ -56,7 +56,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
# opaity-rule = []
|
# opaity-rule = []
|
||||||
|
|
||||||
## General Settings
|
## General Settings
|
||||||
backend = "xrender";
|
backend = "glx";
|
||||||
vsync = true;
|
vsync = true;
|
||||||
dbe = false;
|
dbe = false;
|
||||||
detect-client-opacity = true;
|
detect-client-opacity = true;
|
||||||
|
@ -64,10 +64,10 @@ refresh-rate = 60;
|
||||||
detect-transient = true;
|
detect-transient = true;
|
||||||
glx-no-stencil = true;
|
glx-no-stencil = true;
|
||||||
use-damage = true;
|
use-damage = true;
|
||||||
unredir-if-possible = true;
|
unredir-if-possible = false;
|
||||||
unredir-if-possible-exclude = [
|
#unredir-if-possible-exclude = [
|
||||||
"class_g = 'looking-glass-client' && !focused"
|
# "class_g = 'looking-glass-client' && !focused"
|
||||||
];
|
#];
|
||||||
glx-use-copysubbuffer-mesa = true;
|
glx-use-copysubbuffer-mesa = true;
|
||||||
|
|
||||||
wintypes:
|
wintypes:
|
||||||
|
|
|
@ -175,7 +175,7 @@ config.set('content.javascript.enabled', True, 'qute://*/*')
|
||||||
# Directory to save downloads to. If unset, a sensible OS-specific
|
# Directory to save downloads to. If unset, a sensible OS-specific
|
||||||
# default is used.
|
# default is used.
|
||||||
# Type: Directory
|
# Type: Directory
|
||||||
c.downloads.location.directory = '~/Downloads'
|
c.downloads.location.directory = '~/downloads'
|
||||||
|
|
||||||
# When to show the tab bar.
|
# When to show the tab bar.
|
||||||
# Type: String
|
# Type: String
|
||||||
|
@ -188,8 +188,8 @@ c.tabs.show = 'always'
|
||||||
|
|
||||||
# Setting default page for when opening new tabs or new windows with
|
# Setting default page for when opening new tabs or new windows with
|
||||||
# commands like :open -t and :open -w .
|
# commands like :open -t and :open -w .
|
||||||
c.url.default_page = 'https://search.brave.com'
|
c.url.default_page = 'https://start.duckduckgo.com'
|
||||||
c.url.start_pages = 'https://search.brave.com'
|
c.url.start_pages = 'https://start.duckduckgo.com'
|
||||||
|
|
||||||
# Search engines which can be used via the address bar. Maps a search
|
# Search engines which can be used via the address bar. Maps a search
|
||||||
# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
|
# engine name (such as `DEFAULT`, or `ddg`) to a URL with a `{}`
|
||||||
|
@ -209,7 +209,7 @@ c.url.start_pages = 'https://search.brave.com'
|
||||||
# the search engine name to the search term, e.g. `:open google
|
# the search engine name to the search term, e.g. `:open google
|
||||||
# qutebrowser`.
|
# qutebrowser`.
|
||||||
# Type: Dict
|
# Type: Dict
|
||||||
c.url.searchengines = {'DEFAULT': 'https://search.brave.com/search?q={}', 'aw': 'https://wiki.archlinux.org/?search={}', 'ub': 'https://www.urbandictionary.com/define.php?term={}', 'wiki': 'https://en.wikipedia.org/wiki/{}'}
|
c.url.searchengines = {'DEFAULT': 'https://duckduckgo.com/?q={}', 'aw': 'https://wiki.archlinux.org/?search={}', 'ub': 'https://www.urbandictionary.com/define.php?term={}', 'wiki': 'https://en.wikipedia.org/wiki/{}'}
|
||||||
|
|
||||||
# Default font families to use. Whenever "default_family" is used in a
|
# Default font families to use. Whenever "default_family" is used in a
|
||||||
# font setting, it's replaced with the fonts listed here. If set to an
|
# font setting, it's replaced with the fonts listed here. If set to an
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
# - Dependencies: scrot, dmenu, notify-send
|
# - Dependencies: scrot, dmenu, notify-send
|
||||||
|
|
||||||
## CREATING SCREENSHOT FOLDER ##
|
## CREATING SCREENSHOT FOLDER ##
|
||||||
mkdir -p "$HOME/Pictures/Screenshots"
|
mkdir -p "$HOME/pictures/screenshots"
|
||||||
cd "$HOME/Pictures/Screenshots" || exit 0
|
cd "$HOME/pictures/screenshots" || exit 0
|
||||||
|
|
||||||
## CHOICES ##
|
## CHOICES ##
|
||||||
cho1=" Entire screen"
|
cho1=" Entire screen"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# - Dependencies: rofi, fd, feh
|
# - Dependencies: rofi, fd, feh
|
||||||
|
|
||||||
## MAIN VARIABLES AND COMMANDS ##
|
## MAIN VARIABLES AND COMMANDS ##
|
||||||
walldir="Pictures/Wallpapers/" # wallpapers folder, change it to yours, make sure that it ends with a /
|
walldir="pictures/wallpapers/" # wallpapers folder, change it to yours, make sure that it ends with a /
|
||||||
cd "$walldir" || exit
|
cd "$walldir" || exit
|
||||||
|
|
||||||
## SELECT PICTURE FUNCTION ##
|
## SELECT PICTURE FUNCTION ##
|
||||||
|
|
15
user/.config/user-dirs.dirs
Normal file
15
user/.config/user-dirs.dirs
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# This file is written by xdg-user-dirs-update
|
||||||
|
# If you want to change or add directories, just edit the line you're
|
||||||
|
# interested in. All local changes will be retained on the next run.
|
||||||
|
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
|
||||||
|
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
|
||||||
|
# absolute path. No other format is supported.
|
||||||
|
#
|
||||||
|
XDG_DESKTOP_DIR="$HOME/temporal"
|
||||||
|
XDG_DOWNLOAD_DIR="$HOME/downloads"
|
||||||
|
XDG_TEMPLATES_DIR="$HOME/documents/templates"
|
||||||
|
XDG_PUBLICSHARE_DIR="$HOME/documents/public"
|
||||||
|
XDG_DOCUMENTS_DIR="$HOME/documents"
|
||||||
|
XDG_MUSIC_DIR="$HOME/music"
|
||||||
|
XDG_PICTURES_DIR="$HOME/pictures"
|
||||||
|
XDG_VIDEOS_DIR="$HOME/videos"
|
|
@ -30,13 +30,12 @@ if [ -f "$usermodmap" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### ENVIRONMENT VARIABLES
|
### ENVIRONMENT VARIABLES
|
||||||
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="emacsclient -t -a ''" # $EDITOR use Emacs in terminal
|
||||||
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
|
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
|
||||||
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="awesome" # Awesomewm 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"}"
|
||||||
|
|
Loading…
Reference in a new issue