aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Sangdahl <[email protected]>2023-09-07 16:37:31 -0600
committerJack Sangdahl <[email protected]>2023-09-07 16:37:31 -0600
commit9d424e01f5b26810041a07c622722921006c903c (patch)
treec109ddec12127d1de4198c327638167723e51c46
parent54db70cfe0505034f238100fbfe7cccc307e447a (diff)
downloaddots-9d424e01f5b26810041a07c622722921006c903c.tar.gz
dots-9d424e01f5b26810041a07c622722921006c903c.zip
fix microcode & clean up wofi
-rw-r--r--.config/kernel.config30
-rwxr-xr-x.config/scripts/bemenu.sh20
-rwxr-xr-x.config/scripts/math_hw.sh6
-rw-r--r--.config/waybar/config6
-rw-r--r--.config/waybar/style.css6
-rw-r--r--.config/wofi/config2
-rw-r--r--.config/wofi/style.css70
7 files changed, 44 insertions, 96 deletions
diff --git a/.config/kernel.config b/.config/kernel.config
index d2c47355..d1ef3265 100644
--- a/.config/kernel.config
+++ b/.config/kernel.config
@@ -1362,7 +1362,8 @@ CONFIG_PREVENT_FIRMWARE_BUILD=y
# Firmware loader
#
CONFIG_FW_LOADER=y
-CONFIG_EXTRA_FIRMWARE=""
+CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09"
+CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
# CONFIG_FW_LOADER_USER_HELPER is not set
CONFIG_FW_LOADER_COMPRESS=y
# CONFIG_FW_LOADER_COMPRESS_XZ is not set
@@ -1919,16 +1920,7 @@ CONFIG_INPUT_UINPUT=y
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
-CONFIG_RMI4_CORE=y
-CONFIG_RMI4_I2C=y
-CONFIG_RMI4_SMB=y
-# CONFIG_RMI4_F03 is not set
-# CONFIG_RMI4_F11 is not set
-# CONFIG_RMI4_F12 is not set
-# CONFIG_RMI4_F30 is not set
-# CONFIG_RMI4_F34 is not set
-# CONFIG_RMI4_F3A is not set
-# CONFIG_RMI4_F55 is not set
+# CONFIG_RMI4_CORE is not set
#
# Hardware I/O ports
@@ -2777,6 +2769,7 @@ CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_HWDEP=y
+CONFIG_SND_RAWMIDI=y
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set
@@ -2896,7 +2889,20 @@ CONFIG_SND_HDA_PREALLOC_SIZE=0
CONFIG_SND_INTEL_NHLT=y
CONFIG_SND_INTEL_DSP_CONFIG=y
CONFIG_SND_INTEL_SOUNDWIRE_ACPI=y
-# CONFIG_SND_USB is not set
+CONFIG_SND_USB=y
+CONFIG_SND_USB_AUDIO=y
+# CONFIG_SND_USB_AUDIO_MIDI_V2 is not set
+# CONFIG_SND_USB_UA101 is not set
+# CONFIG_SND_USB_USX2Y is not set
+# CONFIG_SND_USB_CAIAQ is not set
+# CONFIG_SND_USB_US122L is not set
+# CONFIG_SND_USB_6FIRE is not set
+# CONFIG_SND_USB_HIFACE is not set
+# CONFIG_SND_BCD2000 is not set
+# CONFIG_SND_USB_POD is not set
+# CONFIG_SND_USB_PODHD is not set
+# CONFIG_SND_USB_TONEPORT is not set
+# CONFIG_SND_USB_VARIAX is not set
# CONFIG_SND_SOC is not set
# CONFIG_SND_X86 is not set
CONFIG_HID_SUPPORT=y
diff --git a/.config/scripts/bemenu.sh b/.config/scripts/bemenu.sh
deleted file mode 100755
index 4bfd86aa..00000000
--- a/.config/scripts/bemenu.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-black="#302D41"
-sky="#89DCEB"
-mauve="#DDB6F2"
-peach="#F8BD96"
-green="#ABE9B3"
-
-bemenu-run \
- --prefix '' \
- --prompt 'search  ' \
- --list 3 \
- --fn 'mononoki Nerd Font' \
- --tb $black \
- --tf $sky \
- --fb $black \
- --ff $mauve \
- --nb $black \
- --nf $peach \
- --hb $black \
- --hf $green
diff --git a/.config/scripts/math_hw.sh b/.config/scripts/math_hw.sh
new file mode 100755
index 00000000..109389a7
--- /dev/null
+++ b/.config/scripts/math_hw.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+ASSIGNMENT_FILE=~/Documents/math2300/latex/hw$1.tex
+DATE=$(date +%F)
+cp ~/.local/share/latex_template/math_hw.tex $ASSIGNMENT_FILE
+sed -i "s/DATE/${DATE}/g" $ASSIGNMENT_FILE
+sed -i "s/ASSIGNMENT_NUMBER/${1}/g" $ASSIGNMENT_FILE
diff --git a/.config/waybar/config b/.config/waybar/config
index 21f3ae66..3547a010 100644
--- a/.config/waybar/config
+++ b/.config/waybar/config
@@ -51,10 +51,10 @@
"interval": 60,
"exec": "~/.config/scripts/date.sh"
},
- "custom/weather": {
- "format": "{}°",
+ "custom/weather": { // https://github.com/bjesus/wttrbar
+ "format": "{}°C",
"tooltip": true,
- "interval": 3600,
+ "interval": 1800,
"exec": "wttrbar --hide-conditions",
"return-type": "json"
},
diff --git a/.config/waybar/style.css b/.config/waybar/style.css
index 989ee905..fcedaef5 100644
--- a/.config/waybar/style.css
+++ b/.config/waybar/style.css
@@ -12,7 +12,7 @@ window#waybar {
}
tooltip {
- background: #1e1e2e;
+ background: @base;
border-radius: 15px;
border-width: 2px;
border-style: solid;
@@ -34,7 +34,7 @@ tooltip {
#clock, #custom-date, #custom-weather, #memory, #battery, #custom-wifi,
#pulseaudio, #workspaces, #temperature {
- padding: 2px 7px;
+ padding: 2px 6px;
background: @surface0;
margin-top: 5px;
}
@@ -56,9 +56,9 @@ tooltip {
}
#clock {
- margin-left: 5px;
color: @sapphire;
padding-left: 12px;
+ margin-left: 5px;
border-radius: 15px 0px 0px 15px;
}
diff --git a/.config/wofi/config b/.config/wofi/config
index fcf58d66..d700dadf 100644
--- a/.config/wofi/config
+++ b/.config/wofi/config
@@ -1,5 +1,5 @@
show=run
width=450
-height=215
+height=250
prompt=search...
content_halign=center
diff --git a/.config/wofi/style.css b/.config/wofi/style.css
index 6b2bbd53..97e5ac13 100644
--- a/.config/wofi/style.css
+++ b/.config/wofi/style.css
@@ -1,73 +1,29 @@
-@import url("../colours.css");
-
#window {
- margin: 0px;
- border: 2px solid @sapphire;
- border-radius: 7px;
- background-color: @base;
- font-family: "mononoki Nerd Font Mono";
+ border: 3px solid #89dceb;
+ border-radius: 8px;
font-size: 14px;
- background: rgb(30,30,46);
- background: linear-gradient(90deg, rgba(30,30,46,1) 26%, rgba(26,24,38,1) 55%, rgba(22,19,32,1) 91%);
+ background: linear-gradient(90deg, rgba(30,30,46,1) 25%, rgba(26,24,38,1) 50%, rgba(22,19,32,1) 75%);
}
#input {
margin: 15px;
- border: 2px solid @flamingo;
- border-radius: 10px;
- color: @lavender;
- background: rgb(30,30,46);
- background: linear-gradient(90deg, rgba(30,30,46,1) 43%, rgba(26,24,38,1) 82%, rgba(22,19,32,1) 91%);
-}
-
-#input:focus {
- background: rgb(48,45,65);
- background: linear-gradient(90deg, rgba(48,45,65,1) 19%, rgba(30,30,46,1) 77%, rgba(26,24,38,1) 100%);
-}
-
-#input:focus image {
- color: @flamingo;
+ border: 3px solid #f2cdcd;
+ border-radius: 8px;
+ background: linear-gradient(90deg, rgba(30,30,46,1) 25%, rgba(26,24,38,1) 50%, rgba(22,19,32,1) 75%);
}
-#input image {
- color: @lavender;
+#entry:selected {
+ border-radius: 8px;
+ background: linear-gradient(90deg, rgba(201,203,255,1) 25%, rgba(245,224,220,1) 50%, rgba(242,205,205,1) 75%);
}
#inner-box {
margin: 5px;
- border: none;
padding-left: 10px;
padding-right: 10px;
- border-radius: 7px;
- background-color: inherit;
-}
-
-#outer-box {
- margin: 5px;
- border: none;
- background-color: inherit;
- border-radius: 7px;
+ border-radius: 8px;
}
-#scroll {
- margin: 0px;
- border: none;
-}
-
-#text {
- margin: 5px;
- border: none;
- color: @text;
-}
-
-#entry:selected {
- border-radius: 10px;
- background: rgb(201,203,255);
- background: linear-gradient(90deg, rgba(201,203,255,1) 28%, rgba(245,224,220,1) 85%, rgba(242,205,205,1) 100%);
-}
-
-#text:selected {
- background-color: inherit;
- color: @text;
- font-weight: normal;
-}
+#outer-box { margin: 5px; }
+#text { margin: 5px; }
+#text:selected { color: #1e1e2e; }