summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xX11/.config/X11/xinitrc7
-rwxr-xr-xshell/.config/shell/env7
-rw-r--r--suckless/.config/suckless/dwm/config.h3
-rw-r--r--vifm/.config/vifm/vifmrc6
4 files changed, 14 insertions, 9 deletions
diff --git a/X11/.config/X11/xinitrc b/X11/.config/X11/xinitrc
index db3c4d8..a35a85a 100755
--- a/X11/.config/X11/xinitrc
+++ b/X11/.config/X11/xinitrc
@@ -1,5 +1,12 @@
#!/bin/sh
+# Loading Pipewire if running linux
+if [ "$KERNEL" = "Linux" ]; then
+ # Shell daemons
+ pipewire &
+ pipewire-pulse &
+fi
+
# Screen Layout in Case of Multi Monitor Setup Required
[ -f "$XDG_CONFIG_HOME"/X11/layout ] && . "$XDG_CONFIG_HOME"/X11/layout
diff --git a/shell/.config/shell/env b/shell/.config/shell/env
index efc0556..da997ae 100755
--- a/shell/.config/shell/env
+++ b/shell/.config/shell/env
@@ -2,7 +2,7 @@
# Profile file. Runs on login. Environmental variables are set here.
# Detecting Kernel Type
-KERNEL=$(uname)
+export KERNEL=$(uname)
# Default programs
export EDITOR="nvim"
@@ -69,11 +69,6 @@ if [ "$KERNEL" = "Linux" ]; then
export XINITRC="$XDG_CONFIG_HOME"/X11/xinitrc
export XAUTHORITY="$XDG_CONFIG_HOME"/X11/Xauthority
- # Shell daemons
- pipewire &
- pipewire-pulse &
- # tor -f "$XDG_CONFIG_HOME"/tor/torrc &
-
# Initializing Session if Xorg not Running Already
export SESSION=dwm
exec startx "$XINITRC"
diff --git a/suckless/.config/suckless/dwm/config.h b/suckless/.config/suckless/dwm/config.h
index b871e05..ebd7fbb 100644
--- a/suckless/.config/suckless/dwm/config.h
+++ b/suckless/.config/suckless/dwm/config.h
@@ -156,6 +156,9 @@ static const Key keys[] = {
{ MODKEY, XK_F10, spawn, SHCMD("killall mpd") },//Music Quit/Stop
{ MODKEY, XK_F11, spawn, SHCMD("mpc prev") },//Music Previous
{ MODKEY, XK_F12, spawn, SHCMD("mpc next") },//Music Next
+ { MODKEY, XF86XK_AudioLowerVolume, spawn, SHCMD("mixer -") },//Decrease Volume by 5%
+ { MODKEY, XF86XK_AudioRaiseVolume, spawn, SHCMD("mixer +") },//Increase Volume by 5%
+ { MODKEY, XF86XK_AudioMute, spawn, SHCMD("mixer m") },//Increase Volume by 5%
};
/* button definitions */
diff --git a/vifm/.config/vifm/vifmrc b/vifm/.config/vifm/vifmrc
index 334d5cb..f10bc51 100644
--- a/vifm/.config/vifm/vifmrc
+++ b/vifm/.config/vifm/vifmrc
@@ -239,10 +239,10 @@ fileviewer *.[1-8] man ./%c | col -b
" Images
-filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
+filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.webp,*.xpm
\ sxiv %f
-fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm
+fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.webp,*.xpm
\ vifmimg draw %px %py %pw %ph %c
\ %pc
\ vifmimg clear
@@ -396,7 +396,7 @@ set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^
" archives
set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::'
" images
-set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
+set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.webp,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::'
" audio
set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::'
" media