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]
frame_width = 1
frame_color = "#9C171C"
frame_color = "#FC7056"
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 = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
timeout = 10
[urgency_normal]
background = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
timeout = 10
[urgency_critical]
background = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
timeout = 0
@ -252,8 +252,8 @@
# appname = claws-mail
# category = email.arrived
# urgency = normal
# background = "#03000A"
# foreground = "#9C171C"
# background = "#120512"
# foreground = "#FC7056"
#
#[mute.sh]
# appname = mute
@ -263,40 +263,40 @@
#[JDownloader]
# appname = JDownloader
# category = JD
# background = "#03000A"
# foreground = "#9C171C"
# background = "#120512"
# foreground = "#FC7056"
#
#[newsbeuter]
# summary = *Feeds*
# background = "#03000A"
# foreground = "#9C171C"
# background = "#120512"
# foreground = "#FC7056"
#
[irc]
appname = weechat
timeout = 0
background = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
#
[weechat hl]
appname = weechat
category = weechat.HL
background = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
#
[weechat pn]
appname = weechat
category = weechat.PM
background = "#03000A"
foreground = "#9C171C"
background = "#120512"
foreground = "#FC7056"
#
#[CMUS]
# appname = CMUS
# category = cmus
# background = "#03000A"
# foreground = "#9C171C"
# background = "#120512"
# foreground = "#FC7056"
#
#
# background = "#03000A"
# foreground = "#9C171C"
# background = "#120512"
# foreground = "#FC7056"
#
# 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
# --> 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
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
# 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-blue="sh ~/.scripts/mount-scripts/blue.sh"
alias mount-\*="sh ~/.scripts/mount-scripts/blue.sh && sudo ~/.scripts/mount-scripts/purple.sh"
## wal