diff options
-rw-r--r-- | dot_Xdefaults | 3 | ||||
-rw-r--r-- | dot_bashrc | 2 | ||||
-rw-r--r-- | dot_config/aliasrc | 5 | ||||
-rw-r--r-- | dot_config/i3/config | 4 | ||||
-rw-r--r-- | dot_config/xava/config | 231 | ||||
-rw-r--r-- | dot_profile | 7 | ||||
-rw-r--r-- | dot_xinitrc | 6 |
7 files changed, 247 insertions, 11 deletions
diff --git a/dot_Xdefaults b/dot_Xdefaults index d1be0a0..ee4d02e 100644 --- a/dot_Xdefaults +++ b/dot_Xdefaults @@ -24,3 +24,6 @@ Sxiv.background: #040217 *.color14: #9AEDFE *.color7: #BFBFBF *.color15: #E6E6E6 + +*.alpha: 0.8 +*.font: monospace:size=11 @@ -17,5 +17,3 @@ export HISTCONTROL=erasedups PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1 [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" - -LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:*.gba=1;32;45:*.wbfs=1;32;45:' ; export LS_COLORS diff --git a/dot_config/aliasrc b/dot_config/aliasrc index 03f917e..712206d 100644 --- a/dot_config/aliasrc +++ b/dot_config/aliasrc @@ -13,12 +13,11 @@ alias mpv='mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)' \ la='ls -A' \ l='ls -1' \ ll='ls -lt' \ - display='sxiv' \ xbacklight='sudo xbacklight' \ - ipconfig='curl ipconfig.io' \ + ipconfig='curl -sS ipconfig.io' \ cp='cp -v' \ mv='mv -v' \ - mkdir='mkdir -pv' \ + mkdir='mkdir -v' \ rm='rm -v' \ vv='cd ~/Videos && ls -A *' \ pp='cd ~/Pictures && ls -A *' \ diff --git a/dot_config/i3/config b/dot_config/i3/config index e2a51ce..0515be4 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -41,7 +41,7 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOU floating_modifier $mod # start a terminal -bindsym $mod+Return exec xterm +bindsym $mod+Return exec $TERMINAL # kill focused window bindsym $mod+Shift+q kill @@ -353,7 +353,7 @@ gaps inner 10 ###GAPS### # (N)ewsboat -bindsym $mod+Shift+N exec xterm -e "newsboat" +bindsym $mod+Shift+N exec $TERMINAL -e "newsboat" # (D)iscord bindsym $mod+Shift+D exec notify-send -t 5000 -i /home/mas/Pictures/icons/discord.png "Opening" "<span color='#738ADB' font='26px'><b>Discord</b></span>" ; exec Discord diff --git a/dot_config/xava/config b/dot_config/xava/config new file mode 100644 index 0000000..0a6cfdf --- /dev/null +++ b/dot_config/xava/config @@ -0,0 +1,231 @@ +## Configuration file for XAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[general] + +# Accepts only non-negative values. +; framerate = 60 + +# Keep the application in sync with the monitor to prevent tearing +# It's generally recommended to keep it on, as different framerates may lead to unstable frametimes +# -1 = adaptive Vsync (G-Sync. FreeSync, etc.) +# 0 = off +# 1 up to refresh rate = refresh at the refresh rate of the monitor divided by the number given +; vsync = 1 + +# 'autosens' will attempt to balance the sensitivity to keep the amplitude of the bars +# within a reasonable range +; autosens = true + +# Manual sensitivity in %. Autosens must be turned off for this to take effect. +# 200 means double height and so on. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars. 0 sets it to auto (put as many as you can). +# Bars' width and space between bars in number of pixels on screen. +; bars = 0 +; bar_width = 13 +; bar_spacing = 5 + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# XAVA will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 26 +; higher_cutoff_freq = 15000 + +# This allows XAVA to restart when the display settings are changed +# As this can cause constant reloading (https://github.com/nikp123/xava/issues/20) +# it is left off by default (X11 only) +; reload_on_display_configure = false + + +[window] + +# Window width and height +; width = 1180 +; height = 300 + +# Fullscreen toggle +; fullscreen = false + +# Enables or disables window borders +; border = false + +# Window transparency toggle (your system must support transparent windows) +; transparency = true + +# Keeps the window under any other (doesn't work in SDL) +; keep_below = true + +# This option aligns the window with a certain part of the screen +# The following positions are supported: +# top_left, top, top_right, left, center, right, bottom_left, +# bottom, bottom_right and none if you don't want manual positioning +; alignment = 'none' + +# Additionally we can further adjust the position if needed (in pixels) +# It moves the window the opposite direction of whats in alignment +# FXP. if alignment is set to right and x_padding is 20, +# it will move the window left 20 pixels and so on for every direction +; x_padding = 0 +; y_padding = 0 + +# Enables the OpenGL renderer (not available on all output modes) +; opengl = true + +# This option removes the ability to interact with the window +# NOTE: It does not work with SDL2 +; interactable = true + +# Create an taskbar icon +; taskbar_icon = true + +# Draw directly on the root window (or wallpaper) itself (Xorg ONLY), VERY UNPREDICTABLE +# You need to stop any form of compositing for this to even work properly +; rootwindow = false + +# Sets the override any redirection by the host WM, that is the window cannot change +# the it's order in the window stack +# This option also disables any form of interaction with the window - same as when: +# interacable = false +; override_redirect = false + + +[input] + +# Audio capturing method. Possible methods are the ones listed below. +# If one doesn't work, it might not be supported by your system or it just wasn't compiled with it. +# +# Defaults to the order shown below ('pulse', 'portaudio', 'alsa'...) +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For alsa, wasapi and portaudio 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +# +# In case of wasapi, specify 'loopback' to capture audio from the system or anything else +# to capture from an input device, such as a microphone +# +# You can also specify 'list' as the source to portaudio to list all available audio devices +; method = pulse +; source = auto + +; method = portaudio +; source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = sndio +; source = + +; method = shmem +; source = /squeezelite-00:00:00:00:00:00 + +; method = fifo +; source = /tmp/mpd.fifo + +; method = wasapi +; source = loopback + + +[output] + +# Output method. Can be any of the following (if supported): +# By default it's the window that is recommended for your platform/OS. +# 'sdl' is for a graphical window using SDL2 +# 'x11' is for a graphical window using X11 (usually faster, unsupported in wayland however) +# 'win' is for a win32 graphical window +; method = x11 + +# Visual channels. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' averages both channels and outputs left to right lowest to highest frequencies. +; channels = mono + + +[color] + +# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# Or defined by hex code '#xxxxxx' (hex code must be within ''). +# It can also be 'default' at which point under X11 it reads the color off of Xrdb +# Under Windows it uses your system accent color +# And on SDL2 it's just black and cyan (default colorscheme) +background = '#040217' +foreground = '#D52C70' + +# This adjusts the opacity of the bars (must have transparency and OpenGL in order for it to work) +; foreground_opacity = 1.0 + +# And this does the same but for the background (previous rule applies here as well) +; background_opacity = 0.0 + +# Gradient mode, only hex defined colors are supported, background must also be defined in hex +# or remain commented out. +# To enable gradients, just change gradient_count to the number of colors you have specified +# (0 = disabled) +; gradient_count = 0 +; gradient_color_1 = '#0099ff' +; gradient_color_2 = '#ff3399' + + + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +; integral = 85 + +# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. +; monstercat = 1.2 +; waves = 0 + +# Set gravity percentage for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". +; gravity = 100 + +# In bar height, bars that would have been lower that this (in pixels) will not be drawn. +; ignore = 0 + +# Adjust the logarithmic scale of the frequency band (the lower the value, +# the less difference between bars in frequency) +; log = 1.55 + +# Average out the value of each odd bar (just like the monstercat visualizer) +; oddoneout = true + +# Balances the eq towards higher or lower frequencies +# lower value->lower frequencies, higher value->higher frequencies +; eq_balance = 0.67 + +# Adjusts the input buffer size (in samples, calculated by 2^input_size) +; input_size = 12 + +# Adjusts the FFT buffer size (calculated by 2^fft_size) +; fft_size = 14 + + +[shadow] + +# Fake shadow effect (works with transparency only) +# To disable shadows, set size to 0 +; size = 7 + +# Color format is #aarrggbb +; color = "#ff000000" + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble diff --git a/dot_profile b/dot_profile index 3e89dcf..46f5ea5 100644 --- a/dot_profile +++ b/dot_profile @@ -2,9 +2,12 @@ # Profile file. Runs on login. Environmental variables are set here. -export PATH="$PATH:$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin:$HOME/.local/share/gem/ruby/3.0.0/bin" +export PATH="$HOME/.local/bin:$HOME/py:$HOME/.local/usr/local/bin:$HOME/.local/usr/bin:$HOME/.local/share/gem/ruby/3.0.0/bin:$HOME/.cargo/bin:$PATH" export XBPS_DISTDIR="$HOME/workbench/void-packages" +#Allow user-wide installations for npm +export npm_config_prefix="$HOME/.local" + # Default programs: export EDITOR="nvim" export TERMINAL="xterm" @@ -19,7 +22,7 @@ export BAT_THEME="Dracula" [ ! -f ~/.config/shortcutrc ] && shortcuts >/dev/null 2>&1 -echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && source "$HOME/.bashrc" +echo "$0" | grep "bash$" >/dev/null && [ -f ~/.bashrc ] && . "$HOME/.bashrc" # Start graphical server if i3 not already running. [ "$(tty)" = "/dev/tty1" ] && ! pgrep -x Xorg >/dev/null && exec startx diff --git a/dot_xinitrc b/dot_xinitrc index 6a33400..63f5e2f 100644 --- a/dot_xinitrc +++ b/dot_xinitrc @@ -8,12 +8,14 @@ # and so they are needed there. To prevent doubling up commands, I source them # here with the line below. -[ -f ~/.xprofile ] && . ~/.xprofile +[ -f ~/.xprofile ] && . "$HOME"/.xprofile ###PERSONAL EDIT### -exec i3 +i3 xset s off xset -dpms xset s noblank +xset r rate 300 50 +setxkbmap -option caps:super |