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
;; (setq-default tab-width 4)
;; (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.
;; Your init file should contain only one such instance.
;; 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 was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

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

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

Loading…
Cancel
Save