added dunst, vnc configs, battlvl script

This commit is contained in:
Rudis Muiznieks 2022-04-07 21:22:19 -05:00
parent 5d1be3a837
commit a4b7e8c815
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
6 changed files with 53 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ qutebrowser/bookmarks
qutebrowser/quickmarks qutebrowser/quickmarks
qutebrowser/qsettings qutebrowser/qsettings
qutebrowser/qutepocket.secrets qutebrowser/qutepocket.secrets
vnc/tigervnc.history

10
bin/battlvl Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
# battery percentage
battpct="$(upower --show-info $(upower --enumerate | grep -i 'BAT') | grep -E "percentage" | awk '{print $2}')"
battpct="${battpct%\%}"
# battery status (charging/charged/etc)
batstat="$(upower --show-info $(upower --enumerate | grep -i 'BAT') | grep -E "state" | awk '{print $2}')"
notify-send "Battery: ${battpct}% ($batstat)"

6
dunst/dunstrc Normal file
View File

@ -0,0 +1,6 @@
[global]
width = (100, 600)
offset = 50x50
frame_color = "#00ff00"
font = Monospace 18
corner_radius = 15

View File

@ -52,10 +52,11 @@ hc set_layout max
# keybindings # keybindings
Mod=Mod4 # Use the super key as the main modifier Mod=Mod4 # Use the super key as the main modifier
hc keybind $Mod-Alt-q quit hc keybind $Mod-Shift-q quit
hc keybind $Mod-Alt-r reload hc keybind $Mod-Control-r reload
hc keybind $Mod-Alt-Tab cycle_all +1 hc keybind $Mod-Shift-c close
hc keybind $Mod-Control-c close hc keybind $Mod-Control-Return spawn qutebrowser
hc keybind $Mod-Tab cycle_all +1
hc keybind XF86AudioRaiseVolume spawn sh -c "pamixer -i 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel" hc keybind XF86AudioRaiseVolume spawn sh -c "pamixer -i 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel"
hc keybind XF86AudioLowerVolume spawn sh -c "pamixer -d 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel" hc keybind XF86AudioLowerVolume spawn sh -c "pamixer -d 5; pamixer --get-volume >> \"$xobpipe\"; $refresh_panel"

View File

@ -19,6 +19,7 @@ export BROWSER=qutebrowser
export BAT_THEME='Wombat' export BAT_THEME='Wombat'
export DOTNET_ROOT=~/.dotnet export DOTNET_ROOT=~/.dotnet
export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1 export ANDROID_EMULATOR_USE_SYSTEM_LIBS=1
export GPG_TTY=$(tty)
alias ls='exa --icons' alias ls='exa --icons'
alias cat='bat' alias cat='bat'

30
vnc/default.tigervnc Normal file
View File

@ -0,0 +1,30 @@
TigerVNC Configuration file Version 1.0
ServerName=voidism
X509CA=/home/rudism/.vnc/x509_ca.pem
X509CRL=/home/rudism/.vnc/x509_crl.pem
SecurityTypes=X509Plain,TLSPlain,X509Vnc,TLSVnc,X509None,TLSNone,VncAuth,None
EmulateMiddleButton=0
DotWhenNoCursor=0
ReconnectOnError=1
AutoSelect=1
FullColor=1
LowColorLevel=2
PreferredEncoding=Tight
CustomCompressLevel=0
CompressLevel=2
NoJPEG=0
QualityLevel=8
FullScreen=1
FullScreenMode=Current
FullScreenSelectedMonitors=1
DesktopSize=
RemoteResize=0
ViewOnly=0
Shared=0
AcceptClipboard=1
SendClipboard=1
SendPrimary=1
SetPrimary=1
MenuKey=F8
FullscreenSystemKeys=1