diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 5c0daa3..45799d3 100644 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -1,6 +1,6 @@ [global] frame_width = 1 - frame_color = "#FC7056" + frame_color = "#B2B9C7" font = Noto Sans 10 @@ -181,18 +181,18 @@ [urgency_low] # IMPORTANT: colors have to be defined in quotation marks. # Otherwise the "#" and following would be interpreted as a comment. - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" timeout = 10 [urgency_normal] - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" timeout = 10 [urgency_critical] - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" timeout = 0 @@ -252,8 +252,8 @@ # appname = claws-mail # category = email.arrived # urgency = normal -# background = "#120512" -# foreground = "#FC7056" +# background = "#103723" +# foreground = "#B2B9C7" # #[mute.sh] # appname = mute @@ -263,40 +263,40 @@ #[JDownloader] # appname = JDownloader # category = JD -# background = "#120512" -# foreground = "#FC7056" +# background = "#103723" +# foreground = "#B2B9C7" # #[newsbeuter] # summary = *Feeds* -# background = "#120512" -# foreground = "#FC7056" +# background = "#103723" +# foreground = "#B2B9C7" # [irc] appname = weechat timeout = 0 - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" # [weechat hl] appname = weechat category = weechat.HL - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" # [weechat pn] appname = weechat category = weechat.PM - background = "#120512" - foreground = "#FC7056" + background = "#103723" + foreground = "#B2B9C7" # #[CMUS] # appname = CMUS # category = cmus -# background = "#120512" -# foreground = "#FC7056" +# background = "#103723" +# foreground = "#B2B9C7" # # -# background = "#120512" -# foreground = "#FC7056" +# background = "#103723" +# foreground = "#B2B9C7" # # vim: ft=cfg diff --git a/.config/i3/config b/.config/i3/config index 8da9347..b1e97e8 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -452,8 +452,10 @@ exec_always sh ~/.scripts/monitor-setup.sh && xrdb ~/.Xresources # --> Mounting All Network Drives bindsym $mod+Shift+m exec kitty -e sudo umount /mnt/purple /mnt/blue/* -bindsym $mod+m exec kitty -e mount-purple && mount-blue +bindsym $mod+m exec kitty -e mount-* +# --> Allow Local Access to Website +bindsym $mod+Shift+h exec kitty -e sudo sh ~/.scripts/host-domain-fix.sh # Unused ######################################################## diff --git a/.scripts/dpi-switch.sh b/.scripts/dpi-switch.sh deleted file mode 100755 index 6586a21..0000000 --- a/.scripts/dpi-switch.sh +++ /dev/null @@ -1,14 +0,0 @@ -#! /bin/bash - -if xdpyinfo | grep --quiet -oh 1440 - then - sed '1 s/96/128/g' ~/.Xresources > /tmp/xres - mv /tmp/xres ~/.Xresources - fi - -if xdpyinfo | grep --quiet -oh 1080 - then - sed '1 s/128/96/g' ~/.Xresources > /tmp/xres - mv /tmp/xres ~/.Xresources - fi - diff --git a/.scripts/host-domain-fix.sh b/.scripts/host-domain-fix.sh new file mode 100755 index 0000000..a2f839f --- /dev/null +++ b/.scripts/host-domain-fix.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +EDITOR=vim + +############################## + +echo "Make sure you are 100% the connection you have is proper or else it'll assume outgoing everytime." +echo "Ctrl-C or Ctrl-D to cancel now. Otherwise Press any key to continue..." +read -p "" + +if wget http://ipecho.net/plain -O - -q | grep -A 2 --quiet -oh "107.221." # Add more to the public to make it more accurate however this should be fine. + then + sed '8 s/#192.168.1.66/192.168.1.66/g' /etc/hosts > /tmp/hosts + mv /tmp/hosts /etc/hosts + chown root: /etc/hosts +else + sed '8 s/192.168.1.66/#192.168.1.66/g' /etc/hosts > /tmp/hosts + mv /tmp/hosts /etc/hosts + chown root: /etc/hosts +fi + +############################# diff --git a/.scripts/neofetch-clean.sh b/.scripts/neofetch-clean.sh new file mode 100755 index 0000000..2afb41b --- /dev/null +++ b/.scripts/neofetch-clean.sh @@ -0,0 +1,11 @@ +#! /usr/bin/env zsh + +trap "tput cnorm; exit" 2 + +clear +neofetch +tput civis +read -q +tput cnorm + +