dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

commit 10c22eb6d54aafa5645788570605ab51ab72b33b
parent f94d656a904c8e2c845094852d73d0cd54f47ff3
Author: Jake Koroman <jakekoroman@gmail.com>
Date:   Sun, 21 Jul 2024 23:02:49 -0400

laptop merge with desktop

Diffstat:
M.config/shell/aliasrc | 1+
A.config/waybar/config | 73+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/style.css | 106+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/waybar/themes/frappe.css | 26++++++++++++++++++++++++++
A.config/waybar/themes/latte.css | 26++++++++++++++++++++++++++
A.config/waybar/themes/macchiato.css | 26++++++++++++++++++++++++++
A.config/waybar/themes/mocha.css | 26++++++++++++++++++++++++++
A.config/wofi/assets/frappe.webp | 0
A.config/wofi/assets/latte.webp | 0
A.config/wofi/assets/macchiato.webp | 0
A.config/wofi/assets/mocha.webp | 0
A.config/wofi/assets/preview.webp | 0
A.config/wofi/colors.css | 314+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wofi/config/config | 11+++++++++++
A.config/wofi/src/frappe/style.css | 164+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wofi/src/latte/style.css | 164+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wofi/src/macchiato/style.css | 164+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A.config/wofi/src/mocha/style.css | 164+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
M.zprofile | 2+-
Mdeploy | 2+-
Mdevice-specific/desktop/dwl-hardware.h | 9+++++----
Mdevice-specific/desktop/emacs.el | 8++++----
Mdwl/config.h | 15++++++++-------
Mdwl/dwl.c | 10++++++++++
Ascripts/nightlight.sh | 7+++++++
Mshared-configs/foot/template.ini | 45+++++++++++++++++++++++++++++++++++++++++++--
26 files changed, 1344 insertions(+), 19 deletions(-)

diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc @@ -1,5 +1,6 @@ #!/bin/sh +alias ip='ip --color=auto' alias grep='grep --color=auto' alias ls='ls --color=auto' alias l='ls -l' diff --git a/.config/waybar/config b/.config/waybar/config @@ -0,0 +1,73 @@ +{ + "position": "top", // Waybar position (top|bottom|left|right) + // Choose the order of the modules + "modules-left": ["dwl/tags"], + "modules-center": ["dwl/window"], + "modules-right": ["mpris", "pulseaudio", "backlight", "battery", "clock", "tray"], + "tray": { + "icon-size": 18, + "spacing": 10 + }, + "dwl/window": { + "format": "{layout} {title}", + "rewrite": { + "><>(.*)": "[f]$1", + "(.*)&(.*)": "$1&amp;$2", + }, + }, + "mpris": { + "format": "{player_icon} {title}", + "format-paused": "{status_icon} {title}", + "player-icons": { + "default": "", + "chromium": " " + }, + "status-icons": { + "paused": "" + }, + "max-length": 50, + }, + "clock": { + "timezone": "America/Toronto", + "locale": "fr_CA.utf8", + "calendar": { + "format": { + "today": "<span color='#f38ba8'><b><u>{}</u></b></span>", + }, + }, + "actions": { + "on-click-middle": "shift_reset", + "on-scroll-up": "shift_down", + "on-scroll-down": "shift_up", + }, + "tooltip-format": "<tt><big>{calendar}</big></tt>", + "format-alt": " {:L%A, %m/%d/%Y}", + "format": " {:%H:%M}" + }, + "backlight": { + "device": "intel_backlight", + "format": "{icon}", + "format-icons": ["", "", "", "", "", "", "", "", ""] + }, + "battery": { + "states": { + "warning": 30, + "critical": 15 + }, + "format": "{icon}", + "format-charging": "", + "format-plugged": "", + "format-alt": "{icon}", + "format-icons": ["", "", "", "", "", "", "", "", "", "", "", ""] + }, + "pulseaudio": { + // "scroll-step": 1, // %, can be a float + "format": "{icon} {volume}%", + "format-muted": "󰟎", + "format-icons": { + "default": [""] + }, + "on-click": "pavucontrol", + "on-click-right": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle", + }, +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css @@ -0,0 +1,106 @@ +@import "themes/mocha.css"; + +* { + font-family: Terminus; +} + +window.DP-3 { + font-size: 14px; +} + +window.DP-2 { + font-size: 12px; +} + +#waybar { + background: transparent; + color: @text; + /* margin: 5px 5px; */ +} + +#tags { + border-radius: 1rem; + margin: 5px; + background-color: @surface0; + margin-left: 1rem; +} + +#tags button { + color: @lavender; + border-radius: 1rem; + padding: 0.4rem; +} + +#tags button.focused { + color: @sky; + background-color: @surface1; + border-radius: 1rem; +} + +#tags button:hover { + color: @sapphire; + border-radius: 1rem; +} + +#tags button:not(.occupied) { + color: @surface2; +} + +#window.horizontal.module, +#mpris, +#tray, +#backlight, +#clock, +#battery, +#pulseaudio { + background-color: @surface0; + padding: 0.5rem 0.5rem; + margin: 5px 0; +} + +#clock { + color: @blue; + border-radius: 0px 1rem 1rem 0px; + margin-right: 1rem; +} + +#battery { + color: @green; +} + +#battery.charging { + color: @green; +} + +#battery.warning:not(.charging) { + color: @red; +} + +#backlight { + color: @yellow; +} + +#backlight, #battery { + border-radius: 0; +} + +#pulseaudio { + color: @maroon; + border-radius: 1rem 0px 0px 1rem; + margin-left: 1rem; +} + +#mpris { + color: @peach; + border-radius: 1rem; +} + +#window.horizontal.module { + color: @mauve; + border-radius: 1rem; +} + +#tray { + margin-right: 1rem; + border-radius: 1rem; +} diff --git a/.config/waybar/themes/frappe.css b/.config/waybar/themes/frappe.css @@ -0,0 +1,26 @@ +@define-color rosewater #f2d5cf; +@define-color flamingo #eebebe; +@define-color pink #f4b8e4; +@define-color mauve #ca9ee6; +@define-color red #e78284; +@define-color maroon #ea999c; +@define-color peach #ef9f76; +@define-color yellow #e5c890; +@define-color green #a6d189; +@define-color teal #81c8be; +@define-color sky #99d1db; +@define-color sapphire #85c1dc; +@define-color blue #8caaee; +@define-color lavender #babbf1; +@define-color text #c6d0f5; +@define-color subtext1 #b5bfe2; +@define-color subtext0 #a5adce; +@define-color overlay2 #949cbb; +@define-color overlay1 #838ba7; +@define-color overlay0 #737994; +@define-color surface2 #626880; +@define-color surface1 #51576d; +@define-color surface0 #414559; +@define-color base #303446; +@define-color mantle #292c3c; +@define-color crust #232634; diff --git a/.config/waybar/themes/latte.css b/.config/waybar/themes/latte.css @@ -0,0 +1,26 @@ +@define-color rosewater #dc8a78; +@define-color flamingo #dd7878; +@define-color pink #ea76cb; +@define-color mauve #8839ef; +@define-color red #d20f39; +@define-color maroon #e64553; +@define-color peach #fe640b; +@define-color yellow #df8e1d; +@define-color green #40a02b; +@define-color teal #179299; +@define-color sky #04a5e5; +@define-color sapphire #209fb5; +@define-color blue #1e66f5; +@define-color lavender #7287fd; +@define-color text #4c4f69; +@define-color subtext1 #5c5f77; +@define-color subtext0 #6c6f85; +@define-color overlay2 #7c7f93; +@define-color overlay1 #8c8fa1; +@define-color overlay0 #9ca0b0; +@define-color surface2 #acb0be; +@define-color surface1 #bcc0cc; +@define-color surface0 #ccd0da; +@define-color base #eff1f5; +@define-color mantle #e6e9ef; +@define-color crust #dce0e8; diff --git a/.config/waybar/themes/macchiato.css b/.config/waybar/themes/macchiato.css @@ -0,0 +1,26 @@ +@define-color rosewater #f4dbd6; +@define-color flamingo #f0c6c6; +@define-color pink #f5bde6; +@define-color mauve #c6a0f6; +@define-color red #ed8796; +@define-color maroon #ee99a0; +@define-color peach #f5a97f; +@define-color yellow #eed49f; +@define-color green #a6da95; +@define-color teal #8bd5ca; +@define-color sky #91d7e3; +@define-color sapphire #7dc4e4; +@define-color blue #8aadf4; +@define-color lavender #b7bdf8; +@define-color text #cad3f5; +@define-color subtext1 #b8c0e0; +@define-color subtext0 #a5adcb; +@define-color overlay2 #939ab7; +@define-color overlay1 #8087a2; +@define-color overlay0 #6e738d; +@define-color surface2 #5b6078; +@define-color surface1 #494d64; +@define-color surface0 #363a4f; +@define-color base #24273a; +@define-color mantle #1e2030; +@define-color crust #181926; diff --git a/.config/waybar/themes/mocha.css b/.config/waybar/themes/mocha.css @@ -0,0 +1,26 @@ +@define-color rosewater #f5e0dc; +@define-color flamingo #f2cdcd; +@define-color pink #f5c2e7; +@define-color mauve #cba6f7; +@define-color red #f38ba8; +@define-color maroon #eba0ac; +@define-color peach #fab387; +@define-color yellow #f9e2af; +@define-color green #a6e3a1; +@define-color teal #94e2d5; +@define-color sky #89dceb; +@define-color sapphire #74c7ec; +@define-color blue #89b4fa; +@define-color lavender #b4befe; +@define-color text #cdd6f4; +@define-color subtext1 #bac2de; +@define-color subtext0 #a6adc8; +@define-color overlay2 #9399b2; +@define-color overlay1 #7f849c; +@define-color overlay0 #6c7086; +@define-color surface2 #585b70; +@define-color surface1 #45475a; +@define-color surface0 #313244; +@define-color base #1e1e2e; +@define-color mantle #181825; +@define-color crust #11111b; diff --git a/.config/wofi/assets/frappe.webp b/.config/wofi/assets/frappe.webp Binary files differ. diff --git a/.config/wofi/assets/latte.webp b/.config/wofi/assets/latte.webp Binary files differ. diff --git a/.config/wofi/assets/macchiato.webp b/.config/wofi/assets/macchiato.webp Binary files differ. diff --git a/.config/wofi/assets/mocha.webp b/.config/wofi/assets/mocha.webp Binary files differ. diff --git a/.config/wofi/assets/preview.webp b/.config/wofi/assets/preview.webp Binary files differ. diff --git a/.config/wofi/colors.css b/.config/wofi/colors.css @@ -0,0 +1,314 @@ +:root { + --ctp-latte-rosewater: #dc8a78; + --ctp-latte-rosewater-rgb: rgb(220, 138, 120); + --ctp-latte-rosewater-hsl: hsl(11, 59%, 67%); + --ctp-frappe-rosewater: #f2d5cf; + --ctp-frappe-rosewater-rgb: rgb(242, 213, 207); + --ctp-frappe-rosewater-hsl: hsl(10, 57%, 88%); + --ctp-macchiato-rosewater: #f4dbd6; + --ctp-macchiato-rosewater-rgb: rgb(244, 219, 214); + --ctp-macchiato-rosewater-hsl: hsl(10, 58%, 90%); + --ctp-mocha-rosewater: #f5e0dc; + --ctp-mocha-rosewater-rgb: rgb(245, 224, 220); + --ctp-mocha-rosewater-hsl: hsl(10, 56%, 91%); + --ctp-latte-flamingo: #dd7878; + --ctp-latte-flamingo-rgb: rgb(221, 120, 120); + --ctp-latte-flamingo-hsl: hsl(0, 60%, 67%); + --ctp-frappe-flamingo: #eebebe; + --ctp-frappe-flamingo-rgb: rgb(238, 190, 190); + --ctp-frappe-flamingo-hsl: hsl(0, 59%, 84%); + --ctp-macchiato-flamingo: #f0c6c6; + --ctp-macchiato-flamingo-rgb: rgb(240, 198, 198); + --ctp-macchiato-flamingo-hsl: hsl(0, 58%, 86%); + --ctp-mocha-flamingo: #f2cdcd; + --ctp-mocha-flamingo-rgb: rgb(242, 205, 205); + --ctp-mocha-flamingo-hsl: hsl(0, 59%, 88%); + --ctp-latte-pink: #ea76cb; + --ctp-latte-pink-rgb: rgb(234, 118, 203); + --ctp-latte-pink-hsl: hsl(316, 73%, 69%); + --ctp-frappe-pink: #f4b8e4; + --ctp-frappe-pink-rgb: rgb(244, 184, 228); + --ctp-frappe-pink-hsl: hsl(316, 73%, 84%); + --ctp-macchiato-pink: #f5bde6; + --ctp-macchiato-pink-rgb: rgb(245, 189, 230); + --ctp-macchiato-pink-hsl: hsl(316, 74%, 85%); + --ctp-mocha-pink: #f5c2e7; + --ctp-mocha-pink-rgb: rgb(245, 194, 231); + --ctp-mocha-pink-hsl: hsl(316, 72%, 86%); + --ctp-latte-mauve: #8839ef; + --ctp-latte-mauve-rgb: rgb(136, 57, 239); + --ctp-latte-mauve-hsl: hsl(266, 85%, 58%); + --ctp-frappe-mauve: #ca9ee6; + --ctp-frappe-mauve-rgb: rgb(202, 158, 230); + --ctp-frappe-mauve-hsl: hsl(277, 59%, 76%); + --ctp-macchiato-mauve: #c6a0f6; + --ctp-macchiato-mauve-rgb: rgb(198, 160, 246); + --ctp-macchiato-mauve-hsl: hsl(267, 83%, 80%); + --ctp-mocha-mauve: #cba6f7; + --ctp-mocha-mauve-rgb: rgb(203, 166, 247); + --ctp-mocha-mauve-hsl: hsl(267, 84%, 81%); + --ctp-latte-red: #d20f39; + --ctp-latte-red-rgb: rgb(210, 15, 57); + --ctp-latte-red-hsl: hsl(347, 87%, 44%); + --ctp-frappe-red: #e78284; + --ctp-frappe-red-rgb: rgb(231, 130, 132); + --ctp-frappe-red-hsl: hsl(359, 68%, 71%); + --ctp-macchiato-red: #ed8796; + --ctp-macchiato-red-rgb: rgb(237, 135, 150); + --ctp-macchiato-red-hsl: hsl(351, 74%, 73%); + --ctp-mocha-red: #f38ba8; + --ctp-mocha-red-rgb: rgb(243, 139, 168); + --ctp-mocha-red-hsl: hsl(343, 81%, 75%); + --ctp-latte-maroon: #e64553; + --ctp-latte-maroon-rgb: rgb(230, 69, 83); + --ctp-latte-maroon-hsl: hsl(355, 76%, 59%); + --ctp-frappe-maroon: #ea999c; + --ctp-frappe-maroon-rgb: rgb(234, 153, 156); + --ctp-frappe-maroon-hsl: hsl(358, 66%, 76%); + --ctp-macchiato-maroon: #ee99a0; + --ctp-macchiato-maroon-rgb: rgb(238, 153, 160); + --ctp-macchiato-maroon-hsl: hsl(355, 71%, 77%); + --ctp-mocha-maroon: #eba0ac; + --ctp-mocha-maroon-rgb: rgb(235, 160, 172); + --ctp-mocha-maroon-hsl: hsl(350, 65%, 77%); + --ctp-latte-peach: #fe640b; + --ctp-latte-peach-rgb: rgb(254, 100, 11); + --ctp-latte-peach-hsl: hsl(22, 99%, 52%); + --ctp-frappe-peach: #ef9f76; + --ctp-frappe-peach-rgb: rgb(239, 159, 118); + --ctp-frappe-peach-hsl: hsl(20, 79%, 70%); + --ctp-macchiato-peach: #f5a97f; + --ctp-macchiato-peach-rgb: rgb(245, 169, 127); + --ctp-macchiato-peach-hsl: hsl(21, 86%, 73%); + --ctp-mocha-peach: #fab387; + --ctp-mocha-peach-rgb: rgb(250, 179, 135); + --ctp-mocha-peach-hsl: hsl(23, 92%, 75%); + --ctp-latte-yellow: #df8e1d; + --ctp-latte-yellow-rgb: rgb(223, 142, 29); + --ctp-latte-yellow-hsl: hsl(35, 77%, 49%); + --ctp-frappe-yellow: #e5c890; + --ctp-frappe-yellow-rgb: rgb(229, 200, 144); + --ctp-frappe-yellow-hsl: hsl(40, 62%, 73%); + --ctp-macchiato-yellow: #eed49f; + --ctp-macchiato-yellow-rgb: rgb(238, 212, 159); + --ctp-macchiato-yellow-hsl: hsl(40, 70%, 78%); + --ctp-mocha-yellow: #f9e2af; + --ctp-mocha-yellow-rgb: rgb(249, 226, 175); + --ctp-mocha-yellow-hsl: hsl(41, 86%, 83%); + --ctp-latte-green: #40a02b; + --ctp-latte-green-rgb: rgb(64, 160, 43); + --ctp-latte-green-hsl: hsl(109, 58%, 40%); + --ctp-frappe-green: #a6d189; + --ctp-frappe-green-rgb: rgb(166, 209, 137); + --ctp-frappe-green-hsl: hsl(96, 44%, 68%); + --ctp-macchiato-green: #a6da95; + --ctp-macchiato-green-rgb: rgb(166, 218, 149); + --ctp-macchiato-green-hsl: hsl(105, 48%, 72%); + --ctp-mocha-green: #a6e3a1; + --ctp-mocha-green-rgb: rgb(166, 227, 161); + --ctp-mocha-green-hsl: hsl(115, 54%, 76%); + --ctp-latte-teal: #179299; + --ctp-latte-teal-rgb: rgb(23, 146, 153); + --ctp-latte-teal-hsl: hsl(183, 74%, 35%); + --ctp-frappe-teal: #81c8be; + --ctp-frappe-teal-rgb: rgb(129, 200, 190); + --ctp-frappe-teal-hsl: hsl(172, 39%, 65%); + --ctp-macchiato-teal: #8bd5ca; + --ctp-macchiato-teal-rgb: rgb(139, 213, 202); + --ctp-macchiato-teal-hsl: hsl(171, 47%, 69%); + --ctp-mocha-teal: #94e2d5; + --ctp-mocha-teal-rgb: rgb(148, 226, 213); + --ctp-mocha-teal-hsl: hsl(170, 57%, 73%); + --ctp-latte-sky: #04a5e5; + --ctp-latte-sky-rgb: rgb(4, 165, 229); + --ctp-latte-sky-hsl: hsl(197, 97%, 46%); + --ctp-frappe-sky: #99d1db; + --ctp-frappe-sky-rgb: rgb(153, 209, 219); + --ctp-frappe-sky-hsl: hsl(189, 48%, 73%); + --ctp-macchiato-sky: #91d7e3; + --ctp-macchiato-sky-rgb: rgb(145, 215, 227); + --ctp-macchiato-sky-hsl: hsl(189, 59%, 73%); + --ctp-mocha-sky: #89dceb; + --ctp-mocha-sky-rgb: rgb(137, 220, 235); + --ctp-mocha-sky-hsl: hsl(189, 71%, 73%); + --ctp-latte-sapphire: #209fb5; + --ctp-latte-sapphire-rgb: rgb(32, 159, 181); + --ctp-latte-sapphire-hsl: hsl(189, 70%, 42%); + --ctp-frappe-sapphire: #85c1dc; + --ctp-frappe-sapphire-rgb: rgb(133, 193, 220); + --ctp-frappe-sapphire-hsl: hsl(199, 55%, 69%); + --ctp-macchiato-sapphire: #7dc4e4; + --ctp-macchiato-sapphire-rgb: rgb(125, 196, 228); + --ctp-macchiato-sapphire-hsl: hsl(199, 66%, 69%); + --ctp-mocha-sapphire: #74c7ec; + --ctp-mocha-sapphire-rgb: rgb(116, 199, 236); + --ctp-mocha-sapphire-hsl: hsl(199, 76%, 69%); + --ctp-latte-blue: #1e66f5; + --ctp-latte-blue-rgb: rgb(30, 102, 245); + --ctp-latte-blue-hsl: hsl(220, 91%, 54%); + --ctp-frappe-blue: #8caaee; + --ctp-frappe-blue-rgb: rgb(140, 170, 238); + --ctp-frappe-blue-hsl: hsl(222, 74%, 74%); + --ctp-macchiato-blue: #8aadf4; + --ctp-macchiato-blue-rgb: rgb(138, 173, 244); + --ctp-macchiato-blue-hsl: hsl(220, 83%, 75%); + --ctp-mocha-blue: #89b4fa; + --ctp-mocha-blue-rgb: rgb(137, 180, 250); + --ctp-mocha-blue-hsl: hsl(217, 92%, 76%); + --ctp-latte-lavender: #7287fd; + --ctp-latte-lavender-rgb: rgb(114, 135, 253); + --ctp-latte-lavender-hsl: hsl(231, 97%, 72%); + --ctp-frappe-lavender: #babbf1; + --ctp-frappe-lavender-rgb: rgb(186, 187, 241); + --ctp-frappe-lavender-hsl: hsl(239, 66%, 84%); + --ctp-macchiato-lavender: #b7bdf8; + --ctp-macchiato-lavender-rgb: rgb(183, 189, 248); + --ctp-macchiato-lavender-hsl: hsl(234, 82%, 85%); + --ctp-mocha-lavender: #b4befe; + --ctp-mocha-lavender-rgb: rgb(180, 190, 254); + --ctp-mocha-lavender-hsl: hsl(232, 97%, 85%); + --ctp-latte-text: #4c4f69; + --ctp-latte-text-rgb: rgb(76, 79, 105); + --ctp-latte-text-hsl: hsl(234, 16%, 35%); + --ctp-frappe-text: #c6d0f5; + --ctp-frappe-text-rgb: rgb(198, 208, 245); + --ctp-frappe-text-hsl: hsl(227, 70%, 87%); + --ctp-macchiato-text: #cad3f5; + --ctp-macchiato-text-rgb: rgb(202, 211, 245); + --ctp-macchiato-text-hsl: hsl(227, 68%, 88%); + --ctp-mocha-text: #cdd6f4; + --ctp-mocha-text-rgb: rgb(205, 214, 244); + --ctp-mocha-text-hsl: hsl(226, 64%, 88%); + --ctp-latte-subtext1: #5c5f77; + --ctp-latte-subtext1-rgb: rgb(92, 95, 119); + --ctp-latte-subtext1-hsl: hsl(233, 13%, 41%); + --ctp-frappe-subtext1: #b5bfe2; + --ctp-frappe-subtext1-rgb: rgb(181, 191, 226); + --ctp-frappe-subtext1-hsl: hsl(227, 44%, 80%); + --ctp-macchiato-subtext1: #b8c0e0; + --ctp-macchiato-subtext1-rgb: rgb(184, 192, 224); + --ctp-macchiato-subtext1-hsl: hsl(228, 39%, 80%); + --ctp-mocha-subtext1: #bac2de; + --ctp-mocha-subtext1-rgb: rgb(186, 194, 222); + --ctp-mocha-subtext1-hsl: hsl(227, 35%, 80%); + --ctp-latte-subtext0: #6c6f85; + --ctp-latte-subtext0-rgb: rgb(108, 111, 133); + --ctp-latte-subtext0-hsl: hsl(233, 10%, 47%); + --ctp-frappe-subtext0: #a5adce; + --ctp-frappe-subtext0-rgb: rgb(165, 173, 206); + --ctp-frappe-subtext0-hsl: hsl(228, 29%, 73%); + --ctp-macchiato-subtext0: #a5adcb; + --ctp-macchiato-subtext0-rgb: rgb(165, 173, 203); + --ctp-macchiato-subtext0-hsl: hsl(227, 27%, 72%); + --ctp-mocha-subtext0: #a6adc8; + --ctp-mocha-subtext0-rgb: rgb(166, 173, 200); + --ctp-mocha-subtext0-hsl: hsl(228, 24%, 72%); + --ctp-latte-overlay2: #7c7f93; + --ctp-latte-overlay2-rgb: rgb(124, 127, 147); + --ctp-latte-overlay2-hsl: hsl(232, 10%, 53%); + --ctp-frappe-overlay2: #949cbb; + --ctp-frappe-overlay2-rgb: rgb(148, 156, 187); + --ctp-frappe-overlay2-hsl: hsl(228, 22%, 66%); + --ctp-macchiato-overlay2: #939ab7; + --ctp-macchiato-overlay2-rgb: rgb(147, 154, 183); + --ctp-macchiato-overlay2-hsl: hsl(228, 20%, 65%); + --ctp-mocha-overlay2: #9399b2; + --ctp-mocha-overlay2-rgb: rgb(147, 153, 178); + --ctp-mocha-overlay2-hsl: hsl(228, 17%, 64%); + --ctp-latte-overlay1: #8c8fa1; + --ctp-latte-overlay1-rgb: rgb(140, 143, 161); + --ctp-latte-overlay1-hsl: hsl(231, 10%, 59%); + --ctp-frappe-overlay1: #838ba7; + --ctp-frappe-overlay1-rgb: rgb(131, 139, 167); + --ctp-frappe-overlay1-hsl: hsl(227, 17%, 58%); + --ctp-macchiato-overlay1: #8087a2; + --ctp-macchiato-overlay1-rgb: rgb(128, 135, 162); + --ctp-macchiato-overlay1-hsl: hsl(228, 15%, 57%); + --ctp-mocha-overlay1: #7f849c; + --ctp-mocha-overlay1-rgb: rgb(127, 132, 156); + --ctp-mocha-overlay1-hsl: hsl(230, 13%, 55%); + --ctp-latte-overlay0: #9ca0b0; + --ctp-latte-overlay0-rgb: rgb(156, 160, 176); + --ctp-latte-overlay0-hsl: hsl(228, 11%, 65%); + --ctp-frappe-overlay0: #737994; + --ctp-frappe-overlay0-rgb: rgb(115, 121, 148); + --ctp-frappe-overlay0-hsl: hsl(229, 13%, 52%); + --ctp-macchiato-overlay0: #6e738d; + --ctp-macchiato-overlay0-rgb: rgb(110, 115, 141); + --ctp-macchiato-overlay0-hsl: hsl(230, 12%, 49%); + --ctp-mocha-overlay0: #6c7086; + --ctp-mocha-overlay0-rgb: rgb(108, 112, 134); + --ctp-mocha-overlay0-hsl: hsl(231, 11%, 47%); + --ctp-latte-surface2: #acb0be; + --ctp-latte-surface2-rgb: rgb(172, 176, 190); + --ctp-latte-surface2-hsl: hsl(227, 12%, 71%); + --ctp-frappe-surface2: #626880; + --ctp-frappe-surface2-rgb: rgb(98, 104, 128); + --ctp-frappe-surface2-hsl: hsl(228, 13%, 44%); + --ctp-macchiato-surface2: #5b6078; + --ctp-macchiato-surface2-rgb: rgb(91, 96, 120); + --ctp-macchiato-surface2-hsl: hsl(230, 14%, 41%); + --ctp-mocha-surface2: #585b70; + --ctp-mocha-surface2-rgb: rgb(88, 91, 112); + --ctp-mocha-surface2-hsl: hsl(233, 12%, 39%); + --ctp-latte-surface1: #bcc0cc; + --ctp-latte-surface1-rgb: rgb(188, 192, 204); + --ctp-latte-surface1-hsl: hsl(225, 14%, 77%); + --ctp-frappe-surface1: #51576d; + --ctp-frappe-surface1-rgb: rgb(81, 87, 109); + --ctp-frappe-surface1-hsl: hsl(227, 15%, 37%); + --ctp-macchiato-surface1: #494d64; + --ctp-macchiato-surface1-rgb: rgb(73, 77, 100); + --ctp-macchiato-surface1-hsl: hsl(231, 16%, 34%); + --ctp-mocha-surface1: #45475a; + --ctp-mocha-surface1-rgb: rgb(69, 71, 90); + --ctp-mocha-surface1-hsl: hsl(234, 13%, 31%); + --ctp-latte-surface0: #ccd0da; + --ctp-latte-surface0-rgb: rgb(204, 208, 218); + --ctp-latte-surface0-hsl: hsl(223, 16%, 83%); + --ctp-frappe-surface0: #414559; + --ctp-frappe-surface0-rgb: rgb(65, 69, 89); + --ctp-frappe-surface0-hsl: hsl(230, 16%, 30%); + --ctp-macchiato-surface0: #363a4f; + --ctp-macchiato-surface0-rgb: rgb(54, 58, 79); + --ctp-macchiato-surface0-hsl: hsl(230, 19%, 26%); + --ctp-mocha-surface0: #313244; + --ctp-mocha-surface0-rgb: rgb(49, 50, 68); + --ctp-mocha-surface0-hsl: hsl(237, 16%, 23%); + --ctp-latte-base: #eff1f5; + --ctp-latte-base-rgb: rgb(239, 241, 245); + --ctp-latte-base-hsl: hsl(220, 23%, 95%); + --ctp-frappe-base: #303446; + --ctp-frappe-base-rgb: rgb(48, 52, 70); + --ctp-frappe-base-hsl: hsl(229, 19%, 23%); + --ctp-macchiato-base: #24273a; + --ctp-macchiato-base-rgb: rgb(36, 39, 58); + --ctp-macchiato-base-hsl: hsl(232, 23%, 18%); + --ctp-mocha-base: #1e1e2e; + --ctp-mocha-base-rgb: rgb(30, 30, 46); + --ctp-mocha-base-hsl: hsl(240, 21%, 15%); + --ctp-latte-mantle: #e6e9ef; + --ctp-latte-mantle-rgb: rgb(230, 233, 239); + --ctp-latte-mantle-hsl: hsl(220, 22%, 92%); + --ctp-frappe-mantle: #292c3c; + --ctp-frappe-mantle-rgb: rgb(41, 44, 60); + --ctp-frappe-mantle-hsl: hsl(231, 19%, 20%); + --ctp-macchiato-mantle: #1e2030; + --ctp-macchiato-mantle-rgb: rgb(30, 32, 48); + --ctp-macchiato-mantle-hsl: hsl(233, 23%, 15%); + --ctp-mocha-mantle: #181825; + --ctp-mocha-mantle-rgb: rgb(24, 24, 37); + --ctp-mocha-mantle-hsl: hsl(240, 21%, 12%); + --ctp-latte-crust: #dce0e8; + --ctp-latte-crust-rgb: rgb(220, 224, 232); + --ctp-latte-crust-hsl: hsl(220, 21%, 89%); + --ctp-frappe-crust: #232634; + --ctp-frappe-crust-rgb: rgb(35, 38, 52); + --ctp-frappe-crust-hsl: hsl(229, 20%, 17%); + --ctp-macchiato-crust: #181926; + --ctp-macchiato-crust-rgb: rgb(24, 25, 38); + --ctp-macchiato-crust-hsl: hsl(236, 23%, 12%); + --ctp-mocha-crust: #11111b; + --ctp-mocha-crust-rgb: rgb(17, 17, 27); + --ctp-mocha-crust-hsl: hsl(240, 23%, 9%); +} diff --git a/.config/wofi/config/config b/.config/wofi/config/config @@ -0,0 +1,11 @@ +show=drun +width=750 +height=400 +always_parse_args=true +show_all=false +term=foot +hide_scroll=true +print_command=true +insensitive=true +prompt= +columns=2 diff --git a/.config/wofi/src/frappe/style.css b/.config/wofi/src/frappe/style.css @@ -0,0 +1,164 @@ +@define-color rosewater #f2d5cf; +@define-color rosewater-rgb rgb(242, 213, 207); +@define-color flamingo #eebebe; +@define-color flamingo-rgb rgb(238, 190, 190); +@define-color pink #f4b8e4; +@define-color pink-rgb rgb(244, 184, 228); +@define-color mauve #ca9ee6; +@define-color mauve-rgb rgb(202, 158, 230); +@define-color red #e78284; +@define-color red-rgb rgb(231, 130, 132); +@define-color maroon #ea999c; +@define-color maroon-rgb rgb(234, 153, 156); +@define-color peach #ef9f76; +@define-color peach-rgb rgb(239, 159, 118); +@define-color yellow #e5c890; +@define-color yellow-rgb rgb(229, 200, 144); +@define-color green #a6d189; +@define-color green-rgb rgb(166, 209, 137); +@define-color teal #81c8be; +@define-color teal-rgb rgb(129, 200, 190); +@define-color sky #99d1db; +@define-color sky-rgb rgb(153, 209, 219); +@define-color sapphire #85c1dc; +@define-color sapphire-rgb rgb(133, 193, 220); +@define-color blue #8caaee; +@define-color blue-rgb rgb(140, 170, 238); +@define-color lavender #babbf1; +@define-color lavender-rgb rgb(186, 187, 241); +@define-color text #c6d0f5; +@define-color text-rgb rgb(198, 208, 245); +@define-color subtext1 #b5bfe2; +@define-color subtext1-rgb rgb(181, 191, 226); +@define-color subtext0 #a5adce; +@define-color subtext0-rgb rgb(165, 173, 206); +@define-color overlay2 #949cbb; +@define-color overlay2-rgb rgb(148, 156, 187); +@define-color overlay1 #838ba7; +@define-color overlay1-rgb rgb(131, 139, 167); +@define-color overlay0 #737994; +@define-color overlay0-rgb rgb(115, 121, 148); +@define-color surface2 #626880; +@define-color surface2-rgb rgb(98, 104, 128); +@define-color surface1 #51576d; +@define-color surface1-rgb rgb(81, 87, 109); +@define-color surface0 #414559; +@define-color surface0-rgb rgb(65, 69, 89); +@define-color base #303446; +@define-color base-rgb rgb(48, 52, 70); +@define-color mantle #292c3c; +@define-color mantle-rgb rgb(41, 44, 60); +@define-color crust #232634; +@define-color crust-rgb rgb(35, 38, 52); + +* { + font-family: 'Inconsolata Nerd Font', monospace; + font-size: 14px; +} + +/* Window */ +window { + margin: 0px; + padding: 10px; + border: 0.16em solid @lavender; + border-radius: 0.1em; + background-color: @base; + animation: slideIn 0.5s ease-in-out both; +} + +/* Slide In */ +@keyframes slideIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Inner Box */ +#inner-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +/* Fade In */ +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Outer Box */ +#outer-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Scroll */ +#scroll { + margin: 0px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Input */ +#input { + margin: 5px 20px; + padding: 10px; + border: none; + border-radius: 0.1em; + color: @text; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +#input image { + border: none; + color: @red; +} + +#input * { + outline: 4px solid @red!important; +} + +/* Text */ +#text { + margin: 5px; + border: none; + color: @text; + animation: fadeIn 0.5s ease-in-out both; +} + +#entry { + background-color: @base; +} + +#entry arrow { + border: none; + color: @lavender; +} + +/* Selected Entry */ +#entry:selected { + border: 0.11em solid @lavender; +} + +#entry:selected #text { + color: @mauve; +} + +#entry:drop(active) { + background-color: @lavender!important; +} diff --git a/.config/wofi/src/latte/style.css b/.config/wofi/src/latte/style.css @@ -0,0 +1,164 @@ +@define-color rosewater #dc8a78; +@define-color rosewater-rgb rgb(220, 138, 120); +@define-color flamingo #dd7878; +@define-color flamingo-rgb rgb(221, 120, 120); +@define-color pink #ea76cb; +@define-color pink-rgb rgb(234, 118, 203); +@define-color mauve #8839ef; +@define-color mauve-rgb rgb(136, 57, 239); +@define-color red #d20f39; +@define-color red-rgb rgb(210, 15, 57); +@define-color maroon #e64553; +@define-color maroon-rgb rgb(230, 69, 83); +@define-color peach #fe640b; +@define-color peach-rgb rgb(254, 100, 11); +@define-color yellow #df8e1d; +@define-color yellow-rgb rgb(223, 142, 29); +@define-color green #40a02b; +@define-color green-rgb rgb(64, 160, 43); +@define-color teal #179299; +@define-color teal-rgb rgb(23, 146, 153); +@define-color sky #04a5e5; +@define-color sky-rgb rgb(4, 165, 229); +@define-color sapphire #209fb5; +@define-color sapphire-rgb rgb(32, 159, 181); +@define-color blue #1e66f5; +@define-color blue-rgb rgb(30, 102, 245); +@define-color lavender #7287fd; +@define-color lavender-rgb rgb(114, 135, 253); +@define-color text #4c4f69; +@define-color text-rgb rgb(76, 79, 105); +@define-color subtext1 #5c5f77; +@define-color subtext1-rgb rgb(92, 95, 119); +@define-color subtext0 #6c6f85; +@define-color subtext0-rgb rgb(108, 111, 133); +@define-color overlay2 #7c7f93; +@define-color overlay2-rgb rgb(124, 127, 147); +@define-color overlay1 #8c8fa1; +@define-color overlay1-rgb rgb(140, 143, 161); +@define-color overlay0 #9ca0b0; +@define-color overlay0-rgb rgb(156, 160, 176); +@define-color surface2 #acb0be; +@define-color surface2-rgb rgb(172, 176, 190); +@define-color surface1 #bcc0cc; +@define-color surface1-rgb rgb(188, 192, 204); +@define-color surface0 #ccd0da; +@define-color surface0-rgb rgb(204, 208, 218); +@define-color base #eff1f5; +@define-color base-rgb rgb(239, 241, 245); +@define-color mantle #e6e9ef; +@define-color mantle-rgb rgb(230, 233, 239); +@define-color crust #dce0e8; +@define-color crust-rgb rgb(220, 224, 232); + +* { + font-family: 'Inconsolata Nerd Font', monospace; + font-size: 14px; +} + +/* Window */ +window { + margin: 0px; + padding: 10px; + border: 0.16em solid @lavender; + border-radius: 0.1em; + background-color: @base; + animation: slideIn 0.5s ease-in-out both; +} + +/* Slide In */ +@keyframes slideIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Inner Box */ +#inner-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +/* Fade In */ +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Outer Box */ +#outer-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Scroll */ +#scroll { + margin: 0px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Input */ +#input { + margin: 5px 20px; + padding: 10px; + border: none; + border-radius: 0.1em; + color: @text; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +#input image { + border: none; + color: @red; +} + +#input * { + outline: 4px solid @red!important; +} + +/* Text */ +#text { + margin: 5px; + border: none; + color: @text; + animation: fadeIn 0.5s ease-in-out both; +} + +#entry { + background-color: @base; +} + +#entry arrow { + border: none; + color: @lavender; +} + +/* Selected Entry */ +#entry:selected { + border: 0.11em solid @lavender; +} + +#entry:selected #text { + color: @mauve; +} + +#entry:drop(active) { + background-color: @lavender!important; +} diff --git a/.config/wofi/src/macchiato/style.css b/.config/wofi/src/macchiato/style.css @@ -0,0 +1,164 @@ +@define-color rosewater #f4dbd6; +@define-color rosewater-rgb rgb(244, 219, 214); +@define-color flamingo #f0c6c6; +@define-color flamingo-rgb rgb(240, 198, 198); +@define-color pink #f5bde6; +@define-color pink-rgb rgb(245, 189, 230); +@define-color mauve #c6a0f6; +@define-color mauve-rgb rgb(198, 160, 246); +@define-color red #ed8796; +@define-color red-rgb rgb(237, 135, 150); +@define-color maroon #ee99a0; +@define-color maroon-rgb rgb(238, 153, 160); +@define-color peach #f5a97f; +@define-color peach-rgb rgb(245, 169, 127); +@define-color yellow #eed49f; +@define-color yellow-rgb rgb(238, 212, 159); +@define-color green #a6da95; +@define-color green-rgb rgb(166, 218, 149); +@define-color teal #8bd5ca; +@define-color teal-rgb rgb(139, 213, 202); +@define-color sky #91d7e3; +@define-color sky-rgb rgb(145, 215, 227); +@define-color sapphire #7dc4e4; +@define-color sapphire-rgb rgb(125, 196, 228); +@define-color blue #8aadf4; +@define-color blue-rgb rgb(138, 173, 244); +@define-color lavender #b7bdf8; +@define-color lavender-rgb rgb(183, 189, 248); +@define-color text #cad3f5; +@define-color text-rgb rgb(202, 211, 245); +@define-color subtext1 #b8c0e0; +@define-color subtext1-rgb rgb(184, 192, 224); +@define-color subtext0 #a5adcb; +@define-color subtext0-rgb rgb(165, 173, 203); +@define-color overlay2 #939ab7; +@define-color overlay2-rgb rgb(147, 154, 183); +@define-color overlay1 #8087a2; +@define-color overlay1-rgb rgb(128, 135, 162); +@define-color overlay0 #6e738d; +@define-color overlay0-rgb rgb(110, 115, 141); +@define-color surface2 #5b6078; +@define-color surface2-rgb rgb(91, 96, 120); +@define-color surface1 #494d64; +@define-color surface1-rgb rgb(73, 77, 100); +@define-color surface0 #363a4f; +@define-color surface0-rgb rgb(54, 58, 79); +@define-color base #24273a; +@define-color base-rgb rgb(36, 39, 58); +@define-color mantle #1e2030; +@define-color mantle-rgb rgb(30, 32, 48); +@define-color crust #181926; +@define-color crust-rgb rgb(24, 25, 38); + +* { + font-family: 'Inconsolata Nerd Font', monospace; + font-size: 14px; +} + +/* Window */ +window { + margin: 0px; + padding: 10px; + border: 0.16em solid @lavender; + border-radius: 0.1em; + background-color: @base; + animation: slideIn 0.5s ease-in-out both; +} + +/* Slide In */ +@keyframes slideIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Inner Box */ +#inner-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +/* Fade In */ +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Outer Box */ +#outer-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Scroll */ +#scroll { + margin: 0px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Input */ +#input { + margin: 5px 20px; + padding: 10px; + border: none; + border-radius: 0.1em; + color: @text; + background-color: @base; + animation: fadeIn 0.5s ease-in-out both; +} + +#input image { + border: none; + color: @red; +} + +#input * { + outline: 4px solid @red!important; +} + +/* Text */ +#text { + margin: 5px; + border: none; + color: @text; + animation: fadeIn 0.5s ease-in-out both; +} + +#entry { + background-color: @base; +} + +#entry arrow { + border: none; + color: @lavender; +} + +/* Selected Entry */ +#entry:selected { + border: 0.11em solid @lavender; +} + +#entry:selected #text { + color: @mauve; +} + +#entry:drop(active) { + background-color: @lavender!important; +} diff --git a/.config/wofi/src/mocha/style.css b/.config/wofi/src/mocha/style.css @@ -0,0 +1,164 @@ +@define-color rosewater #f5e0dc; +@define-color rosewater-rgb rgb(245, 224, 220); +@define-color flamingo #f2cdcd; +@define-color flamingo-rgb rgb(242, 205, 205); +@define-color pink #f5c2e7; +@define-color pink-rgb rgb(245, 194, 231); +@define-color mauve #cba6f7; +@define-color mauve-rgb rgb(203, 166, 247); +@define-color red #f38ba8; +@define-color red-rgb rgb(243, 139, 168); +@define-color maroon #eba0ac; +@define-color maroon-rgb rgb(235, 160, 172); +@define-color peach #fab387; +@define-color peach-rgb rgb(250, 179, 135); +@define-color yellow #f9e2af; +@define-color yellow-rgb rgb(249, 226, 175); +@define-color green #a6e3a1; +@define-color green-rgb rgb(166, 227, 161); +@define-color teal #94e2d5; +@define-color teal-rgb rgb(148, 226, 213); +@define-color sky #89dceb; +@define-color sky-rgb rgb(137, 220, 235); +@define-color sapphire #74c7ec; +@define-color sapphire-rgb rgb(116, 199, 236); +@define-color blue #89b4fa; +@define-color blue-rgb rgb(137, 180, 250); +@define-color lavender #b4befe; +@define-color lavender-rgb rgb(180, 190, 254); +@define-color text #cdd6f4; +@define-color text-rgb rgb(205, 214, 244); +@define-color subtext1 #bac2de; +@define-color subtext1-rgb rgb(186, 194, 222); +@define-color subtext0 #a6adc8; +@define-color subtext0-rgb rgb(166, 173, 200); +@define-color overlay2 #9399b2; +@define-color overlay2-rgb rgb(147, 153, 178); +@define-color overlay1 #7f849c; +@define-color overlay1-rgb rgb(127, 132, 156); +@define-color overlay0 #6c7086; +@define-color overlay0-rgb rgb(108, 112, 134); +@define-color surface2 #585b70; +@define-color surface2-rgb rgb(88, 91, 112); +@define-color surface1 #45475a; +@define-color surface1-rgb rgb(69, 71, 90); +@define-color surface0 #313244; +@define-color surface0-rgb rgb(49, 50, 68); +@define-color base #1e1e2e; +@define-color base-rgb rgb(30, 30, 46); +@define-color mantle #181825; +@define-color mantle-rgb rgb(24, 24, 37); +@define-color crust #11111b; +@define-color crust-rgb rgb(17, 17, 27); + +* { + font-family: 'Inconsolata Nerd Font', monospace; + font-size: 14px; +} + +/* Window */ +window { + margin: 0px; + padding: 10px; + border: 0.16em solid @lavender; + border-radius: 0.1em; + background-color: @base; + animation: slideIn 0.25s ease-in-out both; +} + +/* Slide In */ +@keyframes slideIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Inner Box */ +#inner-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; + animation: fadeIn 0.25s ease-in-out both; +} + +/* Fade In */ +@keyframes fadeIn { + 0% { + opacity: 0; + } + + 100% { + opacity: 1; + } +} + +/* Outer Box */ +#outer-box { + margin: 5px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Scroll */ +#scroll { + margin: 0px; + padding: 10px; + border: none; + background-color: @base; +} + +/* Input */ +#input { + margin: 5px 20px; + padding: 10px; + border: none; + border-radius: 0.1em; + color: @text; + background-color: @base; + animation: fadeIn 0.25s ease-in-out both; +} + +#input image { + border: none; + color: @red; +} + +#input * { + outline: 4px solid @red!important; +} + +/* Text */ +#text { + margin: 5px; + border: none; + color: @text; + animation: fadeIn 0.25s ease-in-out both; +} + +#entry { + background-color: @base; +} + +#entry arrow { + border: none; + color: @lavender; +} + +/* Selected Entry */ +#entry:selected { + border: 0.11em solid @lavender; +} + +#entry:selected #text { + color: @mauve; +} + +#entry:drop(active) { + background-color: @lavender!important; +} diff --git a/.zprofile b/.zprofile @@ -30,4 +30,4 @@ export PATH=$CARGO_HOME/bin:$HOME/.local/bin:$HOME/scripts:$PATH export XDG_CURRENT_DESKTOP=wlroots -[ $(tty) = "/dev/tty1" ] && [ -z $DISPLAY ] && dbus-run-session dwl -s dwlb +[ $(tty) = "/dev/tty1" ] && [ -z $DISPLAY ] && dbus-run-session dwl diff --git a/deploy b/deploy @@ -16,7 +16,7 @@ if [ $(echo "$1" | cut -c1-1) = "l" ]; then FOOT_FONT="Iosevka Nerd Font:size=14" elif [ $(echo "$1" | cut -c1-1) = "d" ]; then hardware="desktop" - FOOT_FONT="Iosevka Nerd Font:pixelsize=18" + FOOT_FONT="Terminus:pixelsize=18" else echo $USAGE exit diff --git a/device-specific/desktop/dwl-hardware.h b/device-specific/desktop/dwl-hardware.h @@ -10,16 +10,17 @@ /* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */ static const MonitorRule monrules[] = { /* name mfact nmaster scale layout rotate/reflect x y resx resy rate mode adaptive */ + { "DP-3", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0, 0, 0, 0.0f, 1, 0}, + { "DP-2", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0.0f, 1, 0}, { "NULL", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 0, 0, 0.0f, 0, 0}, - { "DP-2", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 1920, 0, 1920, 1080, 144.0f, 2, 1}, - { "DP-3", 0.50f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, 0, 0, 1920, 1080, 144.0f, 1, 0}, }; /* Autostart */ static const char *const autostart[] = { "wbg", "/home/jake/Pictures/wallpaper", NULL, - "sh", "-c", "gentoo-pipewire-launcher", NULL, - "dwmblocks", "-b", NULL, + "gentoo-pipewire-launcher", "restart", NULL, + "waybar", NULL, + /* "dwmblocks", "-b", NULL, */ NULL /* terminate */ }; diff --git a/device-specific/desktop/emacs.el b/device-specific/desktop/emacs.el @@ -1,10 +1,10 @@ -(setq default-frame-alist '((font . "Iosevka:pixelsize=18"))) -;; (setq default-frame-alist '((font . "Liberation Mono-12"))) +; (setq default-frame-alist '((font . "Iosevka:pixelsize=18"))) +(setq default-frame-alist '((font . "Terminus:pixelsize=18"))) ;; (split-window-horizontally) ;; (toggle-frame-maximized) (set-default 'truncate-lines t) ;; (list-colors-display) for a color picker -;; (load-theme 'gruber-darker t) -(update-theme) +(load-theme 'catppuccin t) +;; (update-theme) (transparency 90) diff --git a/dwl/config.h b/dwl/config.h @@ -6,7 +6,7 @@ /* appearance */ static const int sloppyfocus = 1; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ -static int gaps = 0; /* 1 means gaps between windows are added */ +static int gaps = 1; /* 1 means gaps between windows are added */ static const unsigned int gappx = 10; /* gap pixel between windows */ static const unsigned int borderpx = 2; /* border pixel of windows */ static const float rootcolor[] = COLOR(0x222222ff); @@ -39,13 +39,12 @@ enum LayoutFunction { lcenteredmaster = 3, }; - static const Layout layouts[] = { - /* symbol arrange function */ - [ltile] = { "[]=", tile }, - [lfloat] = { "><>", NULL }, /* no layout function means floating behavior */ - [lmonocle] = { "[M]", monocle }, - [lcenteredmaster] = { "|M|", centeredmaster }, + /* symbol arrange function */ + [ltile] = { "[]=", tile }, + [lfloat] = { "><>", NULL }, /* no layout function means floating behavior */ + [lmonocle] = { "[M]", monocle }, + [lcenteredmaster] = { "|M|", centeredmaster }, }; #define MODKEY WLR_MODIFIER_LOGO @@ -87,10 +86,12 @@ static const char *volmutecmd[] = { "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK static const char *voldowncmd[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "2%-", NULL }; static const char *volupcmd[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "2%+", NULL }; +#define WOFICMD SHCMD("wofi --conf ~/.config/wofi/config/config --style ~/.config/wofi/src/mocha/style.css") static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* modifier key function argument */ { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_P, spawn, WOFICMD }, { MODKEY, XKB_KEY_Return, spawn, {.v = termcmd} }, { MODKEY, XKB_KEY_F1, spawn, {.v = pavucmd} }, { MODKEY, XKB_KEY_slash, spawn, {.v = bookmarkscmd} }, diff --git a/dwl/dwl.c b/dwl/dwl.c @@ -536,6 +536,12 @@ applyrules(Client *c) newtags = p->tags; } } + + if (mon) { + c->geom.x = (mon->w.width - c->geom.width) / 2 + mon->m.x; + c->geom.y = (mon->w.height - c->geom.height) / 2 + mon->m.y; + } + setmon(c, mon, newtags); } @@ -2053,6 +2059,10 @@ mapnotify(struct wl_listener *listener, void *data) * try to apply rules for them */ if ((p = client_get_parent(c))) { c->isfloating = 1; + if (p->mon) { + c->geom.x = (p->mon->w.width - c->geom.width) / 2 + p->mon->m.x; + c->geom.y = (p->mon->w.height - c->geom.height) / 2 + p->mon->m.y; + } setmon(c, p->mon, p->tags); } else { applyrules(c); diff --git a/scripts/nightlight.sh b/scripts/nightlight.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if ! pgrep wlsunset; then + wlsunset -t 3000 -T 3500 2> /dev/null & +else + pkill wlsunset +fi diff --git a/shared-configs/foot/template.ini b/shared-configs/foot/template.ini @@ -1,7 +1,7 @@ # -*- conf -*- # shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) -# term=foot (or xterm-256color if built with -Dterminfo=disabled) +term=xterm-256color # login-shell=no # app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode @@ -74,8 +74,9 @@ font={FOOT_FONT} [touch] # long-press-delay=400 +# Standard [colors] -alpha=1.0 +alpha=0.9 # background=242424 # foreground=ffffff # flash=7f7f00 @@ -101,6 +102,10 @@ alpha=1.0 # bright6=24dfc4 # bright cyan # bright7=ffffff # bright white +# -- + + +# Gruber Darker [colors] background=181818 foreground=e4e4e4 @@ -123,6 +128,42 @@ bright5=AD7FA8 # bright magenta bright6=fcaf3e # bright cyan bright7=EEEEEC # bright white +# -- + +# Catppuccin Mocha +[colors] +foreground=cdd6f4 +background=1e1e2e + +regular0=45475a +regular1=f38ba8 +regular2=a6e3a1 +regular3=f9e2af +regular4=89b4fa +regular5=f5c2e7 +regular6=94e2d5 +regular7=bac2de + +bright0=585b70 +bright1=f38ba8 +bright2=a6e3a1 +bright3=f9e2af +bright4=89b4fa +bright5=f5c2e7 +bright6=94e2d5 +bright7=a6adc8 + +selection-foreground=cdd6f4 +selection-background=414356 + +search-box-no-match=11111b f38ba8 +search-box-match=cdd6f4 313244 + +jump-labels=11111b fab387 +urls=89b4fa + +# -- + ## dimmed colors (see foot.ini(5) man page) # dim0=<not set> # ...