From d57c7b822ebf3fa3df33a240f2ba3eb9414b755c Mon Sep 17 00:00:00 2001 From: Shaun Reed Date: Wed, 19 Feb 2020 06:22:36 +0000 Subject: [PATCH] Initial commit for headless dotfiles --- .Xresources | 57 - .config/Code/User/settings.json | 6 - .config/Code/languagepacks.json | 1 - .config/autostart/jetbrains-toolbox.desktop | 14 - .config/compton.conf | 109 - .config/conky/shortcuts_green | 76 - .config/conky/sysinfo_green | 104 - .config/dconf/user | Bin 795 -> 0 bytes .config/htop/htoprc | 26 - .config/i3/config | 420 ---- .config/i3blocks/config | 174 -- .config/i3blocks/volume | 175 -- .config/i3status/config | 74 - .config/kdeconnect/certificate.pem | 20 - .config/kdeconnect/privateKey.pem | 28 - .config/kdeconnect/trusted_devices | 4 - .config/kdeglobals | 2 - .config/kglobalshortcutsrc | 3 - .config/mimeapps.list | 3 - .config/pavucontrol.ini | 7 - .config/polybar/config | 513 ----- .config/polybar/start-polybar.sh | 16 - .config/powerline-shell/config.json | 11 - .config/powerline-shell/kapp.py | 54 - .config/powerline-shell/powerline-shell | 1 - .config/qterminal.org/qterminal.ini | 90 - .config/volumeicon/volumeicon | 27 - .config/yakuakerc | 39 - .fehbg | 2 - .gitmodules | 6 - .gitmux.conf | 22 - .tmux.conf | 124 - .tmux/plugins/tpm | 1 - .xbindkeysrc | 64 - packages/README.md | 26 - packages/notes | 42 - packages/package.list | 2046 ----------------- packages/repo.keys | 238 -- packages/restore-packs.sh | 17 - packages/sources.list | 31 - .../kgilmer-ubuntu-speed-ricer-disco.list | 2 - ...kgilmer-ubuntu-speed-ricer-disco.list.save | 2 - .../mystic-mirage-ubuntu-pycharm-disco.list | 1 - ...stic-mirage-ubuntu-pycharm-disco.list.save | 1 - .../simon-monette-ubuntu-i3-gaps-disco.list | 0 ...mon-monette-ubuntu-i3-gaps-disco.list.save | 0 packages/sources.list.d/vscode.list | 3 - packages/sources.list.d/vscode.list.save | 3 - packages/sources.list.save | 20 - packages/sources.list~ | 30 - packages/update-packs.sh | 6 - 51 files changed, 4741 deletions(-) delete mode 100644 .Xresources delete mode 100644 .config/Code/User/settings.json delete mode 100644 .config/Code/languagepacks.json delete mode 100755 .config/autostart/jetbrains-toolbox.desktop delete mode 100644 .config/compton.conf delete mode 100644 .config/conky/shortcuts_green delete mode 100644 .config/conky/sysinfo_green delete mode 100644 .config/dconf/user delete mode 100644 .config/htop/htoprc delete mode 100644 .config/i3/config delete mode 100644 .config/i3blocks/config delete mode 100755 .config/i3blocks/volume delete mode 100644 .config/i3status/config delete mode 100644 .config/kdeconnect/certificate.pem delete mode 100644 .config/kdeconnect/privateKey.pem delete mode 100644 .config/kdeconnect/trusted_devices delete mode 100644 .config/kdeglobals delete mode 100644 .config/kglobalshortcutsrc delete mode 100644 .config/mimeapps.list delete mode 100644 .config/pavucontrol.ini delete mode 100644 .config/polybar/config delete mode 100755 .config/polybar/start-polybar.sh delete mode 100644 .config/powerline-shell/config.json delete mode 100644 .config/powerline-shell/kapp.py delete mode 160000 .config/powerline-shell/powerline-shell delete mode 100644 .config/qterminal.org/qterminal.ini delete mode 100644 .config/volumeicon/volumeicon delete mode 100644 .config/yakuakerc delete mode 100755 .fehbg delete mode 100644 .gitmux.conf delete mode 100644 .tmux.conf delete mode 160000 .tmux/plugins/tpm delete mode 100644 .xbindkeysrc delete mode 100644 packages/README.md delete mode 100644 packages/notes delete mode 100644 packages/package.list delete mode 100644 packages/repo.keys delete mode 100755 packages/restore-packs.sh delete mode 100644 packages/sources.list delete mode 100644 packages/sources.list.d/kgilmer-ubuntu-speed-ricer-disco.list delete mode 100644 packages/sources.list.d/kgilmer-ubuntu-speed-ricer-disco.list.save delete mode 100644 packages/sources.list.d/mystic-mirage-ubuntu-pycharm-disco.list delete mode 100644 packages/sources.list.d/mystic-mirage-ubuntu-pycharm-disco.list.save delete mode 100644 packages/sources.list.d/simon-monette-ubuntu-i3-gaps-disco.list delete mode 100644 packages/sources.list.d/simon-monette-ubuntu-i3-gaps-disco.list.save delete mode 100644 packages/sources.list.d/vscode.list delete mode 100644 packages/sources.list.d/vscode.list.save delete mode 100644 packages/sources.list.save delete mode 100644 packages/sources.list~ delete mode 100755 packages/update-packs.sh diff --git a/.Xresources b/.Xresources deleted file mode 100644 index b5ca6aa..0000000 --- a/.Xresources +++ /dev/null @@ -1,57 +0,0 @@ -! -! ██████ ██████ ██ ██ ██████ █████ █████ ██████ █████ ██████ -! ██░░░░ ██░░░░██░██ ░██░░██░░████░░░██ ██░░░██░░██░░████░░░██░░██░░██ -! ░░█████ ░██ ░██░██ ░██ ░██ ░░░██ ░░ ░███████ ░██ ░░░███████ ░██ ░░ -! ░░░░░██░██ ░██░██ ░██ ░██ ░██ ██░██░░░░ ░██ ░██░░░░ ░██ -! ██████ ░░██████ ░░██████░███ ░░█████ ░░██████░███ ░░██████░███ -! ░░░░░░ ░░░░░░ ░░░░░░ ░░░ ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░ -! r e a d c o d e l i k e a w i z a r d -! -! sourcerer by xero harrison (http://sourcerer.xero.nu) -! ├─ based on sorcerer by Jeet Sukumaran (http://jeetworks.org) -! └─ based on mustang by Henrique C. Alves (hcarvalhoalves@gmail.com) - -! █▓▒░ scorcerer colors -*.foreground: #c2c2b0 -*.background: #222222 -*.cursorColor: #c2c2b0 -! black -*.color0: #111111 -*.color8: #181818 -! red -*.color1: #aa4450 -*.color9: #ff6a6a -! green -*.color2: #719611 -*.color10: #b1d631 -! yellow -*.color3: #ff9800 -*.color11: #87875f -! blue -*.color4: #6688aa -*.color12: #90b0d1 -! magenta -*.color5: #8f6f8f -*.color13: #8181a6 -! cyan -*.color6: #528b8b -*.color14: #87ceeb -! white -*.color7: #d3d3d3 -*.color15: #c1cdc1 -! stylized -*.colorIT: #719611 -*.colorBD: #d3d3d3 -*.colorUL: #528b8b - -! Can use backup fonts -> 1,2,3 etc.. -! Top font takes priority over following fonts -URxvt.font: xft:Source Code Pro:size=10,xft:Inconsolata Nerd Font Mono:size=15 -!URxvt.letterSpace: -1 - -URxvt.depth: 32 -URxvt*scrollBar: false -URxvt*mouseWheelScrollPage: true -URxvt*cursorBlink: true -*URxvt.perl-ext-common: extosc-xterm-clipboard - diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json deleted file mode 100644 index a258cf2..0000000 --- a/.config/Code/User/settings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "terminal.integrated.fontFamily": "Inconsolata Nerd Font Mono", - "editor.tabCompletion": "on", - "editor.tabSize": 2, - "window.zoomLevel": -1 -} \ No newline at end of file diff --git a/.config/Code/languagepacks.json b/.config/Code/languagepacks.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.config/Code/languagepacks.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.config/autostart/jetbrains-toolbox.desktop b/.config/autostart/jetbrains-toolbox.desktop deleted file mode 100755 index 4d694b0..0000000 --- a/.config/autostart/jetbrains-toolbox.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[Desktop Entry] -Exec=/home/kapper/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize -Icon=/home/kapper/.local/share/JetBrains/Toolbox/toolbox.svg -MimeType=x-scheme-handler/jetbrains; -Name=JetBrains Toolbox -StartupNotify=false -StartupWMClass=jetbrains-toolbox -Terminal=false -Type=Application -Version=1.0 -X-GNOME-Autostart-Delay=10 -X-GNOME-Autostart-enabled=true -X-KDE-autostart-after=panel -X-MATE-Autostart-Delay=10 \ No newline at end of file diff --git a/.config/compton.conf b/.config/compton.conf deleted file mode 100644 index a2e1030..0000000 --- a/.config/compton.conf +++ /dev/null @@ -1,109 +0,0 @@ -# Shadow -shadow = true; -# no-dnd-shadow = true; -no-dock-shadow = true; -clear-shadow = true; -detect-rounded-corners = true; -shadow-radius = 5; -shadow-offset-x = 1; -shadow-offset-y = 1; -shadow-opacity = .3; -shadow-ignore-shaped = false; -shadow-exclude = [ - "name = 'Notification'", -# workaround for conky until it provides window properties: - "override_redirect = 1 && !WM_CLASS@:s", - "class_g ?= 'Dmenu'", -# "class_g ?= 'Dunst'", -# disable shadows for hidden windows: - "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", - "_GTK_FRAME_EXTENTS@:c", -# disables shadows on sticky windows: -# "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", -# disables shadows on i3 frames - "class_g ?= 'i3-frame'" -]; - -# shadow-exclude-reg = "x10+0+0"; -# xinerama-shadow-crop = true; - -#menu-opacity = 0.95; -#inactive-opacity = 0.93; -#active-opacity = 1; -#alpha-step = 0.01; -#inactive-dim = 0.0; -#blur-background = false; -#blur-kern = "3x3box"; - -fading = false; -fade-delta = 1; -fade-in-step = 0.03; -fade-out-step = 0.03; -fade-exclude = [ ]; - -backend = "xrender"; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -detect-client-opacity = true; -unredir-if-possible = true; -refresh-rate = 0; -vsync = "none"; -dbe = false; -paint-on-overlay = true; -focus-exclude = [ "class_g = 'Cairo-clock'" ]; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; -glx-copy-from-front = false; -glx-swap-method = "undefined"; - -opacity-rule = [ -#"99:name *?= 'Call'", -#"99:class_g = 'Chromium'", -#"50:class_g *= 'shortcuts_green'", -#"50:class_g *= 'sysinfo_green'", -#"50:class_g *= 'conky'", -#"99:class_g = 'Darktable'", -#"50:class_g = 'Dmenu'", -#"99:name *?= 'Event'", -#"99:class_g = 'Firefox'", -#"99:class_g = 'GIMP'", -#"99:name *?= 'Image'", -#"99:class_g = 'Lazpaint'", -#"99:class_g = 'Midori'", -#"99:name *?= 'Minitube'", -#"99:class_g = 'Mousepad'", -#"99:name *?= 'MuseScore'", -#"90:name *?= 'Page Info'", -#"99:name *?= 'Pale Moon'", -#"90:name *?= 'Panel'", -#"99:class_g = 'Pinta'", -#"90:name *?= 'Restart'", -#"99:name *?= 'sudo'", -#"99:name *?= 'Screenshot'", -#"99:class_g = 'Viewnior'", -#"99:class_g = 'VirtualBox'", -#"99:name *?= 'VLC'", -#"99:name *?= 'Write'", -#"93:class_g = 'URxvt' && !_NET_WM_STATE@:32a", -#"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", -#"96:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'" -]; - -wintypes : -{ - tooltip : - { - fade = true; - shadow = false; - opacity = 0.85; - focus = true; - }; - fullscreen : - { - fade = true; - shadow = false; - opacity = 1; - focus = true; - }; -}; diff --git a/.config/conky/shortcuts_green b/.config/conky/shortcuts_green deleted file mode 100644 index f55abe9..0000000 --- a/.config/conky/shortcuts_green +++ /dev/null @@ -1,76 +0,0 @@ -conky.config = { - alignment = 'bottom_left', - background = true, - color2 = '2ECC71', - cpu_avg_samples = 2, - default_color = 'FFFFFF', - double_buffer = true, - font = 'Bitstream Vera Sans:size=8', - gap_x = 15, - gap_y = 40, - minimum_width = 200, - no_buffers = true, - own_window = true, - own_window_class = 'shortcuts_green', - own_window_type = 'override', - own_window_transparent = true, - update_interval = 10.0, - use_xft = true, -} -conky.text = [[ -# -# Date -${alignr}${color1} -${goto 20}${voffset 8}${color2}${font Bitstream Vera Sans:size=16}${time %A}$font\ -${goto 140}${voffset -8}${color}${font Bitstream Vera Sans:size=38}${time %e}$font -${goto 20}${color}${voffset -30}${color}${font Bitstream Vera Sans:size=18}${time %b}$font\ -${goto 60}${voffset -3} ${color}${font Bitstream Vera Sans:size=20}${time %Y}$font${color2}$hr -# ----------------Applications--------------- -${color2}open new terminal - ${color}mod+Enter -${color2}open dropdown yakuake terminal - ${color}F4 -${color2}Firefox - ${color}mod+Shift+f - ----------------Screenshots---------------- -${color2}image clip tool - ${color}mod+Shift+p - ----------------Menus---------------------- -${color2}audio devices - ${color}mod+Ctrl+a -${color2}bluetooth devices - ${color}mod+Ctrl+d -${color2}bmenu system settings - ${color}mod+Ctrl+b -${color2}dmenu app launcher - ${color}mod+d -${color2}morc_menu app menu - ${color}mod+z -${color2}power modes - ${color}mod+0 -${color2}blur lock - ${color}mod+9 - ----------------Restart / Reload----------- - -${color2}kill conky - ${color}mod+o -${color2}start conky - ${color}mod+shift+o -${color2}kill compton - ${color}mod+t -${color2}start compton - ${color}mod+Shift+t -${color2}reload i3 - ${color}mod+Shift+c -${color2}restart i3 - ${color}mod+Shift+r - ----------------Scratchpad----------------- -${color2}send to scratchpad - ${color}mod+Shift+minus -${color2}show scratchpad - ${color}mod+minus - ----------------Windows-------------------- -${color2}modify gaps - ${color}mod+Shift+g -${color2}resize mode - ${color}mod+r -${color2}toggle split direction - ${color}mod+q -${color2}kill cursor selection - ${color}mod+Ctrl+q -${color2}kill active window - ${color}mod+Shift+q - ----------------Workspace-------------------- -${color2}move to empty workspace - ${color}mod+Shift+z -${color2}switch to workspace 1-8 - ${color}mod+1-8 -${color2}send to workspace 1-8 - ${color}mod+Ctrl+1-8 -${color2}navigate workspaces - ${color}mod+Ctrl+arrowkeys -${color2}toggle floating - ${color}mod+Shift+Space -${color2}exit - ${color}mod+0 - -${color2}help - ${color}mod+Shift+h -${color2}mod key - ${color} -]] diff --git a/.config/conky/sysinfo_green b/.config/conky/sysinfo_green deleted file mode 100644 index a1e134c..0000000 --- a/.config/conky/sysinfo_green +++ /dev/null @@ -1,104 +0,0 @@ -conky.config = { - alignment = 'top_right', - background = true, - color2 = '2ECC71', - cpu_avg_samples = 2, - default_color = 'FFFFFF', - double_buffer = true, - font = 'Bitstream Vera Sans:size=8', - gap_x = 15, - gap_y = -5, - minimum_width = 200, - no_buffers = true, - own_window = true, - own_window_type = 'override', - own_window_class = 'sysinfo_green', - own_window_transparent = true, - update_interval = 5.0, - use_xft = true, - temperature_unit = 'fahrenheit', -} -conky.text = [[ - -# Process list, load average -# 1m / 5m / 15m format for lad avg -${color2}${voffset 35}${alignr}${font Bitstream Vera Sans:size=10}Proccesses${color} -${color}${alignr}${font Bitstream Vera Sans:size=8}Load Average: $font$alignr${loadavg} -# -# Process list CPU / RAM utilization table -${font}CPU${goto 170}RAM -${voffset 3}$font${color2}${top name 1}${goto 120}${color}${top cpu 1}%${goto 170}${color2}${top_mem name 1}${color}${alignr}${top_mem mem_res 1}${color} -${color2}${top name 2}${goto 120}${color}${top cpu 2}%${goto 170}${color2}${top_mem name 2}${color}${alignr}${top_mem mem_res 2}${color} -${voffset 3}$hr -# -# RAM Display -${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}RAM ${color} -${goto 0}${color2}$alignc${memgraph 40,305}${color} -${voffset 4}${goto 0}${alignc}${color2}${membar 10, 305} -${color}${goto 10}${font}${memperc}%${alignr}${exec grep -w Active: /proc/meminfo | awk '{print $2 / 1024 / 1024}'}/${memmax} -${voffset 3}${color}$hr -# -# CPU Display -${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}CPU ${color} -# Chipset -${alignr}${font}${exec inxi |grep CPU | awk '{print $4" "$2" "$3" "$6}'}${exec lscpu |grep -w "Model name:"| awk '{print " - " $8}'} -# CPU Grpah -${voffset 4}${goto 0}${alignc}${color2}${cpugraph 40, 305} -# Percentage / GHz utilized -${voffset 0}${goto 10}${color}${font}${hwmon temp 1}F°${alignr}${cpu}% - ${freq_g}GHz -# CPU Core Graphs -${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu1}%${goto 43}${color2}${cpubar cpu1 12,110} ${goto 170}${color}${cpu cpu2}%${goto 203}${color2}${cpubar cpu2 12,110} -${voffset 3}${color}$hr -# -# Network display -${color2}${font}${alignr}NETWORK${color} -${color}${voffset 4}${font}Interface: ${gw_iface} ${font}${alignr}Gateway IP: ${gw_ip} -${font}${alignr}${if_match "$wireless_essid"=="off/any"}Déconnecté${else}${wireless_essid}${endif} -${font}${goto 5}Down${alignr}Up -${goto 5}${color2}${downspeedgraph enp0s31f6 40,153}${goto 160}${upspeedgraph enp0s31f6 40,155} -# Uncomment next line for wireless -# ${goto 5}${color}${downspeedf wlp3s0} Kb/s - ${totaldown wlp3s0}${goto 160}${upspeedf wlp3s0} Kb/s - ${totalup wlp3s0} -# Ethernet network display -${goto 5}${color}${downspeedf enp0s31f6} Kb/s - ${totaldown enp0s31f6}${alignr}${upspeedf enp0s31f6} Kb/s - ${totalup enp0s31f6} -${voffset 4}${color}$hr -# -# HDDisk Display -${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}DISKS${color} -# -# Root Filesystem Display -${voffset 2}${font}${goto 45} /dev/sda - /${font}${alignr}System: ${fs_used /} / ${fs_size /} -${color2}${diskiograph /dev/sda}${color} -${color2}${fs_bar 8 /}${color} -# -# Home Filesystem Display -#${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/} -#${color2}${diskiograph /dev/sda1}${color} -#${color2}${fs_bar 8 /home/} ${color} -# Optinal drive display, specify path to check mount -#${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif} -$hr -# -# Other information -${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}OTHER${color} -# MOBO temp, uptime -${color}${voffset 4}${font}Motherboard: ${goto 120}${acpitemp}F°${alignr}Uptime: ${uptime_short} -# Domain status -# ${color}${voffset 4}${font}Knoats: ${alignc}${exec curl -Is https://knoats.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://knoats.com}s -# ${font}Shaunreed: ${alignc}${exec curl -Is https://shaunreed.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://shaunreed.com}s -# ${font}dv: ${alignc}${exec curl -Is https://kapp.ga | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${exec curl -o /dev/null -s -w %{time_total}\\n https://kapp.ga}s -# -${voffset 3}$hr -# -# -# Things I don't use, but could in the future -# I don't need to track docker containers.. unless I can check remotes? -# ${font}Docker containers: ${goto 120}${exec docker ps -q $1 | wc -l}/${exec docker ps -a | grep -v -F 'Exited (0)' | grep -c -F 'Exited ('} -# -# Commented out, since I am using a desktop -# BATTERY -# $color${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}BATTERY -# ${font}${voffset 3}${alignr}${battery_percent}% -# ${color2}${battery_bar} -# $color${alignr}${if_match "$battery_time"=="unknown"}Charging...${else}Remain Time: ${battery_time}${endif} -]] - diff --git a/.config/dconf/user b/.config/dconf/user deleted file mode 100644 index a268f5516b20e8d4be68fe246d43ca905a405861..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 795 zcmYjPJ!@1!6up~7P4Zl08VRNeD6$rhErbvhM6?L9DN-enZgyvO-{9_>Ff+;GN3Cs0 zARt(z2%;cpV@MZ-`~U+f(kP;&5EK>c^_;gGbl|*m=5XiE-23kAg7Q}7QTl5Fyk9Cd zm9Z1E&$Nj_;1qD?KMX^U_Hh~!1M&xpx`aHJ!4=@n!#A6Zr%n(*1HKJ-*?2;q zn*Ka^5!l?SZPTaby%{(MUeA45OyEr2%B}4G3`TiH+SHRXzZHalPN0Db2 zyib4a;zyKJ=n=%fhj$44czoj*&4u$dDx12PSQ} z_DZLhrzG_%|CLtJq)q2Lsy8a$v{u@^W6sBaCvw$6+7PTZ$eMPojv0>2Gk$E-wvjz^ zE*M`eW(eiVIRIr8^K=@_+2Jg4ah9BKRoTD5o1E7MuT`O8a&7Y#FEcSh1=h&^^!ve5 kMB_(IGdcTEB+%BIMs(hqkT$IkC!=34>d&m!rYODs7xB@WMgRZ+ diff --git a/.config/htop/htoprc b/.config/htop/htoprc deleted file mode 100644 index b9f526d..0000000 --- a/.config/htop/htoprc +++ /dev/null @@ -1,26 +0,0 @@ -# Beware! This file is rewritten by htop when settings are changed in the interface. -# The parser is also very primitive, and not human-friendly. -fields=0 48 17 18 38 39 40 2 46 47 49 1 -sort_key=46 -sort_direction=1 -hide_threads=0 -hide_kernel_threads=1 -hide_userland_threads=0 -shadow_other_users=0 -show_thread_names=0 -show_program_path=1 -highlight_base_name=0 -highlight_megabytes=1 -highlight_threads=1 -tree_view=0 -header_margin=1 -detailed_cpu_time=0 -cpu_count_from_zero=0 -update_process_names=0 -account_guest_in_cpu_meter=0 -color_scheme=0 -delay=15 -left_meters=AllCPUs Memory Swap -left_meter_modes=1 1 1 -right_meters=Tasks LoadAverage Uptime -right_meter_modes=2 2 2 diff --git a/.config/i3/config b/.config/i3/config deleted file mode 100644 index 06355a2..0000000 --- a/.config/i3/config +++ /dev/null @@ -1,420 +0,0 @@ -# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see https://i3wm.org/docs/userguide.html for a complete reference! - -set $mod Mod4 -focus_follows_mouse no - -for_window [class="yakuake"] floating enable - - - -# Move to a new empty workspace -#bindsym $mod+Ctrl+Left exec --no-startup-id i3empty.py prev -bindsym $mod+Shift+z exec --no-startup-id $HOME/.local/bin/i3scripts/i3empty.py - -# Font for window titles. Will also be used by the bar unless a different font -# is used in the bar {} block below. -font pango:monospace 8 - -# This font is widely installed, provides lots of unicode glyphs, right-to-left -# text rendering and scalability on retina/hidpi displays (thanks to pango). -#font pango:DejaVu Sans Mono 8 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - -# Use Mouse+$mod to drag floating windows to their wanted position -floating_modifier $mod -# set default desktop layout (default is tiling) -# workspace_layout tabbed - -# Configure border style -default_border pixel 2 -default_floating_border normal -# Hide borders -hide_edge_borders none - - -# start a terminal - -# kill focused window -bindsym $mod+Shift+q kill - -# start dmenu (a program launcher) -bindsym $mod+d exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. -# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop - -# change focus -bindsym $mod+j focus left -bindsym $mod+k focus down -bindsym $mod+l focus up -bindsym $mod+semicolon focus right - -# alternatively, you can use the cursor keys: -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+j move left -bindsym $mod+Shift+k move down -bindsym $mod+Shift+l move up -bindsym $mod+Shift+semicolon move right - -# alternatively, you can use the cursor keys: -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# split in horizontal orientation -# bindsym $mod+h split h - -# split in vertical orientation -# bindsym $mod+v split v - -# enter fullscreen mode for the focused container -bindsym $mod+f fullscreen toggle - -# change container layout (stacked, tabbed, toggle split) -# bindsym $mod+s layout stacking -# bindsym $mod+w layout tabbed -# bindsym $mod+e layout toggle split - -# toggle tiling / floating -# bindsym $mod+Shift+space floating toggle - -# change focus between tiling / floating windows -# bindsym $mod+space focus mode_toggle - -# focus the parent container -#bindsym $mod+a focus parent - -# focus the child container -#bindsym $mod+d focus child - -# Define names for default workspaces for which we configure key bindings later on. -# We use variables to avoid repeating the names in multiple places. -set $ws1 "1" -set $ws2 "2" -set $ws3 "3" -set $ws4 "4" -set $ws5 "5" -set $ws6 "6" -set $ws7 "7" -set $ws8 "8" -set $ws9 "9" -set $ws10 "10" - - -# Custom named workspaces for keeping frequently used apps -# Numbers overwritten by Polybar i3 module config -set $ws99 99 -set $ws98 98 -set $ws97 97 -set $ws96 96 -set $ws95 95 -set $ws94 94 - -# Custom named workspace keybinds -# To get keysymbols, run 'xmodmap -pke' -bindsym $mod+Ctrl+backslash move container to workspace $ws99 -bindsym $mod+Ctrl+bracketright move container to workspace $ws98 -bindsym $mod+Ctrl+apostrophe move container to workspace $ws97 -bindsym $mod+Ctrl+slash move container to workspace $ws96 -bindsym $mod+Ctrl+period move container to workspace $ws95 -bindsym $mod+Ctrl+comma move container to workspace $ws94 -# Move to workspace with focused container -bindsym $mod+Shift+backslash move container to workspace $ws99; workspace $ws99 -bindsym $mod+Shift+bracketright move container to workspace $ws98; workspace $ws98 -bindsym $mod+Shift+apostrophe move container to workspace $ws97; workspace $ws97 -bindsym $mod+Shift+slash move container to workspace $ws96; workspace $ws96 -bindsym $mod+Shift+period move container to workspace $ws95; workspace $ws95 -bindsym $mod+Shift+comma move container to workspace $ws94; workspace $ws94 -# Move to workspace -bindsym $mod+backslash workspace number $ws99 # Chat -bindsym $mod+bracketright workspace number $ws98 # Mail -bindsym $mod+apostrophe workspace number $ws97 # Sec -bindsym $mod+slash workspace number $ws96 # Web -bindsym $mod+period workspace number $ws95 # Terminal -bindsym $mod+comma workspace number $ws94 # Musak - - -# Switch to workspace -bindsym $mod+1 workspace $ws1 -bindsym $mod+2 workspace $ws2 -bindsym $mod+3 workspace $ws3 -bindsym $mod+4 workspace $ws4 -bindsym $mod+5 workspace $ws5 -bindsym $mod+6 workspace $ws6 -bindsym $mod+7 workspace $ws7 -bindsym $mod+8 workspace $ws8 -bindsym $mod+9 workspace $ws9 -bindsym $mod+0 workspace $ws10 - -# move focused container to workspace -# bindsym $mod+Shift+1 move container to workspace $ws1 -# bindsym $mod+Shift+2 move container to workspace $ws2 -# bindsym $mod+Shift+3 move container to workspace $ws3 -# bindsym $mod+Shift+4 move container to workspace $ws4 -# bindsym $mod+Shift+5 move container to workspace $ws5 -# bindsym $mod+Shift+6 move container to workspace $ws6 -# bindsym $mod+Shift+7 move container to workspace $ws7 -# bindsym $mod+Shift+8 move container to workspace $ws8 -# bindsym $mod+Shift+9 move container to workspace $ws9 -# bindsym $mod+Shift+0 move container to workspace $ws10 - - -# Passing -n to urxvt forces Xorg to default the WM_ICON_NAME to tmux -# Only this instance of urxvt will have that WM_ICON_NAME -# Prevents for_window from acting on new terminals -# Passing -T to urxvt sets WM_NAME and WM_ICON_NAME, if not set in a later argument -# Use -T below to title the startup terminal and assign properties to it -# exec_always --no-startup-id i3-msg 'exec urxvt -T origin -hold -e htop' -# for_window [title="origin"] move to workspace number $ws95 -# for_window [title="origin"] floating enable -# for_window [title="origin"] resize set height 700 -# for_window [title="origin"] resize set width 1000 -# for_window [title="origin"] move position center - -bindsym $mod+Ctrl+a exec "pavucontrol" -for_window [class="Pavucontrol"] floating enable -for_window [class="Pavucontrol"] resize set height 400 -for_window [class="Pavucontrol"] resize set width 600 -for_window [class="Pavucontrol"] move position center - -for_window [class="Wicd-client.py"] floating enable -for_window [class="Wicd-client.py"] resize set height 400 -for_window [class="Wicd-client.py"] resize set width 600 -for_window [class="Wicd-client.py"] move position center - - -# reload the configuration file -bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) -bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'" - -exec --no-startup-id yakuake -exec --no-startup-id xbindkeys --poll-rc -exec --no-startup-id $HOME/.local/bin/i3scripts/start_konky -exec --no-startup-id sh ~/.fehbg -exec --no-startup-id xautolock -time 10 -locker blurlock - - -# Application keybinds -########################################### -bindsym $mod+Return exec i3-sensible-terminal - -# start a terminal -# Uses $TERMINAL environment setting -# bindsym $mod+Return exec terminal -# Open dropdown terminal using tilix quake mode -bindsym $mod+a exec tilix -q -# Firefox -bindsym $mod+Shift+f exec firefox -# Bluetooth device settings -bindsym $mod+Ctrl+d exec blueman-manager -## Screenshot keybinds -########################################### -# Screenshot marquee tool -bindsym $mod+Shift+p --release exec --no-startup-id scrot -s - -# Restart, reload, kill keybinds -########################################### - -# Bind Mod+O to kill conky -bindsym $mod+o exec pkill conky -# Bind Mod+Shift+O to start conky -bindsym $mod+Shift+o exec $HOME/.local/bin/i3scripts/start_konky - -# Bind Mod+P kill polybars -bindsym $mod+p exec pkill -f polybar -# Bind Mod+Shift+P to start polybars -bindsym $mod+Shift+p exec /home/kapper/.config/polybar/start-polybar.sh - - -# Workspace keybinds -########################################### - -# Modify window borders -bindsym $mod+u border none -bindsym $mod+y border pixel 1 -bindsym $mod+n border normal - -# Move focused container to workspace -bindsym $mod+Ctrl+1 move container to workspace $ws1 -bindsym $mod+Ctrl+2 move container to workspace $ws2 -bindsym $mod+Ctrl+3 move container to workspace $ws3 -bindsym $mod+Ctrl+4 move container to workspace $ws4 -bindsym $mod+Ctrl+5 move container to workspace $ws5 -bindsym $mod+Ctrl+6 move container to workspace $ws6 -bindsym $mod+Ctrl+7 move container to workspace $ws7 -bindsym $mod+Ctrl+8 move container to workspace $ws8 -# Move to workspace with focused container -bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1 -bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2 -bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3 -bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4 -bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5 -bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6 -bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7 -bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8 - -#navigate workspaces next / previous -bindsym $mod+Ctrl+Right workspace next -bindsym $mod+Ctrl+Left workspace prev -# workspace back and forth (with/without active container) -workspace_auto_back_and_forth yes -# Bind to swap to previous / last workspace -bindsym $mod+Tab workspace back_and_forth - -# Layout keybinds -########################################### - -# Split orientation toggles -bindsym $mod+h split h;exec notify-send 'tile horizontally' -bindsym $mod+v split v;exec notify-send 'tile vertically' -bindsym $mod+q split toggle - -# change container layout (stacked, tabbed, toggle split) -bindsym $mod+s layout stacking -bindsym $mod+w layout tabbed -bindsym $mod+e layout toggle split -# toggle tiling / floating -bindsym $mod+Shift+space floating toggle - -# move the currently focused window to the scratchpad -bindsym $mod+Shift+minus move scratchpad -# Show the next scratchpad window or hide the focused scratchpad window. -# If there are multiple scratchpad windows, this command cycles through them. -bindsym $mod+minus scratchpad show -# To remove a window from scratchpad, toggle floating - -# change focus between tiling / floating windows -bindsym $mod+space focus mode_toggle -# toggle sticky -bindsym $mod+Shift+s sticky toggle -# focus the parent container -#bindsym $mod+a focus parent - - - -# resize window (you can also use the mouse for that) -mode "resize" { - # These bindings trigger as soon as you enter the resize mode - - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym j resize shrink width 10 px or 10 ppt - bindsym k resize grow height 10 px or 10 ppt - bindsym l resize shrink height 10 px or 10 ppt - bindsym semicolon resize grow width 10 px or 10 ppt - - # same bindings, but for the arrow keys - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt - - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" -} - -bindsym $mod+r mode "resize" - -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - status_command i3blocks -} - -# Theme colors -# class border backgr. text indic. child_border - client.focused #01e110 #000000 #80FFF9 #01e110 - client.focused_inactive #2F3D44 #2F3D44 #1ABC9C #454948 - client.unfocused #2F3D44 #2F3D44 #1ABC9C #454948 - client.urgent #CB4B16 #FDF6E3 #1ABC9C #268BD2 - client.placeholder #000000 #0c0c0c #ffffff #000000 - - client.background #000000 - - -################################################################# -### Settings for i3-gaps ####################################### -################################################################# - -# Set inner/outer gaps default values -gaps inner 14 -gaps outer -2 - -# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size. -# gaps inner|outer current|all set|plus|minus -# gaps inner all set 10 -# gaps outer all plus 5 - -# Smart gaps (gaps used if only more than one container on the workspace) -smart_gaps on - -# Smart borders (draw borders around container only if it is not the only container on this workspace) -# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0) -smart_borders on - -# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces. -set $mode_gaps Gaps: (o) outer, (i) inner -set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global) -set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) -bindsym $mod+Shift+g mode "$mode_gaps" - -mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 - - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} -mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 - - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 - - bindsym Return mode "default" - bindsym Escape mode "default" -} - diff --git a/.config/i3blocks/config b/.config/i3blocks/config deleted file mode 100644 index 76910c7..0000000 --- a/.config/i3blocks/config +++ /dev/null @@ -1,174 +0,0 @@ -# i3blocks config file -# -# Please see man i3blocks for a complete reference! -# The man page is also hosted at http://vivien.github.io/i3blocks -# -# List of valid properties: -# -# align -# color -# command -# full_text -# instance -# interval -# label -# min_width -# name -# separator -# separator_block_width -# short_text -# signal -# urgent - -# Global properties -# -# The top properties below are applied to every block, but can be overridden. -# Each block command defaults to the script name to avoid boilerplate. -command=/usr/share/i3blocks/$BLOCK_NAME -separator_block_width=20 -markup=none - -[nm-tray] -#label= -command=nm-tray -interval=once - -# Volume indicator -# -# The first parameter sets the step (and units to display) -# The second parameter overrides the mixer selection -# See the script for details. - -[volume] -# DEPENDS: sudo apt install volumeicon-alsa -#label=VOL -#label=♪ -#instance=Master -#instance=PCM -command=volumeicon -interval=once -#signal=10 - -# Memory usage -# -# The type defaults to "mem" if the instance is not specified. -[memory] -label=MEM -separator=false -interval=30 - -[memory] -label=SWAP -instance=swap -separator=true -interval=30 - -# CPU usage -# -# The script may be called with -w and -c switches to specify thresholds, -# see the script for details. -[cpu_usage] -label=CPU -interval=10 -min_width=CPU: 100.00% -separator=false - -[load_average] -interval=10 - - -# Disk usage -# -# The directory defaults to $HOME if the instance is not specified. -# The script may be called with a optional argument to set the alert -# (defaults to 10 for 10%). -[disk] -label=HOME -#instance=/mnt/data -interval=30 - -# Network interface monitoring -# -# If the instance is not specified, use the interface used for default route. -# The address can be forced to IPv4 or IPv6 with -4 or -6 switches. -[iface] -#instance=wlan0 -color=#00FF00 -interval=10 -separator=false - -[public-ip] -command=wget -qO - ifconfig.me -interval=60 - - -[wifi] -#instance=wlp3s0 -interval=10 -separator=false - -[bandwidth] -#instance=eth0 -interval=5 - -[backlight] -label=BRI -command=xbacklight -separator=true -interval=1 - - -# Battery indicator -# -# The battery instance defaults to 0. -[battery] -label=BAT -#label=⚡ -#instance=1 -interval=30 - -# Date Time -# -[time] -command=date '+%Y-%m-%d %H:%M:%S' -interval=5 - -# Generic media player support -# -# This displays "ARTIST - SONG" if a music is playing. -# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others. -#[mediaplayer] -#instance=spotify -#interval=5 -#signal=10 - -# OpenVPN support -# -# Support multiple VPN, with colors. -#[openvpn] -#interval=20 - -# Temperature -# -# Support multiple chips, though lm-sensors. -# The script may be called with -w and -c switches to specify thresholds, -# see the script for details. -#[temperature] -#label=TEMP -#interval=10 - -# Key indicators -# -# Add the following bindings to i3 config file: -# -# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks -# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks -#[keyindicator] -#instance=CAPS -#interval=once -#signal=11 - -#[keyindicator] -#instance=NUM -#interval=once -#signal=11 diff --git a/.config/i3blocks/volume b/.config/i3blocks/volume deleted file mode 100755 index 4c4d8e1..0000000 --- a/.config/i3blocks/volume +++ /dev/null @@ -1,175 +0,0 @@ -#!/bin/bash -# Displays the default device, volume, and mute status for i3blocks - -set -a - -AUDIO_HIGH_SYMBOL=${AUDIO_HIGH_SYMBOL:-' '} - -AUDIO_MED_THRESH=${AUDIO_MED_THRESH:-50} -AUDIO_MED_SYMBOL=${AUDIO_MED_SYMBOL:-' '} - -AUDIO_LOW_THRESH=${AUDIO_LOW_THRESH:-0} -AUDIO_LOW_SYMBOL=${AUDIO_LOW_SYMBOL:-' '} - -AUDIO_MUTED_SYMBOL=${AUDIO_MUTED_SYMBOL:-' '} - -AUDIO_DELTA=${AUDIO_DELTA:-5} - -DEFAULT_COLOR=${DEFAULT_COLOR:-"#ffffff"} -MUTED_COLOR=${MUTED_COLOR:-"#a0a0a0"} - -LONG_FORMAT=${LONG_FORMAT:-'${SYMB} ${VOL}% [${INDEX}:${NAME}]'} -SHORT_FORMAT=${SHORT_FORMAT:-'${SYMB} ${VOL}% [${INDEX}]'} -USE_ALSA_NAME=${USE_ALSA_NAME:-0} -USE_DESCRIPTION=${USE_DESCRIPTION:-0} - -SUBSCRIBE=${SUBSCRIBE:-0} - -MIXER=${MIXER:-""} -SCONTROL=${SCONTROL:-""} - -while getopts F:Sf:adH:M:L:X:T:t:C:c:i:m:s:h opt; do -case "$opt" in -S) SUBSCRIBE=1 ;; -F) LONG_FORMAT="$OPTARG" ;; -f) SHORT_FORMAT="$OPTARG" ;; -a) USE_ALSA_NAME=1 ;; -d) USE_DESCRIPTION=1 ;; -H) AUDIO_HIGH_SYMBOL="$OPTARG" ;; -M) AUDIO_MED_SYMBOL="$OPTARG" ;; -L) AUDIO_LOW_SYMBOL="$OPTARG" ;; -X) AUDIO_MUTED_SYMBOL="$OPTARG" ;; -T) AUDIO_MED_THRESH="$OPTARG" ;; -t) AUDIO_LOW_THRESH="$OPTARG" ;; -C) DEFAULT_COLOR="$OPTARG" ;; -c) MUTED_COLOR="$OPTARG" ;; -i) AUDIO_INTERVAL="$OPTARG" ;; -m) MIXER="$OPTARG" ;; -s) SCONTROL="$OPTARG" ;; -h) printf \ - "Usage: volume-pulseaudio [-S] [-F format] [-f format] [-p] [-a|-d] [-H symb] [-M symb] - [-L symb] [-X symb] [-T thresh] [-t thresh] [-C color] [-c color] [-i inter] - [-m mixer] [-s scontrol] [-h] - Options: - -F, -f\tOutput format (-F long format, -f short format) to use, with exposed variables: - \${SYMB}, \${VOL}, \${INDEX}, \${NAME} --S\tSubscribe to volume events (requires persistent block, always uses long format) - -a\tUse ALSA name if possible - -d\tUse device description instead of name if possible - -H\tSymbol to use when audio level is high. Default: '$AUDIO_HIGH_SYMBOL' - -M\tSymbol to use when audio level is medium. Default: '$AUDIO_MED_SYMBOL' - -L\tSymbol to use when audio level is low. Default: '$AUDIO_LOW_SYMBOL' - -X\tSymbol to use when audio is muted. Default: '$AUDIO_MUTED_SYMBOL' - -T\tThreshold for medium audio level. Default: $AUDIO_MED_THRESH - -t\tThreshold for low audio level. Default: $AUDIO_LOW_THRESH - -C\tColor for non-muted audio. Default: $DEFAULT_COLOR - -c\tColor for muted audio. Default: $MUTED_COLOR - -i\tInterval size of volume increase/decrease. Default: $AUDIO_DELTA - -m\tUse the given mixer. - -s\tUse the given scontrol. - -h\tShow this help text - " && exit 0;; - esac - done - - if [[ -z "$MIXER" ]] ; then - MIXER="default" - if amixer -D pulse info >/dev/null 2>&1 ; then - MIXER="pulse" - fi - fi - - if [[ -z "$SCONTROL" ]] ; then - SCONTROL=$(amixer -D "$MIXER" scontrols | sed -n "s/Simple mixer control '\([^']*\)',0/\1/p" | head -n1) - fi - - CAPABILITY=$(amixer -D $MIXER get $SCONTROL | sed -n "s/ Capabilities:.*cvolume.*/Capture/p") - - - function move_sinks_to_new_default { - DEFAULT_SINK=$1 - pacmd list-sink-inputs | grep index: | grep -o '[0-9]\+' | while read SINK - do - pacmd move-sink-input $SINK $DEFAULT_SINK - done - } - -function set_default_playback_device_next { - inc=${1:-1} - num_devices=$(pacmd list-sinks | grep -c index:) - sink_arr=($(pacmd list-sinks | grep index: | grep -o '[0-9]\+')) - default_sink_index=$(( $(pacmd list-sinks | grep index: | grep -no '*' | grep -o '^[0-9]\+') - 1 )) - default_sink_index=$(( ($default_sink_index + $num_devices + $inc) % $num_devices )) - default_sink=${sink_arr[$default_sink_index]} - pacmd set-default-sink $default_sink - move_sinks_to_new_default $default_sink -} - -case "$BLOCK_BUTTON" in -1) set_default_playback_device_next ;; -2) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY toggle ;; -3) set_default_playback_device_next -1 ;; -4) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%+ ;; -5) amixer -q -D $MIXER sset $SCONTROL $CAPABILITY $AUDIO_DELTA%- ;; -esac - -function print_format { - echo "$1" | envsubst '${SYMB}${VOL}${INDEX}${NAME}' -} - -function print_block { - ACTIVE=$(pacmd list-sinks | grep "state\: RUNNING" -B4 -A7 | grep "index:\|name:\|volume: front\|muted:") - [ -z "$ACTIVE" ] && ACTIVE=$(pacmd list-sinks | grep "index:\|name:\|volume: front\|muted:" | grep -A3 '*') - for name in INDEX NAME VOL MUTED; do - read $name - done < <(echo "$ACTIVE") - INDEX=$(echo "$INDEX" | grep -o '[0-9]\+') - VOL=$(echo "$VOL" | grep -o "[0-9]*%" | head -1 ) - VOL="${VOL%?}" - - NAME=$(echo "$NAME" | sed \ - 's/.*<.*\.\(.*\)>.*/\1/; t;'\ - 's/.*<\(.*\)>.*/\1/; t;'\ - 's/.*/unknown/') - - if [[ $USE_ALSA_NAME == 1 ]] ; then - ALSA_NAME=$(pacmd list-sinks |\ - awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\ - grep "alsa.name\|alsa.mixer_name" |\ - head -n1 |\ - sed 's/.*= "\(.*\)".*/\1/') - NAME=${ALSA_NAME:-$NAME} - elif [[ $USE_DESCRIPTION == 1 ]] ; then - DESCRIPTION=$(pacmd list-sinks |\ - awk '/^\s*\*/{f=1}/^\s*index:/{f=0}f' |\ - grep "device.description" |\ - head -n1 |\ - sed 's/.*= "\(.*\)".*/\1/') - NAME=${DESCRIPTION:-$NAME} - fi - - if [[ $MUTED =~ "no" ]] ; then - SYMB=$AUDIO_HIGH_SYMBOL - [[ $VOL -le $AUDIO_MED_THRESH ]] && SYMB=$AUDIO_MED_SYMBOL - [[ $VOL -le $AUDIO_LOW_THRESH ]] && SYMB=$AUDIO_LOW_SYMBOL - COLOR=$DEFAULT_COLOR - else - SYMB=$AUDIO_MUTED_SYMBOL - COLOR=$MUTED_COLOR - fi - - if [[ $SUBSCRIBE == 1 ]] ; then - print_format "$LONG_FORMAT" - else - print_format "$LONG_FORMAT" - print_format "$SHORT_FORMAT" - echo "$COLOR" - fi -} - -print_block -if [[ $SUBSCRIBE == 1 ]] ; then -while read -r EVENT; do - print_block -done < <(pactl subscribe | stdbuf -oL grep change) - fi diff --git a/.config/i3status/config b/.config/i3status/config deleted file mode 100644 index 674d305..0000000 --- a/.config/i3status/config +++ /dev/null @@ -1,74 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - interval = 5 -} - -# order += "read_file BRIGHTNESS" -order += "memory" -order += "cpu_usage" -order += "volume master" -order += "ipv6" -order += "disk /" -order += "wireless _first_" -order += "ethernet _first_" -order += "battery all" -order += "load" -order += "tztime local" - -# read_file BRIGHTNESS { -# format = "BRI %content" -# path = "/home/kapper/.config/.brightness" -# max_characters = 5 -# } - -memory 0{ - - format = "%free %available%" - -} - -volume master { - format = "♪: %volume" - format_muted = "♪: muted (%volume)" -} - -cpu_usage { - format = "CPU %usage {%cpu0 %cpu1}" - max_threshold = 75 -} - -wireless _first_ { - format_up = "W: (%quality at %essid) %ip" - format_down = "W: down" -} - -ethernet _first_ { - # if you use %speed, i3status requires root privileges - format_up = "E: %ip (%speed)" - format_down = "E: down" -} - -battery all { - format = "%status %percentage %remaining" -} - -tztime local { - format = "%Y-%m-%d %H:%M:%S" -} - -load { - format = "%1min" -} - -disk "/" { - format = "%avail" -} - diff --git a/.config/kdeconnect/certificate.pem b/.config/kdeconnect/certificate.pem deleted file mode 100644 index 1f016a2..0000000 --- a/.config/kdeconnect/certificate.pem +++ /dev/null @@ -1,20 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDVzCCAj+gAwIBAgIBCjANBgkqhkiG9w0BAQUFADBVMS8wLQYDVQQDDCZfNGNh -MDc5ZDlfMDIyNl80ODFmX2JiMDhfMDBhN2M5OGJiMmViXzEMMAoGA1UECgwDS0RF -MRQwEgYDVQQLDAtLZGUgY29ubmVjdDAeFw0xOTAxMTkxODUyNDFaFw0yOTAxMTkx -ODUyNDFaMFUxLzAtBgNVBAMMJl80Y2EwNzlkOV8wMjI2XzQ4MWZfYmIwOF8wMGE3 -Yzk4YmIyZWJfMQwwCgYDVQQKDANLREUxFDASBgNVBAsMC0tkZSBjb25uZWN0MIIB -IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsPH1W71vs9HWDMdoSShA/qqu -l5ZnyqaIiDPZDbjMx0/nQEGVFXJN7BpSkB2hoazESIVRdvftijqkJwq76G91vxkO -ieOFm1N/AZj41NDeBtiG4enwSWHBGwhVBfBMrzi6u953+8QTKL+zbOpj1744goVW -BkWiACGtk2Xj3ANlt+p35WRLSXp5GYgvElU3b5+Ndivc1F+itf+2de9GaW9gLjdl -XGquxyHFcZb9ncB2hODQe2bkg/+fAoVP39Scqh2H8FFxttBonzhvZAyd413db6bD -bWzXkxr2+I8SFOWy66VodY18Q71QgXx+g7EWXlKIevpNNU6YBKhkJ26klJZRXQID -AQABozIwMDAdBgNVHQ4EFgQUlXrEWWSnymjhIQ8X0Ox14FFE6H0wDwYDVR0TAQH/ -BAUwAwIBADANBgkqhkiG9w0BAQUFAAOCAQEAIBJA0Qlxv9TKr21/syW4icUXBCcL -YYDQ8Z688tMs5sqxyK/lCWXS7XZWxw2da+9fbvPNVDdNDZBTktVyAgu1Ch9gaNjj -lgqThfD0PlsRFqv6pEHa4bznNwhBvGPbA5bqYGfsNUm8QhdGirgf7mf1+LC6ie7R -wLp+RpF5qT1Io0WZrEU5pPOQhBbj4HDtZWKdQODOetIB8ZKJXBm4HhMT7JwtlYBw -uCoz2zPIZBVnICnjfar/8wsABQE6D14NAZtU+Z12WRAf5CnVydp9sz1XAYpxM9Rb -Sd7rVMTBfoptjCcJdxgvZ+7SF2fNJLFUkODTD0ZXmakLW+FSCQ871xF1xg== ------END CERTIFICATE----- diff --git a/.config/kdeconnect/privateKey.pem b/.config/kdeconnect/privateKey.pem deleted file mode 100644 index 24e0095..0000000 --- a/.config/kdeconnect/privateKey.pem +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQCw8fVbvW+z0dYM -x2hJKED+qq6XlmfKpoiIM9kNuMzHT+dAQZUVck3sGlKQHaGhrMRIhVF29+2KOqQn -Crvob3W/GQ6J44WbU38BmPjU0N4G2Ibh6fBJYcEbCFUF8EyvOLq73nf7xBMov7Ns -6mPXvjiChVYGRaIAIa2TZePcA2W36nflZEtJenkZiC8SVTdvn412K9zUX6K1/7Z1 -70Zpb2AuN2Vcaq7HIcVxlv2dwHaE4NB7ZuSD/58ChU/f1JyqHYfwUXG20GifOG9k -DJ3jXd1vpsNtbNeTGvb4jxIU5bLrpWh1jXxDvVCBfH6DsRZeUoh6+k01TpgEqGQn -bqSUllFdAgMBAAECggEAar/umIQ3CbNEgb0jy07/tyRd5JIW2AmUQSeWgVLGKFCq -YPev65pkLFbNDKjzxEgout/DgBSfOE+cjPlK2DW2Qa3qOYIMLuM2sk4JgMrpyBOF -fHHYR000ZQynzsdkXCnLbmAO3tMyA9lzc/gMeDIIgaXTekE0NQQcZdqIl0ltaoCG -CFCd17pHDmvPJlVsx46+4C+NayxHI5vJboT+KoIaEWDBbzUN5IADktbzSOBlrYRN -u4a1pwpmgyrYeKnEmUkFnR1seNLBjJJdVPAntHoRFojy/5z7AuvDsrpGB6KW2y8m -P0hxDodNhFp7dkA9TvOTJ+be7QOlZgVCQsjPONNCgQKBgQDqZX44RfbpF3LqNhef -bOGegrjOuKi9v29pT2dB7gQZ+YaqEriPmYwRACf8MORxz2dIXJYWi2r0CexA/JQF -z6r3pkDvVboRSvGQRsvo0uRf/jSxzIvkPDXsZF+SSI4yJKJkVhU9NWpue8vc0UDM -ir7zxF7Y7fyeej6J56or/X+hrQKBgQDBQOu4IaWTcr0ccZwyNTJO8KmZ64fzP0uf -gf3KFTGD8+X5lqbjLDMlLS+d22zHLFAjBjIWSHQNAIpFp5RC3lkIwhz7frU624J9 -8fqHh5K+lqmS39pDt9Ey1fuDxjnBM/TaW5cQZ8ObzIfUKCBQkMOSQZuUDr1m1lHQ -+heEP0ZEcQKBgQC8TFxhiJMaHaRLUrkXcbiuRgWAzAeCp08xIoCpDjRtSW9NIUzy -zz8eSSnWBtD+PMeT8g0Af2+kLHSGoGGpaXLHD+AKZKvdSH9WkAkvOHwOQYDDdLbM -2zHWfavpMDBLR/LM9/qH+WlO6FSVR+TubGeKHK61RjoydbHXxyuFu1fU4QKBgQC1 -v1uw0RwKPtdx37sZUQReT2ICGwvBjd6ORc+r9SCbS48Wm0Oa1N/I7+UfXdTAwIEh -X1tNr5hM/hwMhB0ggkJTxVNChxjkILtpvWBzg+JTkhgqxJJeK4r4d1xSwuNgO3/k -uEyrJhtF9CYuNgqmGm+DpmYt6WrhQ2Cw2/Ov8V4hUQKBgQCQOejrO+dMX4UNg2qz -9/4eJo5lhs8sMwNjlVBv7yst6KwtolGwsjl6Z1fqc6XdKreikfZHiMZxORTwAZTr -UWzJDtTGupQsZbeUQA1cP+YuA0zLEnuxJ4pIt+2b7caU/90rifDSR8Fhf4K4S2TN -4UfA1hP8hxMbGt7Uv1DVb7mJRQ== ------END PRIVATE KEY----- diff --git a/.config/kdeconnect/trusted_devices b/.config/kdeconnect/trusted_devices deleted file mode 100644 index c04506f..0000000 --- a/.config/kdeconnect/trusted_devices +++ /dev/null @@ -1,4 +0,0 @@ -[13b9d56df4c8815b] -certificate="-----BEGIN CERTIFICATE-----\nMIIC9zCCAd+gAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRkwFwYDVQQDDBAxM2I5\nZDU2ZGY0Yzg4MTViMRQwEgYDVQQLDAtLREUgQ29ubmVjdDEMMAoGA1UECgwDS0RF\nMB4XDTE4MDgxMDA1NTA0OFoXDTI4MDgxMDA1NTA0OFowPzEZMBcGA1UEAwwQMTNi\nOWQ1NmRmNGM4ODE1YjEUMBIGA1UECwwLS0RFIENvbm5lY3QxDDAKBgNVBAoMA0tE\nRTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKYE7EQ8NwTGeoJTCXKI\nsRdKUA642TDL4vprIKSRGlV5bKnOd50ZtU5Kl0ZBDef5Wmx1q8wbocyKA7qbsXLX\nZZbWt8yxOn+sH0OCFZWp4KjzPpI6av/pqOJ8Ul4EKD7I5i6rwRfLhIR75i9Kgu30\nTzjbpHITn6JPTNbdoTfLgd+DM1ctAWPFKnqX6lTPcRNLk3uIGiL++MBx/BMuuUA4\nzXAeZlYHel0CkmaJWC4mAlrqEbFGwrVqipCzBh7HSfmIcE7vpUZVwDvohYoHzIzy\nQzooQjPyJ3AxK71zQuBgFbvubFq+kiaZ+Kj0WAv02Kb1EbSIrAAgWptu8sIqgrlB\nmmECAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAEXquszMrqgKt/dj72NBwDaoWbnhd\n2mMdY4WRUcSfI3klISJZuf6JC/lq5bAt0uiTaXb0ZYgNQmDREpGiupWp+lf56wEY\nExz2WG/bfOqRFBgpvPfXeqtksc6RdHY7HWn8DjUea6ipaoc1yQZ8rlHX+Y60klVY\nnj4y4FXq2wR7sBwjL2v0L3Z8XKxoDICcemKBBZhtSQEPMMBPQ+kfVNUyE9xh8gdj\nzcgFdxKXDNHYKJ/R1Q5c9HNQ03zG5u8+JwTtZIymTo8cB06v1i7UdbVe1p7ZbrHr\nQfeuKL2K1egGdlzMK/BjjC2vld4sdqrUHiEAySw+MOddqZCCfkzi3JjAng==\n-----END CERTIFICATE-----\n" -name=KapperDroid -type=smartphone diff --git a/.config/kdeglobals b/.config/kdeglobals deleted file mode 100644 index d058971..0000000 --- a/.config/kdeglobals +++ /dev/null @@ -1,2 +0,0 @@ -[KShortcutsDialog Settings] -Dialog Size=600,480 diff --git a/.config/kglobalshortcutsrc b/.config/kglobalshortcutsrc deleted file mode 100644 index 8b1e29f..0000000 --- a/.config/kglobalshortcutsrc +++ /dev/null @@ -1,3 +0,0 @@ -[yakuake] -_k_friendly_name=Yakuake -toggle-window-state=F4,F12,Open/Retract Yakuake diff --git a/.config/mimeapps.list b/.config/mimeapps.list deleted file mode 100644 index 2bf5336..0000000 --- a/.config/mimeapps.list +++ /dev/null @@ -1,3 +0,0 @@ - -[Default Applications] -x-scheme-handler/jetbrains=jetbrains-toolbox.desktop diff --git a/.config/pavucontrol.ini b/.config/pavucontrol.ini deleted file mode 100644 index 7c83995..0000000 --- a/.config/pavucontrol.ini +++ /dev/null @@ -1,7 +0,0 @@ -[window] -width=1366 -height=749 -sinkInputType=0 -sourceOutputType=1 -sinkType=0 -sourceType=0 diff --git a/.config/polybar/config b/.config/polybar/config deleted file mode 100644 index 7110528..0000000 --- a/.config/polybar/config +++ /dev/null @@ -1,513 +0,0 @@ -; Polybars -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -[bar/top] - -; Polybar Position -monitor = ${env:MONITOR} -width = 100% -height = 34 - -; Polybar Color -background = #000000 -foreground = #00c24a -line-color = ${bar/bottom.background} -line-size = 16 -spacing = 2 - -; Polybar Padding -padding-left = 0 -padding-right = 5 - -; Margin Between Modules -module-margin = 4 - -; Type font -font-0 = NotoSans-Regular:size=8;0 -font-1 = Inconsolata Nerd Font:size=12;0 -font-2 = Noto Sans Mono:size=8;0 - -; Modules -modules-left = powermenu weather -modules-center = ki3 -modules-right = info-hackspeed keyboard volume wired-network clock - -[bar/bottom] -; Position, size of polybar -monitor = ${env:MONITOR} -bottom = true -width = 100% -height = 27 - -; Use top bar colors -background = ${bar/top.background} -foreground = ${bar/top.foreground} -line-color = ${bar/top.background} -line-size = 2 -spacing = 3 - -; Polybar padding -padding-left = 6 -padding-right = 6 - -; Margins between modules -module-margin-left = 4 -module-margin-right = 6 - -; Font ssettings, order matters -; Top font takes priority over following -;font-0 = Source Code Pro:size=10;0 -font-0 = NotoSans-Regular:size=8;0 -font-1 = Inconsolata Nerd Font:size=12;0 -font-2 = Noto Sans Mono:size=8;0 - - -; Modules -modules-left = temp-cpu cpu -modules-center = popup-utc network public-ip filesystem -modules-right = info-idle caffeine temp-gpu memory - - -; Modules -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - - -; Pop-up Calendar -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/popup-utc] -type = custom/script -exec = ~/.local/bin/i3scripts/popup-calendar -interval = 5 -click-left = ~/.local/bin/i3scripts/popup-calendar --popup - -; Weather -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/weather] -type = custom/script -exec = ~/.local/bin/i3scripts/weathermap -interval = 600 -;label-font = Font Awesome 5 Free Solid:size=40;0 - -; Type Speed -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/info-hackspeed] -type = custom/script -exec = ~/.local/bin/i3scripts/info-hackspeed -tail = true - -; System Idle Time -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/info-idle] -type = custom/script -exec = ~/.local/bin/i3scripts/info-idle -tail = true - -; Disk Space -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/filesystem] -type = internal/fs -; Mountpoints to display -mount-0 = / -mount-1 = /home -;mount-2 = /var -; Seconds to sleep between updates -; Default: 30 -interval = 10 -; Display fixed precision values -; Default: false -fixed-values = true - ;Available tags: - ; (default) - ; - ; - ; -format-mounted = -; Available tokens: -; %mountpoint% -; %type% -; %fsname% -; %percentage_free% -; %percentage_used% -; %total% -; %free% -; %used% -; Default: %mountpoint% %percentage_free%% -label-mounted = %mountpoint% %free% -; Spacing between entries -; Default: 2 -spacing = 4 - -; Network Status -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/network] -type = internal/network -interface = enp0s31f6 -; Available tags: -; (default) -; -format-connected = -; Available tags: -; (default) -format-disconnected = -; Available tags: -; (default) -; -; -format-packetloss = -; Default: %ifname% %local_ip% -label-connected =  %upspeed% /  %downspeed:9% 龍 %linkspeed% %local_ip% -label-connected-foreground =#00c24a -; Default: (none) -label-disconnected = not connected -label-disconnected-foreground = #d00 -; Default: (none) -;label-packetloss = %essid% -;label-packetloss-foreground = #eefafafa -; Only applies if is used -;ramp-signal-0 = 😱 -;ramp-signal-1 = 😠 -;ramp-signal-2 = 😒 -;ramp-signal-3 = 😊 -;ramp-signal-4 = 😃 -;ramp-signal-5 = 😈 -; Only applies if is used -;animation-packetloss-0 = ⚠ -;animation-packetloss-0-foreground = #ffa64c -;animation-packetloss-1 = 📶 -;animation-packetloss-1-foreground = #000000 -; Framerate in milliseconds -;animation-packetloss-framerate = 500 -; Seconds to sleep between updates -; Default: 1 -interval = 5.0 -; Test connectivity every Nth update -; A value of 0 disables the feature -; NOTE: Experimental (needs more testing) -; Default: 0 -;ping-interval = 3 -; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%) -; Minimum output width of upload/download rate -; Default: 3 -udspeed-minwidth = 5 -; Accumulate values from all interfaces -; when querying for up/downspeed rate -; Default: false -accumulate-stats = true -; Consider an `UNKNOWN` interface state as up. -; Some devices like USB network adapters have -; an unknown state, even when they're running -; Default: false -unknown-as-up = true - -; Show Public IP -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/public-ip] -type = custom/script -exec = curl -s ifconfig.me -interval = 600 - -; CPU Temp -;;;;;;;;;;;;;;;;;;;;;;;;;; -[module/temp-cpu] -type = custom/script -; Seconds to sleep between updates -; Default: 1 -interval = 5.0 -; Full path of temperature sysfs path -; Use `sensors` to find preferred temperature source, then run -; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done -; to find path to desired file -; Default reverts to thermal zone setting -exec = exec ~/.local/bin/i3scripts/cpusensor -format =