Compare commits
3 commits
94bf6038b8
...
5b7f87e295
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b7f87e295 | ||
|
|
321c8af6d4 | ||
|
|
1686fc8c36 |
17 changed files with 79 additions and 46 deletions
|
|
@ -21,8 +21,8 @@
|
|||
(powermenu)
|
||||
(profile)
|
||||
(workspaces :array {jq(sway_info,'.workspace_info','r')})
|
||||
(scratchpad)
|
||||
(windowtitle)))
|
||||
(windowtitle)
|
||||
(scratchpad)))
|
||||
|
||||
;(deflisten scratchpadArray :initial "${[1]}"
|
||||
; 'scripts/bar/scratchpad')
|
||||
|
|
@ -64,7 +64,8 @@
|
|||
(sysdisk)
|
||||
(sysmem)
|
||||
(clock)
|
||||
(tray)))
|
||||
(tray)
|
||||
(notification_center)))
|
||||
|
||||
(include "variables/bar/profile-info.yuck")
|
||||
(include "variables/bar/sway-info.yuck")
|
||||
|
|
@ -95,3 +96,4 @@
|
|||
(include "modules/bar/sysmem.yuck")
|
||||
(include "modules/bar/clock.yuck")
|
||||
(include "modules/bar/tray.yuck")
|
||||
(include "modules/bar/notification-center.yuck")
|
||||
|
|
|
|||
10
de/home/.config/eww/modules/bar/notification-center.yuck
Normal file
10
de/home/.config/eww/modules/bar/notification-center.yuck
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(deflisten notification_center_info :initial '{ "count": 0, "dnd": false, "visible": false, "inhibited": false }'
|
||||
"swaync-client -s")
|
||||
|
||||
(defwidget notification_center []
|
||||
(box
|
||||
:class "notification-center ${(jq(notification_center_info,'.count','r') > 0 ) ? 'active' : 'inactive'}"
|
||||
(button :onclick 'swaync-client -t'
|
||||
:onrightclick 'swaync-client -d'
|
||||
:tooltip "${jq(notification_center_info,'.count','r')} unread notifications"
|
||||
"${!jq(notification_center_info,'.dnd','r') ? '' : ''}")))
|
||||
|
|
@ -3,5 +3,5 @@
|
|||
(defwidget profile []
|
||||
(button :onclick "sdu profile switch next"
|
||||
:tooltip {jq(profile_info,'.name','r')}
|
||||
:class "profile ${((jq(profile_info,'.name','r') == 'Work') ? 'profile-work' : ((jq(profile_info,'.name','r') == 'School') ? 'profile-school' : ((jq(profile_info,'.name','r') == 'Development') ? 'profile-development' : ((jq(profile_info,'.name','r') == 'Personal') ? 'profile-personal' : ''))))}"
|
||||
:class "profile profile-${(jq(profile_info,'.name','r'))}"
|
||||
{jq(profile_info,'.icon','r')}))
|
||||
|
|
|
|||
|
|
@ -6,18 +6,18 @@
|
|||
:revealvar-name "reveal_scratchpad"
|
||||
(label
|
||||
:class "revealer-preview"
|
||||
:tooltip "${jq(sway_info,'.scratchpad_info[] | "\\(.title) (\\(.name)) \\n"','r')}"
|
||||
:text " ${jq(sway_info,'.scratchpad_info | length')} ${reveal_scratchpad ? '' : ''}")
|
||||
(scratchpad_children :array {jq(sway_info,'.scratchpad_info','r')})))
|
||||
:tooltip "${jq(scratchpadArray,'.[] | "\\(.title) (\\(.name)) \\n"','r')}"
|
||||
:text " ${jq(scratchpadArray,'. | length')} ${reveal_scratchpad ? '' : ''}")
|
||||
(scratchpad_children :array scratchpadArray)))
|
||||
|
||||
;(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0", "visible": "false"}]}"
|
||||
; 'scripts/bar/scratchpad')
|
||||
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0", "visible": "false"}]}"
|
||||
'scripts/bar/scratchpad')
|
||||
(defwidget scratchpad_children [array]
|
||||
(box :orientation "h"
|
||||
:class "reveal-children"
|
||||
:space-evenly false
|
||||
(for entry in array
|
||||
(button :onclick 'swaymsg [con_id=${entry.window_id}] scratchpad show'
|
||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show'
|
||||
:class "${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||
:tooltip "${entry.title}
|
||||
${entry.name}"
|
||||
|
|
|
|||
|
|
@ -42,7 +42,8 @@
|
|||
|
||||
(defwidget workspace [ws side ?lastws ?firstws]
|
||||
(button :onclick `swaymsg workspace "${ws.name}"`
|
||||
:class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} ${((ws.num > '30') ? 'profile-work' : ((ws.num > '20') ? 'profile-school' : ((ws.num > '10') ? 'profile-development' : ((ws.num > '0') ? 'profile-personal' : ''))))}'
|
||||
; :class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} ${((ws.num > '30') ? 'profile-work' : ((ws.num > '20') ? 'profile-school' : ((ws.num > '10') ? 'profile-development' : ((ws.num > '0') ? 'profile-personal' : ''))))}'
|
||||
:class '${side} ${ws.num == lastws ? "last-workspace" : (ws.num == firstws ? "first-workspace" : "middle-workspace")} profile-${jq(ws,'.profile_name','r')}'
|
||||
(box
|
||||
'${replace(ws.name,".*:","")}'
|
||||
(label
|
||||
|
|
|
|||
|
|
@ -96,6 +96,7 @@ $transition-time: 0.3s;
|
|||
@import "./bar/sys.scss";
|
||||
@import "./bar/clock.scss";
|
||||
@import "./bar/tray.scss";
|
||||
@import "./bar/notification-center.scss";
|
||||
|
||||
/* .chevron box {
|
||||
border: 2px solid transparent;
|
||||
|
|
|
|||
10
de/home/.config/eww/style/bar/notification-center.scss
Normal file
10
de/home/.config/eww/style/bar/notification-center.scss
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
.notification-center {
|
||||
$module-bg-color: rgba($bar-bg-color,0.5);
|
||||
$module-fg-color: $bar-fg-color;
|
||||
|
||||
margin: 0px 5px;
|
||||
@import "./styles/button.scss";
|
||||
&.inactive {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,22 +1,22 @@
|
|||
$personal-color: $bar-bg-color;
|
||||
$development-color: mix($color9, $color12);
|
||||
$school-color: mix($color5, $color3);
|
||||
$School-color: mix($color5, $color3);
|
||||
$work-color: mix($color5, $color4, 30%);
|
||||
|
||||
.profile,
|
||||
.workspaces {
|
||||
border: 2px solid $bar-bg-color;
|
||||
font-weight: bold;
|
||||
&.profile-personal {
|
||||
&.profile-Penelope {
|
||||
border-color: $personal-color;
|
||||
}
|
||||
&.profile-development {
|
||||
&.profile-Development {
|
||||
border-color: $development-color;
|
||||
}
|
||||
&.profile-school {
|
||||
border-color: $school-color;
|
||||
&.profile-School {
|
||||
border-color: $School-color;
|
||||
}
|
||||
&.profile-work {
|
||||
&.profile-Work {
|
||||
border-color: $work-color;
|
||||
}
|
||||
}
|
||||
|
|
@ -27,21 +27,21 @@ $work-color: mix($color5, $color4, 30%);
|
|||
color: $bar-bg-color;
|
||||
padding: 0px 10px;
|
||||
transition: 0.3s all;
|
||||
&.profile-development,
|
||||
&.profile-school,
|
||||
&.profile-work {
|
||||
&.profile-Development,
|
||||
&.profile-School,
|
||||
&.profile-Work {
|
||||
color: $bar-module-fg-color;
|
||||
}
|
||||
&.profile-personal {
|
||||
&.profile-Penelope {
|
||||
background-color: transparent;
|
||||
}
|
||||
&.profile-development {
|
||||
&.profile-Development {
|
||||
background-color: $development-color;
|
||||
}
|
||||
&.profile-school {
|
||||
background-color: $school-color;
|
||||
&.profile-School {
|
||||
background-color: $School-color;
|
||||
}
|
||||
&.profile-work {
|
||||
&.profile-Work {
|
||||
background-color: $work-color;
|
||||
}
|
||||
}
|
||||
|
|
@ -52,19 +52,19 @@ $work-color: mix($color5, $color4, 30%);
|
|||
background-color: $bar-bg-color;
|
||||
color: $bar-module-fg-color;
|
||||
border-radius: 0px $bar-module-bg-border-radius $bar-module-bg-border-radius 0px;
|
||||
&.profile-personal {
|
||||
&.profile-Penelope {
|
||||
background-color: $personal-color;
|
||||
border-color: $personal-color;
|
||||
}
|
||||
&.profile-development {
|
||||
&.profile-Development {
|
||||
background-color: $development-color;
|
||||
border-color: $development-color;
|
||||
}
|
||||
&.profile-school {
|
||||
background-color: $school-color;
|
||||
border-color: $school-color;
|
||||
&.profile-School {
|
||||
background-color: $School-color;
|
||||
border-color: $School-color;
|
||||
}
|
||||
&.profile-work {
|
||||
&.profile-Work {
|
||||
background-color: $work-color;
|
||||
border-color: $work-color;
|
||||
}
|
||||
|
|
@ -100,34 +100,34 @@ $work-color: mix($color5, $color4, 30%);
|
|||
}
|
||||
&>box>box>button {
|
||||
color: $bar-bg-color;
|
||||
&.profile-personal {
|
||||
&.profile-Penelope {
|
||||
color: $personal-color;
|
||||
border-color: $personal-color;
|
||||
}
|
||||
&.profile-development {
|
||||
&.profile-Development {
|
||||
color: $development-color;
|
||||
border-color: $development-color;
|
||||
}
|
||||
&.profile-school {
|
||||
color: $school-color;
|
||||
border-color: $school-color;
|
||||
&.profile-School {
|
||||
color: $School-color;
|
||||
border-color: $School-color;
|
||||
}
|
||||
&.profile-work {
|
||||
&.profile-Work {
|
||||
color: $work-color;
|
||||
border-color: $work-color;
|
||||
}
|
||||
&:hover {
|
||||
background-color: rgba($bar-bg-color,0.5);
|
||||
&.profile-personal {
|
||||
&.profile-Penelope {
|
||||
background-color: rgba($personal-color,0.5);
|
||||
}
|
||||
&.profile-development {
|
||||
&.profile-Development {
|
||||
background-color: rgba($development-color,0.5);
|
||||
}
|
||||
&.profile-school {
|
||||
background-color: rgba($school-color,0.5);
|
||||
&.profile-School {
|
||||
background-color: rgba($School-color,0.5);
|
||||
}
|
||||
&.profile-work {
|
||||
&.profile-Work {
|
||||
background-color: rgba($work-color,0.5);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -169,14 +169,14 @@ RunPrefix=
|
|||
SetEditor=false
|
||||
|
||||
[MainWindow]
|
||||
1920x1200 screen: Height=552
|
||||
1920x1200 screen: Width=855
|
||||
1920x1200 screen: Height=352
|
||||
1920x1200 screen: Width=453
|
||||
2 screens: Height=1119
|
||||
2 screens: Width=490
|
||||
2048x1280 screen: Height=1030
|
||||
2048x1280 screen: Width=1005
|
||||
3 screens: Height=906
|
||||
3 screens: Width=1563
|
||||
3 screens: Height=672
|
||||
3 screens: Width=1056
|
||||
|
||||
[filetree]
|
||||
editShade=183,220,246
|
||||
|
|
|
|||
1
de/home/.fonts/.uuid
Normal file
1
de/home/.fonts/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
b4407a8e-37e5-4326-a23b-e89cf057e14c
|
||||
1
de/home/.fonts/Good Old DOS/.uuid
Normal file
1
de/home/.fonts/Good Old DOS/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
b18eeea2-4019-48cf-bf8a-a7652d8ab6bd
|
||||
1
de/home/.fonts/OverpassNerdFont_3.4.0/.uuid
Normal file
1
de/home/.fonts/OverpassNerdFont_3.4.0/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
ac4089f5-a17e-409b-883b-8dac65cd7bdc
|
||||
1
de/home/.fonts/PcSeniorRegular/.uuid
Normal file
1
de/home/.fonts/PcSeniorRegular/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
404c3cca-be9d-4312-8b51-9fe8642bb0a7
|
||||
1
de/home/.fonts/bebas-neue/.uuid
Normal file
1
de/home/.fonts/bebas-neue/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
b02a4033-b5dd-46fe-a82b-88309635ef3e
|
||||
1
de/home/.fonts/overpass-mono/.uuid
Normal file
1
de/home/.fonts/overpass-mono/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
8e1cdd0f-bf80-492b-b6ec-bf015b11cc98
|
||||
1
de/home/.fonts/overpass/.uuid
Normal file
1
de/home/.fonts/overpass/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
|||
c610d6f9-e135-4a00-be58-e2c3714fb4f3
|
||||
|
|
@ -1 +1,3 @@
|
|||
user_pref("privacy.resistFingerprinting.exemptedDomains", "*.pogmom.me,*.pog.mom,app.slack.com,na01.alma.exlibrisgroup.com,mail.google.com,*.livechatinc.com,*.lanecc.edu");
|
||||
user_pref("dom.webgpu.enabled",true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue