diff --git a/.gitignore b/.gitignore index 74815c1..b31b589 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ xfce4 yay .stack-work **/.surf/cache +xmonad-x86_64-linux +__pycache__ diff --git a/files/.Xresources b/files/.Xresources index 28e0478..dd8d905 100644 --- a/files/.Xresources +++ b/files/.Xresources @@ -1,3 +1,17 @@ +*.background: #282828 +color5: #ff0000 + +Xcursor.size: 16 +Xcursor.theme: capitaine-cursors-light + +Xft.autohint: 0 +Xft.antialias: 1 +Xft.hinting: true +Xft.hintstyle: hintslight +Xft.dpi: 96 +Xft.rgba: rgb +Xft.lcdfilter: lcddefault + rofi.lines: 5 rofi.eh: 2 rofi.padding: 200 @@ -16,3 +30,43 @@ rofi.color-active: argb:031d1f21, #f3f4f5, argb:031d1f21, argb:031d1f21, #9575cd rofi.font: System San Francisco Display 18 dzen.font: -*-fixed-medium-r-s*--12-87-*-*-*-*-iso10???-1 + + + + +URxvt.font: xft:scientifica + + + + + +!URxvt.color24: #076678 +!URxvt.color66: #427b58 +!URxvt.color88: #9d0006 +!URxvt.color96: #8f3f71 +!URxvt.color100: #79740e +!URxvt.color108: #8ec07c +!URxvt.color109: #83a598 +!URxvt.color130: #af3a03 +!URxvt.color136: #b57614 +!URxvt.color142: #b8bb26 +!URxvt.color167: #fb4934 +!URxvt.color175: #d3869b +!URxvt.color208: #fe8019 +!URxvt.color214: #fabd2f +!URxvt.color223: #ebdbb2 +!URxvt.color228: #f2e5bc +!URxvt.color229: #fbf1c7 +!URxvt.color230: #f9f5d7 +!URxvt.color234: #1d2021 +!URxvt.color235: #282828 +!URxvt.color236: #32302f +!URxvt.color237: #3c3836 +!URxvt.color239: #504945 +!URxvt.color241: #665c54 +!URxvt.color243: #7c6f64 +!URxvt.color244: #928374 +!URxvt.color245: #928374 +!URxvt.color246: #a89984 +!URxvt.color248: #bdae93 +!URxvt.color250: #d5c4a1 diff --git a/files/.config/EnhancedDiscord/config.json b/files/.config/EnhancedDiscord/config.json index 5d497b8..685d85d 100644 --- a/files/.config/EnhancedDiscord/config.json +++ b/files/.config/EnhancedDiscord/config.json @@ -1 +1 @@ -{"anti_track":{"enabled":false},"avatar_links":{"enabled":false},"char_count":{"enabled":false},"css_loader":{"path":"glasscord_css.css"},"direct_download":{"enabled":false},"double_click_edit":{"enabled":false},"double_click_mention":{"enabled":false},"ed_settings":{"enabled":true},"friend_count":{"onlineOnly":false,"enabled":false},"guild_count":{"enabled":false},"hidden_channels":{"enabled":false},"quick_save":{"enabled":false},"silence":{"enabled":false},"silent_typing":{"enabled":false},"tag_all":{"enabled":false}} \ No newline at end of file +{"anti_track":{"enabled":false},"avatar_links":{"enabled":false},"char_count":{"enabled":false},"css_loader":{"path":"glasscord_css.css","enabled":false},"direct_download":{"enabled":false},"double_click_edit":{"enabled":false},"double_click_mention":{"enabled":false},"ed_settings":{"enabled":true},"friend_count":{"onlineOnly":false,"enabled":false},"guild_count":{"enabled":false},"hidden_channels":{"enabled":false},"quick_save":{"enabled":false},"silence":{"enabled":false},"silent_typing":{"enabled":false},"tag_all":{"enabled":false}} \ No newline at end of file diff --git a/files/.config/EnhancedDiscord/plugins/style.css b/files/.config/EnhancedDiscord/plugins/style.css index 3cdcf73..3e4f5cb 100644 --- a/files/.config/EnhancedDiscord/plugins/style.css +++ b/files/.config/EnhancedDiscord/plugins/style.css @@ -27,7 +27,7 @@ /* unread indicators */ .theme-dark .unread-2OHH1w:not(.selected-nT-gM3):before { - background: transparent; + background: #282828; opacity: 0.5; height: 50px; width: 50px; diff --git a/files/.config/EnhancedDiscord/plugins/style.css.bak b/files/.config/EnhancedDiscord/plugins/style.css.bak new file mode 100644 index 0000000..3cdcf73 --- /dev/null +++ b/files/.config/EnhancedDiscord/plugins/style.css.bak @@ -0,0 +1,57 @@ +@import url(https://enhanceddiscord.com/theme.css); + +/* theme settings - uncomment (by removing the /*) and modify these lines in order to change things */ +:root { +/* --bg: url(https://i.imgur.com/ybRUHPc.jpg); /* background for the entire window. Almost everything is transparent to this image. */ +/* --bg-overlay: rgba(0, 0, 0, 0.8); /* overlay for the background. Generally, this should darken the picture to make text more readable. */ +/* --accent-color: #900; /* color of buttons, misc. text, etc. */ +/* --mention-color: #f00; /* color of mention text */ +/* --mention-bg: rgba(255, 0, 0, 0.15); /* mention background color */ +/* --mention-bgh: rgba(255, 0, 0, 0.4); /* mention backgroung while hovering over it */ +/* --link-color: #faa61a; /* color of all links */ +/* --link-color-hover: #fad61a; /* color of all links while hovering over them */ +/* --tag-color: #fff; /* text color of tags (bot tags and custom) */ +/* --tag-bg: rgba(255, 0, 0, 0.3); /* background of tags (bot tags and custom) */ +/* --popup-background: #222; /* background of modals, confirmation messages etc. */ +/* --popup-highlight: #333; /* color of headers and footers of "popouts" (linked to above) */ +/* --context-menu-bg: #333; /* color of context (right-click) menus. */ +/* --unread-color: #f00; /* color of unread/selected server indicators. */ +} + + +/* nitrofag badge */ +.profileBadgePremium-3kZ9Qj, .topSectionNormal-2-vo2m .profileBadgePremium-3kZ9Qj, +.profileBadgePremium-3kZ9Qj, .topSectionPlaying-1J5E4n .profileBadgePremium-3kZ9Qj { + background-image: url(https://discordapp.com/assets/9c252d28ca4980d65054a0258052983b.svg); +} + +/* unread indicators */ +.theme-dark .unread-2OHH1w:not(.selected-nT-gM3):before { + background: transparent; + opacity: 0.5; + height: 50px; + width: 50px; + left: 0px; + bottom: 0px; + top: 0px; + margin-top: 0; + border-radius: 50%; + border-top-right-radius: 5px; + border-bottom-left-radius: 5px; + /* box-shadow: 16px -16px 10px -14px #f00; */ + /* background: -webkit-radial-gradient(transparent 15px, #f00 25px, transparent 40px); */ + box-shadow: inset 0 0 12px 2px var(--unread-color); +} +.theme-dark .selected-nT-gM3:before { + background: var(--unread-color); +} +.theme-dark .unread-2OHH1w:hover::before { + border-radius: 15px; + border-top-right-radius: 5px; + border-bottom-left-radius: 5px; + transition: border-radius 150ms; +} +/* uncomment the following lines to hide gif picker */ +/*button[aria-label="Open GIF picker"] { + display: none; +}*/ diff --git a/files/.config/alacritty/alacritty.yml b/files/.config/alacritty/alacritty.yml index de6fa67..76b1851 100644 --- a/files/.config/alacritty/alacritty.yml +++ b/files/.config/alacritty/alacritty.yml @@ -1,6 +1,6 @@ env: # if not set, it supposedly check's if a alacritty entry exists and uses xterm-256color otherwise - #TERM: alacritty + # TERM: alacritty TERM: xterm-256color window: @@ -12,8 +12,8 @@ window: # y: 0 padding: - x: 0 - y: 0 + x: 20 + y: 20 #Spread additional padding evenly around the terminal content. dynamic_padding: true @@ -230,6 +230,37 @@ mouse: # schemes --------------------------------------------------------- {{{ schemes: + blueish: &blueish + colors: + # Default colors + primary: + background: '0x3f5163' + foreground: '0xe2efe6' + + # Normal colors + normal: + black: '0x111111' + red: '0xa54242' + green: '0xa9b254' + yellow: '0xde935f' + blue: '0x1bcdee' + magenta: '0xbd88ce' + cyan: '0x5bc5b7' + white: '0xbceff7' + + # Bright colors + bright: + black: '0xc5d2e6' + red: '0xff8484' + green: '0xebf39c' + yellow: '0xf4c76e' + blue: '0x97cfff' + magenta: '0xc3a2cd' + cyan: '0xa5f9ee' + white: '0xe7fcff' + + + dracula: &dracula primary: background: '#282a36' @@ -254,6 +285,7 @@ schemes: white: '#e6e6e6' gruvbox: &gruvbox primary: + #background: '#1d2021' # hard contrast: background = '#1d2021' background: '#282828' # hard contrast: background = '#1d2021' foreground: '#ebdbb2' # soft contrast: background = '#32302f' normal: @@ -301,12 +333,21 @@ schemes: # }}} # https://github.com/alacritty/alacritty/wiki/Color-schemes -colors: *onedark -background_opacity: 0.95 +colors: *gruvbox +#background_opacity: 0.95 +background_opacity: 1.0 font: - size: 13 - normal: # >>= >= - family: Iosevka + #size: 10 + size: 12 + normal: #family: JetBrainsMono Nerd Font - style: Normal + #family: Iosevka Term + #family: cozette + family: Terminus (TTF) + #family: cherry + #family: lucy tewi2a + #family: Scientifica + offset: + x: 0 + y: 0 diff --git a/files/.config/bspwm/bspwm_scripts/bringwindow b/files/.config/bspwm/bspwm_scripts/bringwindow new file mode 100755 index 0000000..485c3eb --- /dev/null +++ b/files/.config/bspwm/bspwm_scripts/bringwindow @@ -0,0 +1,25 @@ +#!/bin/bash +case $1 in "-a") PROMPT="Goto:"; MODE="go" ;; "-R") PROMPT="Bring:"; MODE="bring" ;; esac + +if [ -n "$2" ]; then + WINDOW="$2" +else + WINDOW=$(paste \ + <(xdotool search .) \ + <(xdotool search . get_desktop_for_window %@ 2> /dev/null) \ + <(xdotool search . getwindowname %@) |\ + awk '{FS="\t"; if($2 != -1) printf "%10d [%d] %s\n",$1,$2+1,$3}' |\ + vmenu --no-refocus -p $PROMPT |\ + sed 's/^ *//g' |\ + cut -d ' ' -f 1) +fi + +if [ -n "$WINDOW" ]; then + if [ bring = $MODE ]; then + if DESK=$(xdotool get_desktop 2> /dev/null); then + xdotool set_desktop_for_window "$WINDOW" $DESK + sleep 0.005 # wait for wm to notice + fi + fi + xdotool windowmap "$WINDOW" windowactivate "$WINDOW" windowfocus "$WINDOW" windowraise "$WINDOW" +fi diff --git a/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh b/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh new file mode 100755 index 0000000..dbb0d04 --- /dev/null +++ b/files/.config/bspwm/bspwm_scripts/bsp_scratchpad.sh @@ -0,0 +1,11 @@ +#!/bin/bash +if [ -z "$1" ]; then + echo "Usage: $0