new stuff

gray-sff
Chris Nutter 2020-09-15 01:43:27 -07:00
parent 327d24e516
commit bc11812d12
5 changed files with 59 additions and 38 deletions

View File

@ -1,6 +1,6 @@
[global] [global]
frame_width = 1 frame_width = 1
frame_color = "#FC7056" frame_color = "#B2B9C7"
font = Noto Sans 10 font = Noto Sans 10
@ -181,18 +181,18 @@
[urgency_low] [urgency_low]
# IMPORTANT: colors have to be defined in quotation marks. # IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment. # Otherwise the "#" and following would be interpreted as a comment.
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
timeout = 10 timeout = 10
[urgency_normal] [urgency_normal]
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
timeout = 10 timeout = 10
[urgency_critical] [urgency_critical]
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
timeout = 0 timeout = 0
@ -252,8 +252,8 @@
# appname = claws-mail # appname = claws-mail
# category = email.arrived # category = email.arrived
# urgency = normal # urgency = normal
# background = "#120512" # background = "#103723"
# foreground = "#FC7056" # foreground = "#B2B9C7"
# #
#[mute.sh] #[mute.sh]
# appname = mute # appname = mute
@ -263,40 +263,40 @@
#[JDownloader] #[JDownloader]
# appname = JDownloader # appname = JDownloader
# category = JD # category = JD
# background = "#120512" # background = "#103723"
# foreground = "#FC7056" # foreground = "#B2B9C7"
# #
#[newsbeuter] #[newsbeuter]
# summary = *Feeds* # summary = *Feeds*
# background = "#120512" # background = "#103723"
# foreground = "#FC7056" # foreground = "#B2B9C7"
# #
[irc] [irc]
appname = weechat appname = weechat
timeout = 0 timeout = 0
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
# #
[weechat hl] [weechat hl]
appname = weechat appname = weechat
category = weechat.HL category = weechat.HL
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
# #
[weechat pn] [weechat pn]
appname = weechat appname = weechat
category = weechat.PM category = weechat.PM
background = "#120512" background = "#103723"
foreground = "#FC7056" foreground = "#B2B9C7"
# #
#[CMUS] #[CMUS]
# appname = CMUS # appname = CMUS
# category = cmus # category = cmus
# background = "#120512" # background = "#103723"
# foreground = "#FC7056" # foreground = "#B2B9C7"
# #
# #
# background = "#120512" # background = "#103723"
# foreground = "#FC7056" # foreground = "#B2B9C7"
# #
# vim: ft=cfg # vim: ft=cfg

View File

@ -452,8 +452,10 @@ exec_always sh ~/.scripts/monitor-setup.sh && xrdb ~/.Xresources
# --> Mounting All Network Drives # --> Mounting All Network Drives
bindsym $mod+Shift+m exec kitty -e sudo umount /mnt/purple /mnt/blue/* 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 # Unused
######################################################## ########################################################

View File

@ -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

22
.scripts/host-domain-fix.sh Executable file
View File

@ -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
#############################

11
.scripts/neofetch-clean.sh Executable file
View File

@ -0,0 +1,11 @@
#! /usr/bin/env zsh
trap "tput cnorm; exit" 2
clear
neofetch
tput civis
read -q
tput cnorm