소스 검색

fix padding in eww widget

siduck 3 년 전
부모
커밋
bc84c95544
4개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 1
      eww/eww.scss
  2. 1 2
      eww/scss/header/fetch.scss
  3. 1 1
      eww/src/focal/audioSliders.yuck
  4. 1 2
      eww/src/header/fetch.yuck

+ 1 - 1
eww/eww.scss

@@ -1,4 +1,4 @@
-@import "scss/themes/catppuccin.scss";
+@import "scss/themes/onedark.scss";
 
 // header
 @import "scss/header/statusBtns.scss";

+ 1 - 2
eww/scss/header/fetch.scss

@@ -1,6 +1,5 @@
 .fetchContent {
-  padding: 2rem;
-  padding-left: 0;
+  padding: 2rem 0;
   font-family: 'JetBrainsMono Nerd Font';
   color: $white;
   border-right: 2px solid $grey;

+ 1 - 1
eww/src/focal/audioSliders.yuck

@@ -42,6 +42,6 @@
       :class 'battery'
       )
     ; package count
-    (label :text ' ${pkgs} pkgs' :class 'pkgs')
+    (label :text ' ${pkgs} pkgs' :class 'pkgs')
   )
  ))

+ 1 - 2
eww/src/header/fetch.yuck

@@ -8,9 +8,8 @@
     (txt :label 'sh')
 ))
 
-; dummy details for now!
 (defwidget details[]
-  (box :class 'fetchDetails' :orientation 'v'
+  (box :orientation 'v'
   (txt :label  os)
   (txt :label  wm)
   (txt :label  shell)