Minor tweak

lightmode
E. Almqvist 2 years ago
parent e5e05e96e8
commit d55e0d5ab6
  1. 2
      doomemacs/.doom.d/config.el
  2. 2
      doomemacs/.doom.d/custom.el
  3. 24
      eww/.config/eww/eww.scss
  4. 3
      eww/.config/eww/eww.yuck

@ -78,3 +78,5 @@
;; Indentation ;; Indentation
;; (setq-default tab-width 4) ;; (setq-default tab-width 4)
;; (setq-default indent-tabs-mode t) ;; (setq-default indent-tabs-mode t)
;; (elcord-mode)

@ -3,7 +3,7 @@
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(elcord))) '(package-selected-packages '(quelpa elcord)))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.

@ -33,7 +33,8 @@ $anim-transition: 150ms;
} }
tooltip { tooltip {
background-color: $red; color: $fg-alt-color;
background-color: $bg-alt-color;
} }
.bar-1, .bar-2 { .bar-1, .bar-2 {
@ -53,28 +54,29 @@ button {
} }
// Workspaces // Workspaces
.ws-active {
font-weight: bold;
color: $blue;
}
.ws-inactive { opacity: 0.2; }
.workspaces { .workspaces {
// background-color: $bg-alt-color; // background-color: $bg-alt-color;
// transition-property: all; // padding: .3rem;
// transition-duration: 1s; // border: solid 1px $black;
// border-radius: $font-size;
} }
button.ws { .workspaces > button {
font-size: $font-size; font-size: $font-size;
margin: 4px; margin: 4px;
} }
button.ws:hover { .workspaces > button:hover {
color: $fg-accent; color: $fg-accent;
opacity: 0.8; opacity: 0.8;
} }
button.active {
font-weight: bold;
color: $blue;
}
button.inactive { opacity: 0.2; }
// Generic stuff // Generic stuff
scale trough { scale trough {
all: unset; all: unset;

@ -160,6 +160,7 @@
) )
(button :onclick "amixer -D pulse set Master 1+ toggle" (button :onclick "amixer -D pulse set Master 1+ toggle"
:class "icon volume + ${muted-volume != 'on' ? 'red' : ''}" :class "icon volume + ${muted-volume != 'on' ? 'red' : ''}"
:tooltip "Volume: ${current-volume}%"
{muted-volume != "on" ? "ﱝ" : "墳"} {muted-volume != "on" ? "ﱝ" : "墳"}
) )
))) )))
@ -198,7 +199,7 @@
;; Workspace widget ;; Workspace widget
(defwidget workspace [data] (defwidget workspace [data]
(button :onclick "wmctrl -s ${data['index']}" (button :onclick "wmctrl -s ${data['index']}"
:class {data["iscurrent"] == true ? "ws ws-active" : "ws ws-inactive"} :class {data["iscurrent"] == true ? "active" : "inactive"}
"${data['name']}" "${data['name']}"
)) ))
(deflisten workspaces-data "scripts/workspace.py") (deflisten workspaces-data "scripts/workspace.py")

Loading…
Cancel
Save