updated scrot

gray-sff
Chris Nutter 2020-09-14 21:55:52 -07:00
parent 01dbb5037e
commit 327d24e516
5 changed files with 65 additions and 29 deletions

View File

@ -1,6 +1,6 @@
[global] [global]
frame_width = 1 frame_width = 1
frame_color = "#9C171C" frame_color = "#FC7056"
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 = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
timeout = 10 timeout = 10
[urgency_normal] [urgency_normal]
background = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
timeout = 10 timeout = 10
[urgency_critical] [urgency_critical]
background = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
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 = "#03000A" # background = "#120512"
# foreground = "#9C171C" # foreground = "#FC7056"
# #
#[mute.sh] #[mute.sh]
# appname = mute # appname = mute
@ -263,40 +263,40 @@
#[JDownloader] #[JDownloader]
# appname = JDownloader # appname = JDownloader
# category = JD # category = JD
# background = "#03000A" # background = "#120512"
# foreground = "#9C171C" # foreground = "#FC7056"
# #
#[newsbeuter] #[newsbeuter]
# summary = *Feeds* # summary = *Feeds*
# background = "#03000A" # background = "#120512"
# foreground = "#9C171C" # foreground = "#FC7056"
# #
[irc] [irc]
appname = weechat appname = weechat
timeout = 0 timeout = 0
background = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
# #
[weechat hl] [weechat hl]
appname = weechat appname = weechat
category = weechat.HL category = weechat.HL
background = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
# #
[weechat pn] [weechat pn]
appname = weechat appname = weechat
category = weechat.PM category = weechat.PM
background = "#03000A" background = "#120512"
foreground = "#9C171C" foreground = "#FC7056"
# #
#[CMUS] #[CMUS]
# appname = CMUS # appname = CMUS
# category = cmus # category = cmus
# background = "#03000A" # background = "#120512"
# foreground = "#9C171C" # foreground = "#FC7056"
# #
# #
# background = "#03000A" # background = "#120512"
# foreground = "#9C171C" # foreground = "#FC7056"
# #
# vim: ft=cfg # vim: ft=cfg

View File

@ -1 +1 @@
scrot_dir=/home/cdnutter/Pictures scrot_dir=/home/cdnutter/Pictures/Screenshots

View File

@ -448,14 +448,13 @@ exec mpc update
exec synergyc --no-tray --restart --name Gray 192.168.1.236:24800 exec synergyc --no-tray --restart --name Gray 192.168.1.236:24800
# --> Xresources DPI Switcher # --> Xresources DPI Switcher
exec_always sh ~/.scripts/dpi-switch.sh && xrdb ~/.Xresources 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/blue/* && sudo umount /mnt/* 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-purple && mount-blue
# Unused # Unused
######################################################## ########################################################
#exec kitty ~/.scripts/monitor-setup.sh

View File

@ -1,3 +1,39 @@
xrandr --rate 144 #! /bin/bash
# This will be something cool in like a day or two. EDITOR=vim
##############################
low_dpi() {
sed '1 s/128/96/g' ~/.Xresources > /tmp/xres
mv /tmp/xres ~/.Xresources
}
hi_dpi() {
sed '1 s/96/128/g' ~/.Xresources > /tmp/xres
mv /tmp/xres ~/.Xresources
}
##############################
if xdpyinfo | grep --quiet -oh 3440x1440
then
hi_dpi
xrandr --rate 120 # ONLY FOR 21:9 DELL MONITOR
fi
if xdpyinfo | grep --quiet -oh 2560x1440
then
hi_dpi
xrandr --rate 144 # ONLY FOR 16:9 ACER MONITOR
fi
if xdpyinfo | grep --quiet -oh 1080
then
low_dpi
fi
#############################

1
.zshrc
View File

@ -110,6 +110,7 @@ alias git-in="sh ~/.scripts/git-in.sh"
alias mount-purple="sh ~/.scripts/mount-scripts/purple.sh" alias mount-purple="sh ~/.scripts/mount-scripts/purple.sh"
alias mount-blue="sh ~/.scripts/mount-scripts/blue.sh" alias mount-blue="sh ~/.scripts/mount-scripts/blue.sh"
alias mount-\*="sh ~/.scripts/mount-scripts/blue.sh && sudo ~/.scripts/mount-scripts/purple.sh"
## wal ## wal