diff --git a/dot_config/foot/foot.ini b/dot_config/foot/foot.ini deleted file mode 100644 index da10790..0000000 --- a/dot_config/foot/foot.ini +++ /dev/null @@ -1,162 +0,0 @@ -# -*- conf -*- - -# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) -# term=foot (or xterm-256color if built with -Dterminfo=disabled) -# login-shell=no - -# app-id=foot -# title=foot -# locked-title=no - -font=IBMPlexMono:pixelsize=16 -font-bold=IBMPlexMono:pixelsize=16:style=Bold -# font-italic= -# font-bold-italic= -# line-height= -# letter-spacing=0 -# horizontal-letter-offset=0 -# vertical-letter-offset=0 -# underline-offset= -# box-drawings-uses-font-glyphs=no -# dpi-aware=yes - -# initial-window-size-pixels=700x500 # Or, -# initial-window-size-chars= -# initial-window-mode=windowed -pad=15x7 # optionally append 'center' -# resize-delay-ms=100 - -# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body} - -# bold-text-in-bright=no -# word-delimiters=,│`|:"'()[]{}<> -# selection-target=primary -# workers= - -[bell] -# urgent=no -# notify=no -# command= -# command-focused=no - -[scrollback] -# lines=1000 -# multiplier=3.0 -# indicator-position=relative -# indicator-format= - -[url] -# launch=xdg-open ${url} -# label-letters=sadfjklewcmpgh -# osc8-underline=url-mode -# protocols=http, https, ftp, ftps, file, gemini, gopher -# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="' - -[cursor] -# style=block -# color=111111 dcdccc -# blink=no -# beam-thickness=1.5 -# underline-thickness= - -[mouse] -# hide-when-typing=no -# alternate-scroll-mode=yes - -# Base16 Eighties - foot color config -# Chris Kempson (http://chriskempson.com) -[colors] -foreground=d3d0c8 -background=2d2d2d -regular0=2d2d2d # black -regular1=f2777a # red -regular2=99cc99 # green -regular3=ffcc66 # yellow -regular4=6699cc # blue -regular5=cc99cc # magenta -regular6=66cccc # cyan -regular7=d3d0c8 # white -bright0=747369 # bright black -bright1=f99157 # bright red -bright2=393939 # bright green -bright3=515151 # bright yellow -bright4=a09f93 # bright blue -bright5=e8e6df # bright magenta -bright6=d27b53 # bright cyan -bright7=f2f0ec # bright white - -[cursor] -color=2d2d2d d3d0c8 - -[csd] -# preferred=server -# size=26 -# font= -# color= -# border-width=0 -# border-color= -# button-width=26 -# button-color= -# button-minimize-color= -# button-maximize-color= -# button-close-color= - -[key-bindings] -# scrollback-up-page=Shift+Page_Up -# scrollback-up-half-page=none -# scrollback-up-line=none -# scrollback-down-page=Shift+Page_Down -# scrollback-down-half-page=none -# scrollback-down-line=none -# clipboard-copy=Control+Shift+c XF86Copy -# clipboard-paste=Control+Shift+v XF86Paste -# primary-paste=Shift+Insert -# search-start=Control+Shift+r -# font-increase=Control+plus Control+equal Control+KP_Add -# font-decrease=Control+minus Control+KP_Subtract -# font-reset=Control+0 Control+KP_0 -# spawn-terminal=Control+Shift+n -# minimize=none -# maximize=none -# fullscreen=none -# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none -# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none -# pipe-selected=[xargs -r firefox] none -# show-urls-launch=Control+Shift+u -# show-urls-copy=none -# noop=none - -[search-bindings] -# cancel=Control+g Control+c Escape -# commit=Return -# find-prev=Control+r -# find-next=Control+s -# cursor-left=Left Control+b -# cursor-left-word=Control+Left Mod1+b -# cursor-right=Right Control+f -# cursor-right-word=Control+Right Mod1+f -# cursor-home=Home Control+a -# cursor-end=End Control+e -# delete-prev=BackSpace -# delete-prev-word=Mod1+BackSpace Control+BackSpace -# delete-next=Delete -# delete-next-word=Mod1+d Control+Delete -# extend-to-word-boundary=Control+w -# extend-to-next-whitespace=Control+Shift+w -# clipboard-paste=Control+v Control+y -# primary-paste=Shift+Insert - -[url-bindings] -# cancel=Control+g Control+c Control+d Escape -# toggle-url-visible=t - -[mouse-bindings] -# selection-override-modifiers=Shift -# primary-paste=BTN_MIDDLE -# select-begin=BTN_LEFT -# select-begin-block=Control+BTN_LEFT -# select-extend=BTN_RIGHT -# select-extend-character-wise=Control+BTN_RIGHT -# select-word=BTN_LEFT-2 -# select-word-whitespace=Control+BTN_LEFT-2 -# select-row=BTN_LEFT-3 diff --git a/dot_config/kitty/kitty.conf b/dot_config/kitty/kitty.conf deleted file mode 100644 index 5959151..0000000 --- a/dot_config/kitty/kitty.conf +++ /dev/null @@ -1,13 +0,0 @@ -font_family Jetbrains Mono Medium -bold_font Jetbrains Mono Bold -italic_font Jetbrains Mono Italic -font_size 13.0 - -enable_audio_bell no -shell_integration no-cursor -cursor_blink_interval 0 - -hide_window_decorations titlebar-only -window_padding_width 5 10 - -include ./theme.conf diff --git a/dot_config/sway/bg.jpg b/dot_config/sway/bg.jpg deleted file mode 100644 index c29e424..0000000 Binary files a/dot_config/sway/bg.jpg and /dev/null differ diff --git a/dot_config/sway/config b/dot_config/sway/config deleted file mode 100644 index 6ad1eae..0000000 --- a/dot_config/sway/config +++ /dev/null @@ -1,174 +0,0 @@ -############ -## VARIABLES -############ - -# Include per-monitor configuration, not checked in to -# my dotfiles repo -include ./monitors - -# UI Font -set $uifont "curie 12px" - -# Modifier key, here we use the Meta/Windows key -set $mod Mod4 - -# Movement keys -set $left h -set $down j -set $up k -set $right l - -# Your preferred terminal editor -set $term kitty - -# Your preferred app launcher -set $menu bemenu-run --fn $uifont -i -b -H 20 -p "~>" | xargs swaymsg exec - -############# -## APPEARANCE -############# - -# Wallpaper -output * bg ~/.config/sway/bg.jpg fill - -# Borders -default_border pixel 1 -default_floating_border none -smart_borders on - -# Font -font Cozette 11 - -# Focus -# class border backgr. text indicator child_border -client.focused #282828 #282828 #ffffff #ffffff #DDDDDD -client.focused_inactive #282828 #282828 #ffffff #ffffff #282828 -client.unfocused #282828 #282828 #888888 #ffffff #282828 - -# gaps -gaps inner 5 -gaps outer 5 - -# Hide cursor after a while (10 secs) -seat seat0 hide_cursor 10000 - -############## -## KEYBINDINGS -############## - -# Start a terminal -bindsym $mod+Return exec $term - -# Start Emacs -bindsym $mod+Shift+Return exec emacs - -# Kill focused window -bindsym $mod+Shift+q kill - -# Start the program launcher -bindsym $mod+space exec $menu - -# Drag floating windows with the mouse -floating_modifier $mod normal - -# Reload the config file -bindsym $mod+Shift+c reload - -# Exit sway -bindsym $mod+Shift+e exec swaynag -t warning -m 'Do you want to exit sway?' -b 'Yes' 'swaymsg exit' - -# change focus -bindsym $mod+$left focus left -bindsym $mod+$down focus down -bindsym $mod+$up focus up -bindsym $mod+$right focus right - -# Move focused window -bindsym $mod+Shift+$left move left -bindsym $mod+Shift+$down move down -bindsym $mod+Shift+$up move up -bindsym $mod+Shift+$right move right - -# Switch to workspace -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 - -# Move to workspace -bindsym $mod+Shift+1 move container to workspace 1 -bindsym $mod+Shift+2 move container to workspace 2 -bindsym $mod+Shift+3 move container to workspace 3 -bindsym $mod+Shift+4 move container to workspace 4 - -# Split screen -bindsym $mod+b splith -bindsym $mod+v splitv - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split - -# Fullscreen current container -bindsym $mod+f fullscreen - -# Switch between tiling and floating for current container -bindsym $mod+Shift+d floating toggle - -# Resize window -bindsym $mod+Alt+h resize shrink width 10 -bindsym $mod+Alt+l resize grow width 10 -bindsym $mod+Alt+j resize shrink height 10 -bindsym $mod+Alt+k resize grow height 10 - -# Switch between tiling area and floating area -bindsym $mod+d focus mode_toggle - -# Screenshots -bindsym $mod+Shift+p exec ~/.config/sway/screen.sh -s -bindsym Shift+Alt+p exec ~/.config/sway/screen.sh - -# Volume -bindsym XF86AudioMute exec pamixer -t -bindsym XF86AudioRaiseVolume exec pamixer -i 5 -bindsym XF86AudioLowerVolume exec pamixer -d 5 -bindsym XF86AudioMicMute exec amixer -D pulse sset Capture toggle - -# MPD -bindsym XF86AudioPrev exec mpc prev -bindsym XF86AudioPlay exec mpc toggle -bindsym XF86AudioNext exec mpc next - -# Brightness -bindsym XF86MonBrightnessUp exec light -A 10 -bindsym XF86MonBrightnessDown exec light -U 10 - -# Lock -bindsym XF86Sleep exec swaylock -f -C ~/.config/swaylock/config - -####### -## Idle -####### - -exec swayidle -w timeout 1800 'swaylock -f -C ~/.config/swaylock/config' \ - timeout 2000 'swaymsg "output * dmps off"' \ - resume 'swaymsg "output * dpms on"' \ - before-sleep 'swaylock -f -C ~/.config/swaylock/config' - -# Touchpad tap-to-click -input type:touchpad { - tap enabled - click_method clickfinger - dwt enabled -} - -################ -## Exec on start -################ - -# Notifications -exec mako - -# Bar -exec waybar diff --git a/dot_config/sway/executable_screen.sh b/dot_config/sway/executable_screen.sh deleted file mode 100644 index de62b38..0000000 --- a/dot_config/sway/executable_screen.sh +++ /dev/null @@ -1,63 +0,0 @@ -#!/usr/bin/env bash -IFS=$'\n' - -usage() { - cat >&2 << EOF -$(basename "$0") [ -w | -s | -d ] [ FILE ] -Take a screenshot - -w screenshot current active window - -s screenshot selection - -d screenshot display (default) - -h show this help - FILE destination for screenshot -The last provided flag before [ FILE ] will be used, -or display by default. -EOF -} - -# === ENVIRONMENT VARIABLES === -# using xdg-open is a good second guess -# simply set $XIVIEWER in .xinitrc / .profile to change -viewer=${XIVIEWER:-xdg-open} -editor=${XIEDITOR:-gimp} -tmpdir="${SCREENSHOT_TMPDIR:=${TMPDIR:=${XDG_RUNTIME_DIR:-/tmp}}}/screenshots" -ssdir=${SCREENSHOT_DIRECTORY:-$HOME/pics/screenshots} - -# === GETOPTS === -# if no opt provided, don't shift -opt=d -while getopts ":dhsw" o; do - case "$o" in - [dsw]) opt="$o" ;; - h ) usage && exit 0 ;; - * ) usage && exit 1 ;; - esac -done -shift $(( OPTIND - 1 )) - -# === IMAGE LOCATION === -if (( $# )); then - # create path if it doesn't exist - mkdir -p "$(dirname "$1")" - img="$1" -else - mkdir -p "$tmpdir" - img=$(mktemp "${tmpdir}/$(date +%Y-%m-%d_%T).XXX" --suffix=.png) -fi - -# === TAKE SCREENSHOT === -case $opt in # active window / selection / whole screen - w) - x="$(swaymsg -t get_tree | jq -r \ - '.nodes[].nodes[]|select(.name!="__i3_scratch")| - .floating_nodes[],recurse(.nodes[])|select(.focused)|.rect| - (.x|tostring)+","+(.y|tostring)+" "+(.width|tostring)+"x"+(.height|tostring)' - )" - grim -g "${x%%*$'\n'}" "$img" - ;; - s) grim -g "$(slurp)" "$img" ;; - d) grim "$img" ;; -esac - -# === TAKE ACTION ON FILE === -wl-copy < $img diff --git a/dot_config/swaylock/config b/dot_config/swaylock/config deleted file mode 100644 index cf0d6d6..0000000 --- a/dot_config/swaylock/config +++ /dev/null @@ -1,14 +0,0 @@ -color=004043 - -indicator-radius=100 -indicator-thickness=7 - -effect-blur=7x5 - -ring-color=069993 -ring-ver-color=069993 -ring-wrong-color=ff5370 -ring-clear-color=f78c6c - -key-hl-color=89ddff -separator-color=00000000 diff --git a/dot_config/waybar/config b/dot_config/waybar/config deleted file mode 100644 index b1ea81c..0000000 --- a/dot_config/waybar/config +++ /dev/null @@ -1,67 +0,0 @@ -{ - "layer": "top", - "height": 20, - "modules-left": ["sway/workspaces", "sway/mode", "custom/media"], - "modules-center": ["sway/window"], - "modules-right": ["tray", "pulseaudio", "battery", "clock"], - // Modules configuration - "sway/workspaces": { - "disable-scroll": true, - "all-outputs": true, - "format": "{name}" - }, - "sway/mode": { - "format": "{}" - }, - "idle_inhibitor": { - "format": "{icon}", - "format-icons": { - "activated": "", - "deactivated": "" - } - }, - "tray": { - // "icon-size": 21, - "spacing": 10 - }, - "clock": { - "tooltip": "{:%Y-%m-%d}", - "format": "{:%H:%M}", - "format-alt": "{:%Y-%m-%d}" - }, - "battery": { - "states": { - // "good": 95, - "warning": 30, - "critical": 15 - }, - "format": "Bat {capacity}%", - "format-charging": "Chg {capacity}%", - "format-plugged": "Plg {capacity}%", - "format-alt": "{time} {icon}", - // "format-good": "", // An empty format will hide the module - // "format-full": "", - "format-icons": ["", "", "", "", ""] - }, - "battery#bat2": { - "bat": "BAT2" - }, - "network": { - // "interface": "wlp2*", // (Optional) To force the use of this interface - "format-wifi": "{essid} ({signalStrength}%) 直", - "format-ethernet": "{ifname}: {ipaddr}/{cidr}", - "format-linked": "{ifname} (No IP)", - "format-disconnected": "Disconnected 睊", - "format-alt": "{ifname}: {ipaddr}/{cidr}" - }, - "pulseaudio": { - // "scroll-step": 1, // %, can be a float - "format": "Vol {volume}%", - "format-bluetooth": "BT {volume}% {format_source}", - "format-bluetooth-muted": "BT Muted {format_source}", - "format-muted": "Vol Muted {format_source}", - "format-source": "{volume}%", - "format-source-muted": "Muted" - } -} - diff --git a/dot_config/waybar/style.css b/dot_config/waybar/style.css deleted file mode 100644 index 7a44b41..0000000 --- a/dot_config/waybar/style.css +++ /dev/null @@ -1,175 +0,0 @@ -* { - border: none; - border-radius: 0; - /* `otf-font-awesome` is required to be installed for icons */ - font-family: 'curie', monospace; - font-size: 12px; - min-height: 0; -} - -window#waybar { - background-color: #282828; - border-bottom: 3px solid #282828; - color: #fff; - transition-property: background-color; - transition-duration: .5s; -} - -window#waybar.hidden { - opacity: 0.2; -} - -/* -window#waybar.empty { - background-color: transparent; -} -window#waybar.solo { - background-color: #FFFFFF; -} -*/ - -#workspaces button { - padding: 0 5px; - background-color: #282828; - color: #fff; - border-bottom: 3px solid #282828; -} - -#workspaces button:hover { - background: rgba(0, 0, 0, 0.2); - box-shadow: inherit; - border-bottom: 3px solid #282828; -} - -#workspaces button.focused { - background-color: #fff; - color: #282828; - border-bottom: 3px solid #fff; -} - -#workspaces button.urgent { - background-color: #282828; - color: #2ecc40; - border-bottom: 3px solid #282828; -} - -#mode { - background-color: #282828; - border-bottom: 3px solid #282828; -} - -#clock, -#battery, -#cpu, -#memory, -#temperature, -#backlight, -#network, -#pulseaudio, -#custom-media, -#tray, -#mode, -#idle_inhibitor, -#mpd { - padding: 0 10px; - margin: 0 4px; - color: #ffffff; -} - -#clock { - background-color: #282828; - color: #fff; - -} - -#battery { - background-color: #ffffff; - color: #282828; -} - -#battery.charging { - color: #ffffff; - background-color: #3d9970; -} - -@keyframes blink { - to { - background-color: #ffffff; - color: #282828; - } -} - -#battery.critical:not(.charging) { - background-color: #ff4136; - color: #ffffff; - animation-name: blink; - animation-duration: 0.5s; - animation-timing-function: linear; - animation-iteration-count: infinite; - animation-direction: alternate; -} - -label:focus { - background-color: #282828; -} - -#cpu { - background-color: #282828; - color: #fff; -} - -#memory { - background-color: #282828; - color: #fff; -} - -#backlight { - background-color: #282828; - color: #fff; -} - -#network { - background-color: #282828; - color: #fff; -} - -#network.disconnected { - background-color: #282828; - color: #fff; -} - -#pulseaudio { - background-color: #282828; - color: #fff; -} - -#pulseaudio.muted { - background-color: #282828; - color: #fff; -} - -#temperature { - background-color: #282828; - color: #fff; -} - -#temperature.critical { - background-color: #282828; - color: #fff; -} - -#tray { - background-color: #282828; - color: #fff; -} - -#idle_inhibitor { - background-color: #282828; - color: #fff; -} - -#idle_inhibitor.activated { - background-color: #282828; - color: #fff; -} -