New backup 2026-01-01 10:15:02
This commit is contained in:
parent
7de0c97fa0
commit
747982395b
4 changed files with 18 additions and 18 deletions
|
|
@ -3,5 +3,5 @@
|
||||||
(defwidget profile []
|
(defwidget profile []
|
||||||
(button :onclick "sp-profiles next"
|
(button :onclick "sp-profiles next"
|
||||||
:tooltip "${active_profile_name}"
|
:tooltip "${active_profile_name}"
|
||||||
:class "profile ${((active_profile_name == 'Work') ? 'profile-work' : ((active_profile_name == 'Housing') ? 'profile-housing' : ((active_profile_name == 'Development') ? 'profile-development' : ((active_profile_name == 'Personal') ? 'profile-personal' : ''))))}"
|
:class "profile ${((active_profile_name == 'Work') ? 'profile-work' : ((active_profile_name == 'Housing') ? 'profile-school' : ((active_profile_name == 'Development') ? 'profile-development' : ((active_profile_name == 'Personal') ? 'profile-personal' : ''))))}"
|
||||||
{active_profile}))
|
{active_profile}))
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
(eventbox
|
(eventbox
|
||||||
:onhover "${EWW_CMD} update wsreveal=true"
|
:onhover "${EWW_CMD} update wsreveal=true"
|
||||||
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
:onhoverlost "${EWW_CMD} update wsreveal=false"
|
||||||
(box :class "workspaces ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-housing' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
|
(box :class "workspaces ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "start"
|
:halign "start"
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
(defwidget workspace [ws side ?lastws ?firstws]
|
(defwidget workspace [ws side ?lastws ?firstws]
|
||||||
(button :onclick `swaymsg workspace "${ws.name}"`
|
(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-housing' : ((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' : ''))))}'
|
||||||
(box
|
(box
|
||||||
'${replace(ws.name,".*:","")}'
|
'${replace(ws.name,".*:","")}'
|
||||||
(label
|
(label
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
$personal-color: $bar-bg-color;
|
$personal-color: $bar-bg-color;
|
||||||
$development-color: mix($color9, $color12);
|
$development-color: mix($color9, $color12);
|
||||||
$housing-color: mix($color5, $color3);
|
$school-color: mix($color5, $color3);
|
||||||
$work-color: mix($color5, $color4, 30%);
|
$work-color: mix($color5, $color4, 30%);
|
||||||
|
|
||||||
.profile,
|
.profile,
|
||||||
|
|
@ -13,8 +13,8 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
&.profile-development {
|
&.profile-development {
|
||||||
border-color: $development-color;
|
border-color: $development-color;
|
||||||
}
|
}
|
||||||
&.profile-housing {
|
&.profile-school {
|
||||||
border-color: $housing-color;
|
border-color: $school-color;
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
border-color: $work-color;
|
border-color: $work-color;
|
||||||
|
|
@ -28,7 +28,7 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
transition: 0.3s all;
|
transition: 0.3s all;
|
||||||
&.profile-development,
|
&.profile-development,
|
||||||
&.profile-housing,
|
&.profile-school,
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
color: $bar-module-fg-color;
|
color: $bar-module-fg-color;
|
||||||
}
|
}
|
||||||
|
|
@ -38,8 +38,8 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
&.profile-development {
|
&.profile-development {
|
||||||
background-color: $development-color;
|
background-color: $development-color;
|
||||||
}
|
}
|
||||||
&.profile-housing {
|
&.profile-school {
|
||||||
background-color: $housing-color;
|
background-color: $school-color;
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
background-color: $work-color;
|
background-color: $work-color;
|
||||||
|
|
@ -60,9 +60,9 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
background-color: $development-color;
|
background-color: $development-color;
|
||||||
border-color: $development-color;
|
border-color: $development-color;
|
||||||
}
|
}
|
||||||
&.profile-housing {
|
&.profile-school {
|
||||||
background-color: $housing-color;
|
background-color: $school-color;
|
||||||
border-color: $housing-color;
|
border-color: $school-color;
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
background-color: $work-color;
|
background-color: $work-color;
|
||||||
|
|
@ -108,9 +108,9 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
color: $development-color;
|
color: $development-color;
|
||||||
border-color: $development-color;
|
border-color: $development-color;
|
||||||
}
|
}
|
||||||
&.profile-housing {
|
&.profile-school {
|
||||||
color: $housing-color;
|
color: $school-color;
|
||||||
border-color: $housing-color;
|
border-color: $school-color;
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
color: $work-color;
|
color: $work-color;
|
||||||
|
|
@ -124,8 +124,8 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
&.profile-development {
|
&.profile-development {
|
||||||
background-color: rgba($development-color,0.5);
|
background-color: rgba($development-color,0.5);
|
||||||
}
|
}
|
||||||
&.profile-housing {
|
&.profile-school {
|
||||||
background-color: rgba($housing-color,0.5);
|
background-color: rgba($school-color,0.5);
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
background-color: rgba($work-color,0.5);
|
background-color: rgba($work-color,0.5);
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ bindsym {
|
||||||
#profile keybinds
|
#profile keybinds
|
||||||
$mod+p exec "sp-profiles Personal"
|
$mod+p exec "sp-profiles Personal"
|
||||||
$mod+Bracketleft exec "sp-profiles Development"
|
$mod+Bracketleft exec "sp-profiles Development"
|
||||||
$mod+Bracketright exec "sp-profiles Housing"
|
$mod+Bracketright exec "sp-profiles School"
|
||||||
$mod+Backslash exec "sp-profiles Work"
|
$mod+Backslash exec "sp-profiles Work"
|
||||||
#workspace cycle keybinds
|
#workspace cycle keybinds
|
||||||
$mod+Tab workspace next
|
$mod+Tab workspace next
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue