From a3f49aa251ec0daeedaea5a9899ad73a85f871b8 Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Fri, 17 Dec 2021 23:14:15 -0500 Subject: [PATCH] Initial commit --- README.md | 1 + Xresources | 88 +++++++++++++------ config/bspwm/bspwmrc | 9 +- .../intro-programming-hw.yasnippet | 8 ++ install.sh | 3 +- 5 files changed, 78 insertions(+), 31 deletions(-) create mode 100644 emacs.d/snippets/python-mode/intro-programming-hw.yasnippet diff --git a/README.md b/README.md index d2c95bc..59e0815 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,7 @@ git clone https://codeberg.org/acscott/dotfiles.git ~/.dotfiles cd ~/.dotfiles # list branches git branch -a +git branch -l # checkout desired branch git checkout # update install.sh as needed, then run it diff --git a/Xresources b/Xresources index 9574923..ae9cde9 100644 --- a/Xresources +++ b/Xresources @@ -1,6 +1,7 @@ ! ----------------------------------------------------------------------------- -! Based on: gruvbox-dark and zenburn +! Colors: gruvbox-dark, forest night, zenburn ! Source: https://github.com/morhetz/gruvbox-generalized +! https://github.com/jef/forest-night-xresources ! https://github.com/jnurmine/Zenburn ! ----------------------------------------------------------------------------- @@ -48,36 +49,69 @@ Xft.rgba: rgb ! *color7: #a89984 ! *color15: #ebdbb2 +!------------! +! Everforest ! +!------------! + +! special +*.foreground: #d8caac +*.background: #323d43 +*.cursorColor: #7fbbb3 +! black +*.color0: #4a555b +*.color8: #525c62 +! red +*.color1: #e26c6e +*.color9: #e68183 +! green +*.color2: #9bb86f +*.color10: #a7c080 +! yellow +*.color3: #d5b26b +*.color11: #dbbc7f +! blue +*.color4: #6eb2a9 +*.color12: #7fbbb3 +! magenta +*.color5: #cf87a9 +*.color13: #d699b6 +! cyan +*.color6: #72b783 +*.color14: #83c092 +! white +*.color7: #d0bf9b +*.color15: #d8caac + !---------! ! Zenburn ! !---------! -*background: #3f3f3f -*foreground: #dcdccc -! Black + DarkGrey -*color0: #282828 -*color8: #709080 -! DarkRed + Red -*color1: #705050 -*color9: #dca3a3 -! DarkGreen + Green -*color2: #60b48a -*color10: #c3bf9f -! DarkYellow + Yellow -*color3: #f0deae -*color11: #dfcf9f -! DarkBlue + Blue -*color4: #506070 -*color12: #94bff3 -! DarkMagenta + Magenta -*color5: #dc8cc3 -*color13: #ec93d3 -! DarkCyan + Cyan -*color6: #8cd0d3 -*color14: #93e0e3 -! LightGrey + White -*color7: #dcdccc -*color15: #ffffff +! *background: #3f3f3f +! *foreground: #dcdccc +! ! Black + DarkGrey +! *color0: #282828 +! *color8: #709080 +! ! DarkRed + Red +! *color1: #705050 +! *color9: #dca3a3 +! ! DarkGreen + Green +! *color2: #60b48a +! *color10: #c3bf9f +! ! DarkYellow + Yellow +! *color3: #f0deae +! *color11: #dfcf9f +! ! DarkBlue + Blue +! *color4: #506070 +! *color12: #94bff3 +! ! DarkMagenta + Magenta +! *color5: #dc8cc3 +! *color13: #ec93d3 +! ! DarkCyan + Cyan +! *color6: #8cd0d3 +! *color14: #93e0e3 +! ! LightGrey + White +! *color7: #dcdccc +! *color15: #ffffff !!! urxvt URxvt.perl-ext-common: default,matcher diff --git a/config/bspwm/bspwmrc b/config/bspwm/bspwmrc index d1851ed..93fbfb3 100755 --- a/config/bspwm/bspwmrc +++ b/config/bspwm/bspwmrc @@ -24,7 +24,7 @@ bspc rule -a Soffice desktop='^4' follow=on bspc rule -a Xsane desktop='^4' follow=on state=floating bspc rule -a kitty desktop='^6' follow=on bspc rule -a URxvt desktop='^6' follow=on -bspc rule -a Ranger desktop='^3' follow=on +bspc rule -a URxvt:Ranger desktop='^3' follow=on bspc rule -a Thunar desktop='3' follow=on bspc rule -a Steam desktop='^5' follow=on state=floating bspc rule -a Lutris desktop='^5' follow=on state=floating @@ -34,6 +34,8 @@ bspc rule -a discord desktop='^8' bspc rule -a Element desktop='^8' bspc rule -a Slack desktop='^9' bspc rule -a teams-for-linux desktop='^9' +bspc rule -a Evolution desktop='^10' +bspc rule -a Thunderbird desktop='^10' bspc rule -a tutanota-desktop desktop='^10' ### Focus on 1st workspace by default @@ -41,10 +43,11 @@ bspc desktop -f 1 ### Autostart grep -x sxhkd > /dev/null || sxhkd & -/usr/bin/dunst & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock & xidlehook --not-when-audio --not-when-fullscreen --timer 120 "xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1" & -$HOME/.local/bin/single-polybar-launcher & sh ~/.fehbg & +$HOME/.local/bin/single-polybar-launcher & +/usr/bin/dunst & dex -ae bspwm & +/usr/bin/birdtray & diff --git a/emacs.d/snippets/python-mode/intro-programming-hw.yasnippet b/emacs.d/snippets/python-mode/intro-programming-hw.yasnippet new file mode 100644 index 0000000..36e5c58 --- /dev/null +++ b/emacs.d/snippets/python-mode/intro-programming-hw.yasnippet @@ -0,0 +1,8 @@ +# -*- mode: snippet -*- +# key : 161 +# group: school +# name : cs hw header +# -- +# Author: $1 +# Date: `(format-time-string "%m-%d-%Y")`$0 +# Description: $2 diff --git a/install.sh b/install.sh index b087bd3..47ca93e 100755 --- a/install.sh +++ b/install.sh @@ -62,8 +62,9 @@ ln -sf $dotfiles_dir/config/polybar/config.ini $config_dir/polybar/config.ini ln -sf $dotfiles_dir/config/polybar/colors.ini $config_dir/polybar/colors.ini ln -sf $dotfiles_dir/config/polybar/modules.ini $config_dir/polybar/modules.ini ln -sf $dotfiles_dir/config/polybar/custom_modules.ini $config_dir/polybar/custom_modules.ini +ln -sf $dotfiles_dir/config/rofi/config.everforest.rasi $config_dir/rofi/config.rasi #ln -sf $dotfiles_dir/config/rofi/config.gruvbox.rasi $config_dir/rofi/config.rasi -ln -sf $dotfiles_dir/config/rofi/config.zenburn.rasi $config_dir/rofi/config.rasi +#ln -sf $dotfiles_dir/config/rofi/config.zenburn.rasi $config_dir/rofi/config.rasi ln -sf $dotfiles_dir/config/sxhkd/sxhkdrc $config_dir/sxhkd/sxhkdrc # Create $bin_dir and symlinks