aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xScripts/.config/Scripts/autostart.sh6
-rwxr-xr-xScripts/.config/Scripts/setbg3
l---------dunst/.config/dunst/dunstrc2
-rw-r--r--profile_min/.xsessionrc (renamed from profile_min/.profile)4
-rw-r--r--stalonetray/.stalonetrayrc138
-rw-r--r--sxhkd/.config/sxhkd/sxhkdrc7
-rw-r--r--zsh/.zshrc2
7 files changed, 151 insertions, 11 deletions
diff --git a/Scripts/.config/Scripts/autostart.sh b/Scripts/.config/Scripts/autostart.sh
index 37c4522..27694d2 100755
--- a/Scripts/.config/Scripts/autostart.sh
+++ b/Scripts/.config/Scripts/autostart.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
function run {
SERVICE="$@"
@@ -24,13 +24,13 @@ FEDORA=$(hostnamectl | grep -qw Fedora && echo $?)
if [ "$FEDORA" == 0 ];
then
xinput --set-prop "Synaptics TM3276-022" "Device Enabled" 0
- run vivaldi
+ run $BROWSER
run light-locker
else
synclient TouchpadOff=1
run /usr/bin/xflux -l 43.6404 -g -79.3995
run st -c email -e neomutt
- run brave
+ run $BROWSER
run mpd
run light-locker
fi
diff --git a/Scripts/.config/Scripts/setbg b/Scripts/.config/Scripts/setbg
index 47f0087..0149f82 100755
--- a/Scripts/.config/Scripts/setbg
+++ b/Scripts/.config/Scripts/setbg
@@ -15,5 +15,6 @@ WALLPAPER_HOME="$HOME/.config/wall.png"
[ -d "$1" ] && cp -f "$(find "$1" -name "*.jpg" -o -name "*.jpeg" -o -name "*.png" -type f | shuf -n 1)" "$WALLPAPER_HOME" && notify-send -i "$WALLPAPER_HOME" "Random Wallpaper chosen."
# wal is installed, use it.
-WALPATH=$( ([[ -f /usr/bin/wal ]] && echo "/usr/bin/wal") || ([[ -f /usr/local/bin/wal ]] && echo "/usr/local/bin/wal") )
+WALPATH=$( ([[ -f $HOME/.local/bin/wal ]] && echo "$HOME/.local/bin/wal") || ([[ -f /usr/local/bin/wal ]] && echo "/usr/local/bin/wal") )
"$WALPATH" -c && "$WALPATH" -o $HOME/.config/Scripts/done.sh -i "$WALLPAPER_HOME"
+
diff --git a/dunst/.config/dunst/dunstrc b/dunst/.config/dunst/dunstrc
index b77a300..ddb7316 120000
--- a/dunst/.config/dunst/dunstrc
+++ b/dunst/.config/dunst/dunstrc
@@ -1 +1 @@
-/home/kdamani/.cache/wal/dunstrc \ No newline at end of file
+/home/kdam0/.cache/wal/dunstrc \ No newline at end of file
diff --git a/profile_min/.profile b/profile_min/.xsessionrc
index 2699ab2..f87ea3a 100644
--- a/profile_min/.profile
+++ b/profile_min/.xsessionrc
@@ -1,8 +1,8 @@
export PATH=$PATH:$HOME/.config/Scripts
export XDG_CONFIG_HOME="$HOME/.config"
#export BROWSER="firefox"
-export BROWSER="vivaldi"
-#export BROWSER="brave"
+#export BROWSER="vivaldi"
+export BROWSER="brave-browser"
export EDITOR="nvim"
export TERMINAL="st"
export READER="zathura"
diff --git a/stalonetray/.stalonetrayrc b/stalonetray/.stalonetrayrc
new file mode 100644
index 0000000..a26bf91
--- /dev/null
+++ b/stalonetray/.stalonetrayrc
@@ -0,0 +1,138 @@
+# vim:filetype=config:tw=80:et
+#
+# This is sample ~/.stalonetrayrc, resembling default configuration.
+# Remember: command line parameters take precedence.
+#
+# Directives introduced in 0.8 are marked with "NEW in 0.8"
+#
+####################################################################
+#
+# stalonetray understands following directives
+#
+####################################################################
+
+# background <color> # color can be specified as an HTML hex triplet or
+ # as a name from rgb.txt, note that '#' must be quoted
+background "#111111"
+
+# decorations <decspec> # set trays window decorations; possible values for
+ # decspec are: all, title, border, none
+decorations none
+
+# display <display name> # as usual
+
+# dockapp_mode <mode> # set dockapp mode, which can be either simple (for
+ # e.g. OpenBox, wmaker for WindowMaker, or none
+ # (default). NEW in 0.8.
+dockapp_mode none
+
+# fuzzy_edges [<level>] # enable fuzzy edges and set fuzziness level. level
+ # can be from 0 (disabled) to 3; this setting works
+ # with tinting and/or transparent and/or pixmap
+ # backgrounds
+fuzzy_edges 0
+
+# geometry <geometry> # tray's geometry in standard X notation; width and
+ # height are specified in slot_size multiples
+geometry 1x1+165
+
+# grow_gravity <gravity> # one of N, S, E, W, NW, NE, SW, SE; tray will grow
+ # in the direction opposite to one specified by
+ # grow_gravity; if horizontal or vertical
+ # direction is not specified, tray will not grow in
+ # that direction
+grow_gravity NW
+
+# icon_gravity <gravity> # icon placement gravity, one of NW, NE, SW, SE
+icon_gravity NW
+
+# icon_size <int> # specifies dimensions of typical icon slot
+icon_size 16
+
+# log_level <level> # controls the amount of logging output, level can
+ # be err (default), info, or trace (enabled only
+ # when stalonetray configured with --enable-debug)
+ # NEW in 0.8.
+log_level err
+
+# kludges kludge[,kludge] # enable specific kludges to work around
+ # non-conforming WMs and/or stalonetray bugs.
+ # NEW in 0.8. Argument is a
+ # comma-separated list of
+ # * fix_window_pos - fix tray window position on
+ # erroneous moves by WM
+ # * force_icon_size - ignore resize events on all
+ # icons; force their size to be equal to
+ # icon_size
+ # * use_icon_hints - use icon window hints to
+ # dtermine icon size
+kludges fix_window_pos,force_icons_size
+
+# max_geometry <geometry> # maximal tray dimensions; 0 in width/height means
+ # no limit
+max_geometry 0x0
+
+# no_shrink [<bool>] # disables shrink-back mode
+no_shrink false
+
+# parent_bg [<bool>] # whether to use pseudo-transparency
+ # (looks better when reparented into smth like FvwmButtons)
+parent_bg false
+
+# pixmap_bg <path_to_xpm> # use pixmap from specified xpm file for (tiled) background
+# pixmap_bg /home/user/.stalonetraybg.xpm
+
+# scrollbars <mode> # enable/disable scrollbars; mode is either
+ # vertical, horizontal, all or none (default)
+ # NEW in 0.8.
+scrollbars none
+
+# scrollbars-size <size> # scrollbars step in pixels; default is slot_size / 4
+# scrollbars-step 8
+
+# scrollbars-step <step> # scrollbars step in pixels; default is slot_size / 2
+# scrollbars-step 32
+
+# slot_size <int> # specifies size of icon slot, defaults to
+ # icon_size NEW in 0.8.
+
+# skip_taskbar [<bool>] # hide tray`s window from the taskbar
+skip_taskbar true
+
+# sticky [<bool>] # make a tray`s window sticky across the
+ # desktops/pages
+sticky true
+
+# tint_color <color> # set tinting color
+tint_color white
+
+# tint_level <level> # set tinting level; level ranges from 0 (disabled)
+ # to 255
+tint_level 0
+
+# transparent [<bool>] # whether to use root-transparency (background
+ # image must be set with Esetroot or compatible utility)
+transparent false
+
+# vertical [<bool>] # whether to use vertical layout (horisontal layout
+ # is used by default)
+vertical false
+
+# window_layer <layer> # set the EWMH-compatible window layer; one of:
+ # bootom, normal, top
+window_layer normal
+
+# window_strut <mode> # enable/disable window struts for tray window (to
+ # avoid converting of tray window by maximized
+ # windows); mode defines to which screen border tray
+ # will be attached; it can be either top, bottom,
+ # left, right, none or auto (default)
+window_strut auto
+
+# window_type <type> # set the EWMH-compatible window type; one of:
+ # desktop, dock, normal, toolbar, utility
+window_type dock
+
+# xsync [<bool>] # whether to operate on X server synchronously (SLOOOOW)
+xsync false
+
diff --git a/sxhkd/.config/sxhkd/sxhkdrc b/sxhkd/.config/sxhkd/sxhkdrc
index f30e782..1caf197 100644
--- a/sxhkd/.config/sxhkd/sxhkdrc
+++ b/sxhkd/.config/sxhkd/sxhkdrc
@@ -59,7 +59,8 @@ XF86AudioMute
# Brightness control
{XF86MonBrightnessDown, XF86MonBrightnessUp}
- light -{U,A} 10; notify-send "💡 $(light -G)";
+ xbacklight -{dec,inc} 10; notify-send "💡 $(xbacklight -get)";
+ #light -{U,A} 10; notify-send "💡 $(light -G)";
# Misc
super + s
@@ -75,10 +76,10 @@ super + shift + x
systemctl suspend
super + BackSpace
- shutdown now
+ /sbin/shutdown now
super + shift + BackSpace
- systemctl restart || reboot
+ /sbin/reboot
super + {F7,F8}
screen.sh {l,d}
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 013ac60..aac1e8e 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,6 +1,6 @@
# Created by newuser for 5.8
#
-export PATH=$PATH:/home/kdamani/.local/bin
+export PATH=$PATH:$HOME/.local/bin
### Added by Zinit's installer
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then