Compare commits
24 Commits
Author | SHA1 | Date |
---|---|---|
spinach | 0ac6962c5f | 8 months ago |
spinach | 89d863c084 | 9 months ago |
spinach | d7810071cd | 9 months ago |
spinach | 52a14f41b5 | 9 months ago |
spinach | dadec004c4 | 9 months ago |
spinach | c7fede1af8 | 9 months ago |
spinach | 6753b3839f | 9 months ago |
spinach | 24ce088e84 | 9 months ago |
spinach | cbb17f7735 | 9 months ago |
spinach | 807defef35 | 9 months ago |
spinach | c4ae87f72b | 9 months ago |
spinach | a3300335e9 | 9 months ago |
spinach | b82f97e060 | 10 months ago |
spinach | 03aa3a8d5a | 10 months ago |
spinach | e17b45eebb | 12 months ago |
spinach | 280f657a1a | 12 months ago |
spinach | f3c2d05b24 | 12 months ago |
spinach | c5a18cfe35 | 12 months ago |
spinach | e9732fe697 | 12 months ago |
spinach | 811307c06c | 12 months ago |
spinach | 3d6ba185af | 12 months ago |
spinach | 2c9dc4af30 | 12 months ago |
spinach | 2fd168ab97 | 12 months ago |
spinach | 8e36e9fd41 | 12 months ago |
@ -0,0 +1,14 @@
|
||||
sway
|
||||
swayidle
|
||||
swaylock-effects
|
||||
swaybg
|
||||
waybar
|
||||
feh
|
||||
imagemagick
|
||||
rofi
|
||||
rofi-calc
|
||||
mpv
|
||||
mpd
|
||||
mpc
|
||||
playerctl
|
||||
zscroll-git
|
@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
#
|
||||
# Dependancies:
|
||||
# imagemagick
|
||||
# swaylock
|
||||
# grim
|
||||
#
|
||||
# inspired by: https://gist.github.com/singulared/7c6d53c1b84fbb7cf22d07c5c7d3e945
|
||||
|
||||
LOCK=~/.config/sway/lock.png
|
||||
|
||||
# go over each output and ss/blur then add to img
|
||||
for OUTPUT in $(swaymsg -t get_outputs | gojq '.[].name' | tr -d '"')
|
||||
do
|
||||
echo "OUT: $OUTPUT" >> "$HOME/outputs"
|
||||
IMAGE="${OUTPUT}_img.jpg"
|
||||
grim -t jpeg -o $OUTPUT $IMAGE
|
||||
convert $IMAGE -blur 5x3 - | composite -gravity center $LOCK - $IMAGE
|
||||
LOCKARGS="${LOCKARGS} --image ${OUTPUT}:${IMAGE}"
|
||||
IMAGES="${IMAGES} ${IMAGE}"
|
||||
done
|
||||
|
||||
echo "done" >> "$HOME/outputs"
|
||||
|
||||
swaylock $LOCKARGS --daemonize
|
||||
rm $IMAGES
|
@ -1,24 +1,25 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Built for sway with optional dependancy on swaybg for ease of setting
|
||||
|
||||
wallpapers_dir=~/.local/share/wallpapers
|
||||
finder="rofi-dmenu Wallpaper"
|
||||
cur_wallpaper="$HOME/.wallpaper"
|
||||
|
||||
cd "$wallpapers_dir"
|
||||
# selection mode
|
||||
if [ "$1" == "-s" ] ; then
|
||||
cd "$wallpapers_dir"
|
||||
|
||||
# fzf selector
|
||||
if [ "$1" == '-s' ] ; then
|
||||
# follows links and omits the env file
|
||||
selection=$(find -L -type f -printf '%P\n' | $finder)
|
||||
if [ -n "$selection" ] ; then
|
||||
# didnt exit
|
||||
feh --bg-scale "$selection"
|
||||
# didnt exit, overwrite wallpaper
|
||||
ln -sf "$wallpapers_dir/$selection" "$cur_wallpaper"
|
||||
fi
|
||||
fi
|
||||
|
||||
# feh slideshow selector
|
||||
if [ "$1" == '-p' ] ; then
|
||||
# follows links and omits the env file
|
||||
# find -L -type f -printf '%P\n' | feh -A "echo '%f';"
|
||||
echo "BROKEN">&2
|
||||
exit 1
|
||||
# check that available wallpaper exists
|
||||
if [ ! -f "$cur_wallpaper" ] ; then
|
||||
echo "No wallpaper found" && exit 1
|
||||
fi
|
||||
|
||||
swaymsg output "*" bg "$cur_wallpaper" fill '#000000'
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 4af034b82620c67492f951be0fbbe0a024ab31e2
|
||||
Subproject commit 853ade4fba8af8520c9e2072de492d83999ba742
|
@ -1 +1 @@
|
||||
Subproject commit dbf546e61c0ca848f2474db55b601dead6d41f7e
|
||||
Subproject commit bcf7a4d38dc941e816e1f491b63417e959ba4c0a
|
@ -1 +0,0 @@
|
||||
/home/keegan/.dotfiles/gui/wallpapers/pine_tree.jpg
|
@ -0,0 +1,7 @@
|
||||
include base
|
||||
|
||||
output DP-2 enable scale 1 mode 3840x2160 position 2560,0
|
||||
output DP-3 enable scale 1 mode 2560x1440 position 0,380
|
||||
|
||||
workspace 1 output DP-2
|
||||
workspace 2 output DP-3
|
@ -0,0 +1,3 @@
|
||||
include base
|
||||
|
||||
output LVDS-1 enable scale 1 mode 1366x768
|
@ -0,0 +1,49 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/window", "pulseaudio/slider"],
|
||||
"modules-center": ["custom/weather"],
|
||||
"modules-right": ["cpu", "memory", "network", "custom/bg", "custom/date"],
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"sway/window": {
|
||||
"all-outputs": true,
|
||||
"max-length": 20
|
||||
},
|
||||
"pulseaudio/slider": {
|
||||
"min": 0,
|
||||
"max": 100
|
||||
},
|
||||
"custom/spotify-scroll": {
|
||||
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "weather -pd",
|
||||
"on-click": "i3-scratchpad.sh scratch st -n scratch -e weather -f",
|
||||
"on-click-right": "weather -r",
|
||||
"on-click-midde": "i3-scratchpad.sh scratch st -n scratch -e weather -pf"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU: {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM: {percentage}%",
|
||||
"tooltip-format": "RAM: {used}/{total} GiB"
|
||||
},
|
||||
"network": {
|
||||
"interval": 2,
|
||||
"format-ethernet": "ETH: {bandwidthTotalBytes}",
|
||||
"format-wifi": "WLAN: {ssid}",
|
||||
"tooltip-format": "DOWN: {bandwidthDownBits} UP: {bandwidthUpBits} IP: {ipaddr}"
|
||||
},
|
||||
"custom/bg": {
|
||||
"exec": "echo -e '\uf1c5'",
|
||||
"interval": "once",
|
||||
"on-click": "wallpaper.sh -s"
|
||||
},
|
||||
"custom/date": {
|
||||
"exec": "date +'%A, %b %d %l:%M %P'",
|
||||
"interval": 10
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,139 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Hack Nerd Font, Roboto, Helvetica, Arial, sans-serif;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window.DP-3 * {
|
||||
font-size: 13pt;
|
||||
}
|
||||
|
||||
window.DP-2 * {
|
||||
font-size: 17pt;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
window#waybar.empty {
|
||||
color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
color: #ddd;
|
||||
background-color: rgba(29, 31, 21, 0.8);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-top: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery.bat1,
|
||||
#battery.bat2,
|
||||
#clock,
|
||||
#cpu,
|
||||
#custom-mail,
|
||||
#custom-poweroff,
|
||||
#custom-weather,
|
||||
#disk,
|
||||
#idle_inhibitor,
|
||||
#memory,
|
||||
#mode,
|
||||
#network.vpn,
|
||||
#network.wifi,
|
||||
#network.ethernet,
|
||||
#network.disconnected,
|
||||
#custom-date,
|
||||
#sway-window,
|
||||
#sway-workspaces,
|
||||
#pulseaudio,
|
||||
#custom-weather,
|
||||
#taskbar,
|
||||
#temperature,
|
||||
#tray {
|
||||
padding: 0 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#custom-bg {
|
||||
padding: 0 10px 0px 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#pulseaudio-slider slider {
|
||||
min-height: 0px;
|
||||
min-width: 0px;
|
||||
opacity: 0;
|
||||
background-image: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
#pulseaudio-slider trough {
|
||||
min-height: 10px;
|
||||
min-width: 80px;
|
||||
border-radius: 5px;
|
||||
background-color: black;
|
||||
}
|
||||
#pulseaudio-slider highlight {
|
||||
min-width: 5px;
|
||||
border-radius: 5px;
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.bat2.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces", "sway/window", "pulseaudio/slider"],
|
||||
"modules-center": ["custom/weather"],
|
||||
"modules-right": ["cpu", "memory", "network", "battery", "custom/bg", "custom/date"],
|
||||
"sway/workspaces": {
|
||||
"all-outputs": true
|
||||
},
|
||||
"sway/window": {
|
||||
"all-outputs": true,
|
||||
"max-length": 20
|
||||
},
|
||||
"pulseaudio/slider": {
|
||||
"min": 0,
|
||||
"max": 100
|
||||
},
|
||||
"custom/spotify-scroll": {
|
||||
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "weather -pd",
|
||||
"on-click": "i3-scratchpad.sh scratch st -n scratch -e weather -f",
|
||||
"on-click-right": "weather -r",
|
||||
"on-click-midde": "i3-scratchpad.sh scratch st -n scratch -e weather -pf"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU: {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM: {percentage}%",
|
||||
"tooltip-format": "RAM: {used}/{total} GiB"
|
||||
},
|
||||
"network": {
|
||||
"interval": 2,
|
||||
"format-icons": [" ", " ", " ", " "],
|
||||
"format-disconnected": " ",
|
||||
"format-ethernet": " ",
|
||||
"format-wifi": "{icon}",
|
||||
"tooltip-format-wifi": "{essid} {ipaddr} {bandwidthDownBits} {bandwidthUpBits}",
|
||||
"tooltip-format-ethernet": "{ipaddr} CAP: {bandwidthTotalBits} {bandwidthDownBits} {bandwidthUpBits}"
|
||||
},
|
||||
"battery": {
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-charging": " {capacity}%",
|
||||
"format-icons": [ "", "", "", "", "", "", "", "", "", "", ""],
|
||||
"format-tooltip": "{timeTo}",
|
||||
"format-time": "{H}:{M}",
|
||||
},
|
||||
"custom/bg": {
|
||||
"exec": "echo -e '\uf1c5'",
|
||||
"interval": "once",
|
||||
"on-click": "wallpaper.sh -s"
|
||||
},
|
||||
"custom/date": {
|
||||
"exec": "date +'%a, %b %d %l:%M %P'",
|
||||
"interval": 10
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,136 @@
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: Hack Nerd Font, Roboto, Helvetica, Arial, sans-serif;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window.LVDS-1 * {
|
||||
font-size: 10pt;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
background-color: transparent;
|
||||
color: #ddd;
|
||||
}
|
||||
|
||||
window#waybar.empty {
|
||||
color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 3px;
|
||||
color: #ddd;
|
||||
background-color: rgba(29, 31, 21, 0.8);
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 4px 2px -2px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-top: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
#backlight,
|
||||
#battery,
|
||||
#battery.bat1,
|
||||
#battery.bat2,
|
||||
#clock,
|
||||
#cpu,
|
||||
#custom-mail,
|
||||
#custom-poweroff,
|
||||
#custom-weather,
|
||||
#disk,
|
||||
#idle_inhibitor,
|
||||
#memory,
|
||||
#mode,
|
||||
#network.vpn,
|
||||
#network.wifi,
|
||||
#network.ethernet,
|
||||
#network.disconnected,
|
||||
#custom-date,
|
||||
#sway-window,
|
||||
#sway-workspaces,
|
||||
#pulseaudio,
|
||||
#custom-weather,
|
||||
#taskbar,
|
||||
#temperature,
|
||||
#tray {
|
||||
padding: 0 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#custom-bg {
|
||||
padding: 0 10px 0px 5px;
|
||||
margin: 2px;
|
||||
color: #ddd;
|
||||
border-radius: 7px;
|
||||
background-color: rgba(29, 31, 21, 0.6);
|
||||
}
|
||||
|
||||
#pulseaudio-slider slider {
|
||||
min-height: 0px;
|
||||
min-width: 0px;
|
||||
opacity: 0;
|
||||
background-image: none;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
#pulseaudio-slider trough {
|
||||
min-height: 10px;
|
||||
min-width: 80px;
|
||||
border-radius: 5px;
|
||||
background-color: black;
|
||||
}
|
||||
#pulseaudio-slider highlight {
|
||||
min-width: 5px;
|
||||
border-radius: 5px;
|
||||
background-color: green;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.bat2.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#taskbar button:hover {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
||||
|
||||
#taskbar button.active {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 3px #ffffff;
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
- shell:
|
||||
- [bin/arch_package_installer.sh arch/sway, Installing Sway dependancies]
|
@ -1,3 +1,3 @@
|
||||
- link:
|
||||
~/.config/sway: gui/sway-desktop
|
||||
~/.config/sway/wallpaper.jpg: gui/wallpapers/pine_tree.jpg
|
||||
~/.config/sway/config: gui/sway/desktop
|
||||
~/.config/sway/base: gui/sway/base
|
||||
|
@ -0,0 +1,3 @@
|
||||
- link:
|
||||
~/.config/sway/config: gui/sway/thinkpad
|
||||
~/.config/sway/base: gui/sway/base
|
@ -0,0 +1,3 @@
|
||||
- link:
|
||||
~/.config/waybar/config: gui/waybar/desktop
|
||||
~/.config/waybar/style.css: gui/waybar/desktop-style.css
|
@ -0,0 +1,3 @@
|
||||
- link:
|
||||
~/.config/waybar/config: gui/waybar/thinkpad
|
||||
~/.config/waybar/style.css: gui/waybar/thinkpad-style.css
|
@ -1 +1 @@
|
||||
Subproject commit 328bcb32590e5057b09bd27a40bc2fb21385fbf3
|
||||
Subproject commit 3f9e409669172ad662e82fca791f0ad16dce5edd
|
@ -1,6 +1,13 @@
|
||||
# base profile
|
||||
|
||||
profile/arch
|
||||
|
||||
# thinkpad specific
|
||||
st.thinkpad
|
||||
i3.thinkpad
|
||||
sway.thinkpad
|
||||
waybar.thinkpad
|
||||
|
||||
# utilities
|
||||
calcurse
|
||||
seafile
|
||||
passwords
|
||||
|
@ -1,5 +1,4 @@
|
||||
profile/arch
|
||||
st.work
|
||||
i3.work
|
||||
timetracker
|
||||
seafile
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Subproject commit a411ef3e0992d4839f0732ebeb9823024afaaaa8
|
||||
Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5
|
@ -1 +1 @@
|
||||
Subproject commit c1b5b2c8aab51b2a5b0d29d078e3cb53bb4c46bb
|
||||
Subproject commit 0cc19ac2ede35fd8accff590fa71df580dc7e109
|
@ -1 +1 @@
|
||||
Subproject commit 56aba76874efb3bb5914d8eaf9e356057113aea7
|
||||
Subproject commit 08fb3b8990fcd93f45dfe220b066a446cf31c7b5
|
@ -1 +1 @@
|
||||
Subproject commit 96670d5f16dcf23d590eb1d83d1de351b2e8fb15
|
||||
Subproject commit 3dd42f5aa2d7fc6f508f2b21408730a8678c0a19
|
@ -1 +1 @@
|
||||
Subproject commit c5672a5864bc78a932de438e4f64fefcee5c6ea6
|
||||
Subproject commit 613dfb9d259166a40d0781e26b8ecd0f59648a25
|
@ -1 +1 @@
|
||||
Subproject commit 6d96a8a4906e91f44ddf97645d5c3c1980212402
|
||||
Subproject commit bf0b2721df35ec195798cc493d356e6a70aac8f2
|
@ -1 +1 @@
|
||||
Subproject commit 020bbf7d64cc2f0c5d2a4ab96d45b8014ef54ad2
|
||||
Subproject commit d27117b8bc4f600657c7dd94310f60e784371eac
|
Loading…
Reference in New Issue