Updated configuration files
This commit is contained in:
parent
34595b4c8d
commit
b897574ef7
|
@ -341,7 +341,7 @@ set $base0F #d65d0e
|
|||
|
||||
# Basic bar configuration using the Base16 variables.
|
||||
bar {
|
||||
font pango: DejaVu Sans Mono Bold 11
|
||||
font pango: DejaVu Sans Mono Bold 10
|
||||
mode dock
|
||||
status_command py3status
|
||||
position top
|
||||
|
@ -387,7 +387,7 @@ exec --no-startup-id xss-lock -- lock.sh
|
|||
exec --no-startup-id "./Scripts/screensaver.sh" # Screensaver
|
||||
#exec --no-startup-id "xscreensaver -no-splash" # Screensaver
|
||||
#exec --no-startup-id "./Scripts/xscreensaverstopper.sh" # Screensaver inhibitor
|
||||
exec --no-startup-id "compton -b" # Compositor
|
||||
#exec --no-startup-id "compton -b" # Compositor
|
||||
exec --no-startup-id "nitrogen --restore" # Wallpaper
|
||||
exec --no-startup-id "udiskie --notify --automount" # Automounter
|
||||
# dunst is used for notifications
|
||||
|
@ -414,8 +414,9 @@ bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
|||
|
||||
# Print screen
|
||||
bindsym Print exec --no-startup-id flameshot gui
|
||||
|
||||
bindsym Mod4+l exec --no-startup-id "loginctl lock-session"
|
||||
|
||||
bindsym Mod4+F12 exec --no-startup-id "xscreensaver-command -lock"
|
||||
# Moving desktops
|
||||
bindsym Mod4+o move workspace to output left
|
||||
bindsym Mod4+Ctrl+Right move workspace to output right
|
||||
bindsym Mod4+Ctrl+Left move workspace to output left
|
||||
|
|
|
@ -11,7 +11,8 @@ class Py3status:
|
|||
format = 'NET: {status}'
|
||||
|
||||
def net_status(self):
|
||||
command = 'nmcli --mode multiline --colors no con show --active | rg DEVICE | awk -F":" \'{ gsub(/ /, ""); print $2}\''
|
||||
# Retrieve active connections, Ignore bridges
|
||||
command = 'nmcli --mode multiline --colors no con show --active | rg DEVICE | awk -F":" \'{ gsub(/ /, ""); print $2}\' | rg \'^[^br-]\''
|
||||
return_value = check_output(command, shell=True)
|
||||
value = return_value.decode("utf-8")
|
||||
value = value.replace('\n', ', ').strip(', ')
|
||||
|
|
|
@ -1,2 +1,26 @@
|
|||
set previewer ~/.config/lf/pv.sh
|
||||
map i $~/.config/lf/pv.sh $f | less -R
|
||||
|
||||
# Trash
|
||||
cmd trash %trash-put "$fx"
|
||||
|
||||
# Search with fzf
|
||||
map f $vi $(fzf)
|
||||
|
||||
# Recreate open-with with lf
|
||||
cmd open-with %"$@" "$fx"
|
||||
map ` push :open-with<space>
|
||||
|
||||
# Show current directory in window title
|
||||
cmd on-cd &{{
|
||||
# '&' commands run silently in background (which is what we want here),
|
||||
# but are not connected to stdout.
|
||||
# To make sure our escape sequence still reaches stdout we pipe it to /dev/tty
|
||||
printf "\033]0; $PWD\007" > /dev/tty
|
||||
}}
|
||||
|
||||
map r reload
|
||||
|
||||
# Drag and drop
|
||||
map <c-d> %dragon --all --and-exit "$fx"
|
||||
map <c-c> &wl-copy < "$fx"
|
||||
|
|
|
@ -7,3 +7,8 @@ bgcolor=#000000
|
|||
file=/home/lanxu/.config/i3/background.png
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
|
||||
[xin_2]
|
||||
file=/home/lanxu/.config/i3/background.png
|
||||
mode=5
|
||||
bgcolor=#000000
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
[geometry]
|
||||
posx=3205
|
||||
posy=33
|
||||
sizex=625
|
||||
sizey=1037
|
||||
posx=0
|
||||
posy=374
|
||||
sizex=917
|
||||
sizey=351
|
||||
|
||||
[nitrogen]
|
||||
view=list
|
||||
|
|
|
@ -6,3 +6,5 @@
|
|||
.config/awesome/lain
|
||||
.config/ranger/bookmarks
|
||||
.vim/view/
|
||||
.tmp
|
||||
.sw
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -37,7 +37,8 @@ export PATH=$LANXU_SCRIPTS_ROOT:$PATH
|
|||
|
||||
# Wine
|
||||
export WINEARCH=win64 # Set default winearch to win64
|
||||
export WINEDLLOVERRIDES=winemenubuilder.exe=d # No more desktop files!
|
||||
#export WINEARCH=win32
|
||||
export WINEDLLOVERRIDES="winemenubuilder.exe=d;winegstreamer=" # No more desktop files!
|
||||
|
||||
# Npm with no sudo
|
||||
# https://github.com/sindresorhus/guides/blob/master/npm-global-without-sudo.md
|
||||
|
|
10
.zshrc
10
.zshrc
|
@ -84,17 +84,17 @@ alias resetkbcolors="/usr/bin/g512-led -p /etc/g810-led/profile"
|
|||
|
||||
function auradd {
|
||||
pkg=$1
|
||||
aur sync --no-view --no-confirm --rebuild --database custom "$pkg" >&2
|
||||
aur sync --no-view --no-confirm --rebuild --database localrepo "$pkg" >&2
|
||||
sudo pacman -Sy "$pkg"
|
||||
}
|
||||
|
||||
function aurrm {
|
||||
pkg=$1
|
||||
rm_out=$(repo-remove /var/cache/pacman/custom/custom.db.tar "$pkg" 2>&1)
|
||||
rm_out=$(repo-remove /var/cache/pacman/localrepo/localrepo.db.tar.gz "$pkg" 2>&1)
|
||||
if [[ $rm_out = *"ERROR"* ]]; then
|
||||
echo "not found" >&2
|
||||
else
|
||||
rm -rf /var/cache/pacman/custom/"$pkg"*.pkg.* || true
|
||||
rm -rf /var/cache/pacman/localrepo/"$pkg"*.pkg.* || true
|
||||
echo "$pkg removed"
|
||||
fi
|
||||
sudo pacman -Sy
|
||||
|
@ -102,7 +102,7 @@ function aurrm {
|
|||
}
|
||||
|
||||
function aurupdate {
|
||||
aur sync --no-view --no-confirm --database custom -u
|
||||
aur sync --no-view --no-confirm --database localrepo -u
|
||||
sudo pacman -Syu
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ function c {
|
|||
}
|
||||
|
||||
function aurls {
|
||||
sudo pacman -Sl custom
|
||||
sudo pacman -Sl localrepo
|
||||
}
|
||||
#source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
|
|
11
link.sh
11
link.sh
|
@ -12,3 +12,14 @@ ln -s $(pwd)/.config/awesome ~/.config/
|
|||
ln -s $(pwd)/.config/ranger ~/.config/
|
||||
ln -s $(pwd)/.config/mpv ~/.config/
|
||||
ln -s $(pwd)/.config/mpd ~/.config/
|
||||
ln -s $(pwd)/.config/i3 ~/.config/
|
||||
ln -s $(pwd)/.config/i3blocks ~/.config/
|
||||
ln -s $(pwd)/.config/kitty ~/.config/
|
||||
ln -s $(pwd)/.config/lf ~/.config/
|
||||
ln -s $(pwd)/.config/zathura ~/.config/
|
||||
ln -s $(pwd)/.config/nitrogen ~/.config/
|
||||
ln -s $(pwd)/.config/compton ~/.config/
|
||||
ln -s $(pwd)/.config/dunst ~/.config/
|
||||
ln -s $(pwd)/.config/rofi ~/.config/
|
||||
ln -s $(pwd)/.config/fontconfig ~/.config/
|
||||
ln -s $(pwd)/.config/gallery-dl ~/.config/
|
||||
|
|
11
unlink.sh
11
unlink.sh
|
@ -12,3 +12,14 @@ unlink ~/.config/awesome
|
|||
unlink ~/.config/ranger
|
||||
unlink ~/.config/mpv
|
||||
unlink ~/.config/mpd
|
||||
unlink ~/.config/i3
|
||||
unlink ~/.config/i3blocks
|
||||
unlink ~/.config/kitty
|
||||
unlink ~/.config/lf
|
||||
unlink ~/.config/zathura
|
||||
unlink ~/.config/nitrogen
|
||||
unlink ~/.config/compton
|
||||
unlink ~/.config/dunst
|
||||
unlink ~/.config/rofi
|
||||
unlink ~/.config/fontconfig
|
||||
unlink ~/.config/gallery-dl
|
||||
|
|
Loading…
Reference in New Issue
Block a user