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 READER="zathura" # Zathura as the pdf viewer
|
||||
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 XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}"
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}"
|
||||
|
|
10
user/.bashrc
10
user/.bashrc
|
@ -186,8 +186,10 @@ alias \
|
|||
# adding flags
|
||||
alias \
|
||||
df="df -h" \
|
||||
free="free -m" \
|
||||
newsboat="newsboat -u ~/.config/newsboat/urls"
|
||||
free="free -m"
|
||||
|
||||
# newsboat
|
||||
[ -x "$(command -v newsboat)" ] && alias newsboat="newsboat -u ~/.config/newsboat/urls"
|
||||
|
||||
# multimedia scripts
|
||||
alias \
|
||||
|
@ -250,8 +252,8 @@ alias \
|
|||
yta-vorbis="yt-dlp --extract-audio --audio-format vorbis" \
|
||||
yta-wav="yt-dlp --extract-audio --audio-format wav" \
|
||||
ytv-best="yt-dlp -f bestvideo+bestaudio" \
|
||||
yt="ytfzf -f -t" \
|
||||
ytm="ytfzf -m"
|
||||
yt="ytfzf -ftsl" \
|
||||
ytm="ytfzf -mtsl"
|
||||
|
||||
# network and bluetooth
|
||||
alias \
|
||||
|
|
|
@ -6,6 +6,6 @@ music = "alacritty -t cmus --class cmus,cmus -e cmus",
|
|||
chat = "alacritty -t gomuks --class gomuks,gomuks -e gomuks",
|
||||
game = "retroarch",
|
||||
file = "alacritty -t vifm --class vifm,vifm -e ./.config/vifm/scripts/vifmrun",
|
||||
browser = "librewolf",
|
||||
browser = "qutebrowser",
|
||||
}
|
||||
return apps
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
local awful = require("awful")
|
||||
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("unclutter --hide-on-touch &")
|
||||
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
|
||||
awful.tag({ "",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
# Prints the current volume or 🔇 if muted.
|
||||
[ $(pamixer --get-mute) = true ] && echo "x" && exit
|
||||
vol="$(pamixer --get-volume)"
|
||||
if [ "$vol" -gt "70" ]; then
|
||||
if [ "$vol" -gt "50" ]; then
|
||||
icon=""
|
||||
elif [ "$vol" -gt "30" ]; then
|
||||
elif [ "$vol" -gt "10" ]; then
|
||||
icon=""
|
||||
elif [ "$vol" -gt "0" ]; then
|
||||
icon="x"
|
||||
icon=""
|
||||
else
|
||||
echo "x" && exit
|
||||
fi
|
||||
|
|
|
@ -8,7 +8,7 @@ if [ "$constate" = "disconnected" ]; then
|
|||
echo "$state"
|
||||
elif [ "$constate" = "connected" ]; then
|
||||
state="直"
|
||||
echo "$state" - "$currentwfi"
|
||||
echo "$state $currentwfi"
|
||||
else
|
||||
state="直?"
|
||||
echo "$state"
|
||||
|
|
|
@ -284,7 +284,7 @@ awful.keyboard.append_global_keybindings({
|
|||
{description = "decrease brightness", group = "quick"}),
|
||||
-- Display configuration
|
||||
awful.key({}, "XF86Display", function () awful.spawn("arandr") end,
|
||||
{description = "decrease brightness", group = "quick"}),
|
||||
{description = "configure display", group = "quick"}),
|
||||
-- apps (Super + a followed by KEY)
|
||||
awful.key({ modkey }, "a", function()
|
||||
local grabber
|
||||
|
|
|
@ -50,6 +50,7 @@ ruled.client.connect_signal("request::rules", function()
|
|||
rule_any = { class = {
|
||||
"Emacs",
|
||||
"Godot",
|
||||
"neovim",
|
||||
"Virt-manager"
|
||||
}
|
||||
},
|
||||
|
@ -71,7 +72,7 @@ ruled.client.connect_signal("request::rules", function()
|
|||
"qutebrowser"
|
||||
}
|
||||
},
|
||||
properties = { tag = "" }
|
||||
properties = { tag = "" }
|
||||
}
|
||||
-- TAG 4
|
||||
ruled.client.append_rule {
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
-- {{{ Imports
|
||||
local gears = require("gears")
|
||||
local dpi = require("beautiful.xresources").apply_dpi
|
||||
local beautiful = require("beautiful")
|
||||
-- }}}
|
||||
|
||||
local themes_path = string.format("%s/.config/awesome/theme/", os.getenv("HOME"))
|
||||
|
@ -33,8 +34,22 @@ theme.bg_urgent = "#a89984"
|
|||
-- }}}
|
||||
|
||||
-- {{{ Borders
|
||||
theme.useless_gap = dpi(5)
|
||||
theme.border_width = dpi(3)
|
||||
-- No borders when rearranging only 1 non-floating or maximized client
|
||||
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_focus = "#9d0006"
|
||||
theme.border_marked = "#9d0006"
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
print_info() {
|
||||
prin " "
|
||||
info "$(color 1) OS " distro
|
||||
info "$(color 1) OS " distro
|
||||
info "$(color 2) VER" kernel
|
||||
info "$(color 3) UP " uptime
|
||||
info "$(color 4) PKG" packages
|
||||
|
@ -701,7 +701,7 @@ image_source="auto"
|
|||
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
|
||||
# postmarketOS, and Void have a smaller logo variant.
|
||||
# Use '{distro name}_small' to use the small variants.
|
||||
ascii_distro="void_small"
|
||||
ascii_distro="arch_small"
|
||||
|
||||
# Ascii Colors
|
||||
# Default: 'distro'
|
||||
|
|
|
@ -56,7 +56,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
|||
# opaity-rule = []
|
||||
|
||||
## General Settings
|
||||
backend = "xrender";
|
||||
backend = "glx";
|
||||
vsync = true;
|
||||
dbe = false;
|
||||
detect-client-opacity = true;
|
||||
|
@ -64,10 +64,10 @@ refresh-rate = 60;
|
|||
detect-transient = true;
|
||||
glx-no-stencil = true;
|
||||
use-damage = true;
|
||||
unredir-if-possible = true;
|
||||
unredir-if-possible-exclude = [
|
||||
"class_g = 'looking-glass-client' && !focused"
|
||||
];
|
||||
unredir-if-possible = false;
|
||||
#unredir-if-possible-exclude = [
|
||||
# "class_g = 'looking-glass-client' && !focused"
|
||||
#];
|
||||
glx-use-copysubbuffer-mesa = true;
|
||||
|
||||
wintypes:
|
||||
|
|
|
@ -175,7 +175,7 @@ config.set('content.javascript.enabled', True, 'qute://*/*')
|
|||
# Directory to save downloads to. If unset, a sensible OS-specific
|
||||
# default is used.
|
||||
# Type: Directory
|
||||
c.downloads.location.directory = '~/Downloads'
|
||||
c.downloads.location.directory = '~/downloads'
|
||||
|
||||
# When to show the tab bar.
|
||||
# Type: String
|
||||
|
@ -188,8 +188,8 @@ c.tabs.show = 'always'
|
|||
|
||||
# Setting default page for when opening new tabs or new windows with
|
||||
# commands like :open -t and :open -w .
|
||||
c.url.default_page = 'https://search.brave.com'
|
||||
c.url.start_pages = 'https://search.brave.com'
|
||||
c.url.default_page = 'https://start.duckduckgo.com'
|
||||
c.url.start_pages = 'https://start.duckduckgo.com'
|
||||
|
||||
# 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 `{}`
|
||||
|
@ -209,7 +209,7 @@ c.url.start_pages = 'https://search.brave.com'
|
|||
# the search engine name to the search term, e.g. `:open google
|
||||
# qutebrowser`.
|
||||
# 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
|
||||
# font setting, it's replaced with the fonts listed here. If set to an
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
# - Dependencies: scrot, dmenu, notify-send
|
||||
|
||||
## CREATING SCREENSHOT FOLDER ##
|
||||
mkdir -p "$HOME/Pictures/Screenshots"
|
||||
cd "$HOME/Pictures/Screenshots" || exit 0
|
||||
mkdir -p "$HOME/pictures/screenshots"
|
||||
cd "$HOME/pictures/screenshots" || exit 0
|
||||
|
||||
## CHOICES ##
|
||||
cho1=" Entire screen"
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# - Dependencies: rofi, fd, feh
|
||||
|
||||
## 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
|
||||
|
||||
## 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
|
||||
|
||||
### ENVIRONMENT VARIABLES
|
||||
export GST_VAAPI_ALL_DRIVERS=1
|
||||
export MOZ_USE_XINPUT2=1
|
||||
export EDITOR="emacsclient -t -a ''" # $EDITOR use Emacs in terminal
|
||||
export VISUAL="emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mode
|
||||
export READER="zathura" # Zathura as the pdf viewer
|
||||
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 XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}"
|
||||
export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}"
|
||||
|
|
Loading…
Reference in a new issue