From 9bb3bceeda5bd9c9b9f6f2220456d40d69423b02 Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 7 Jul 2022 06:12:33 -0500 Subject: [PATCH] changes for plasma wayland and firefox css --- README.org | 4 ---- firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css | 4 ++++ mpv/mpv.conf | 2 +- scripts/cpu-plasma.2s.sh | 2 +- scripts/mem-plasma.2s.sh | 5 +++-- scripts/muunread-plasma.2s.sh | 5 +++-- system/syl/configuration.nix | 4 ---- 7 files changed, 12 insertions(+), 14 deletions(-) diff --git a/README.org b/README.org index e6aeaa1..b04b51f 100644 --- a/README.org +++ b/README.org @@ -474,10 +474,6 @@ Notice how I am including all of my software here. It may be a big file, but hav hardware.acpilight.enable = lib.mkDefault true; - services.udev.extraRules = '' - SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on" - ''; - networking.hostName = "syl"; # Define your hostname. networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css b/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css index c62f7b2..ce97a0e 100644 --- a/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css +++ b/firefox/chrome/chrome/navbar_tabs_oneliner_tabs_on_left.css @@ -102,6 +102,10 @@ the close button is positioned to the far right */ max-height: 10px !important; } +.tab-background[selected]:-moz-lwtheme { + outline: none !important; +} + .tab-loading-burst { max-height: 20px !important; } diff --git a/mpv/mpv.conf b/mpv/mpv.conf index cab1765..37cd14d 100644 --- a/mpv/mpv.conf +++ b/mpv/mpv.conf @@ -8,7 +8,7 @@ geometry=90%:90% hwdec=auto rtsp-transport=udp speed=1.95 -# gpu-context=wayland +gpu-context=wayland # ytdl-path=yt-dlp ytdl-format=bestvideo[height<=?720][fps<=?30]+bestaudio/best diff --git a/scripts/cpu-plasma.2s.sh b/scripts/cpu-plasma.2s.sh index 22fc265..cf201e1 100755 --- a/scripts/cpu-plasma.2s.sh +++ b/scripts/cpu-plasma.2s.sh @@ -4,5 +4,5 @@ # echo 100 - $(mpstat | rg all | cut -d \ -f43) | bc cpu="$(mpstat 1 1 | rg Average | awk '{print $3+$4+$5}' | sed 's/\(.*\)/\1%/g')" -echo " $cpu | font='VictorMono Nerd Font' color=#ff9f43 size=11" +echo " $cpu" # echo " $cpu | color=#D75F00 font='VictorMono Nerd Font' size=11" diff --git a/scripts/mem-plasma.2s.sh b/scripts/mem-plasma.2s.sh index dee648f..20b9ffe 100755 --- a/scripts/mem-plasma.2s.sh +++ b/scripts/mem-plasma.2s.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Get the percentage of used memory and print it read used total <<< $(free -m | awk '/Mem/{printf $2" "$3}') @@ -7,5 +7,6 @@ percent=$(bc -l <<< "100 * $total / $used") mem=$(awk -v u=$used -v t=$total -v p=$percent 'BEGIN {printf "%sMi/%sMi %.1f% ", t, u, p}'| awk '{printf $2}') -echo " $mem | color=#9aedfe font='VictorMono Nerd Font' size=11" +echo " $mem" +# echo " $mem | color=#9aedfe font='VictorMono Nerd Font' size=11" # echo " $mem | color=#007687 font='VictorMono Nerd Font' size=11" diff --git a/scripts/muunread-plasma.2s.sh b/scripts/muunread-plasma.2s.sh index 981a3f9..16a4826 100755 --- a/scripts/muunread-plasma.2s.sh +++ b/scripts/muunread-plasma.2s.sh @@ -1,5 +1,6 @@ -#!/bin/sh +#!/usr/bin/env sh muunread="$(mu find flag:unread AND NOT flag:trashed AND NOT maildir:\"/outlook/Junk\" AND NOT maildir:\"/office/Junk Email\" AND NOT maildir:\"/outlook/Deleted\" AND NOT maildir:\"/office/Deleted Items\" | wc -l)" -echo " $muunread | color=#f3f99d font='VictorMono Nerd Font' size=11" +echo " $muunread" +# echo " $muunread | color=#f3f99d font='VictorMono Nerd Font' size=11" # echo " $muunread | color=#AF8700 font='VictorMono Nerd Font' size=11" diff --git a/system/syl/configuration.nix b/system/syl/configuration.nix index 0779f04..965f79e 100644 --- a/system/syl/configuration.nix +++ b/system/syl/configuration.nix @@ -24,10 +24,6 @@ hardware.acpilight.enable = lib.mkDefault true; - services.udev.extraRules = '' - SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on" - ''; - networking.hostName = "syl"; # Define your hostname. networking.networkmanager.enable = true; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.