New backup 2025-09-09 20:30:04

This commit is contained in:
Penelope Gwen 2025-09-09 20:30:04 -07:00
commit 4467f5241c
18 changed files with 55 additions and 47 deletions

View file

@ -4,4 +4,5 @@
(box
:class "idle-inhibitor ${inhibit_active ? 'active' : 'inactive'}"
(button :onclick {inhibit_active ? 'killall eww-idle-inhibit;eww update inhibit_active=false' : 'systemd-inhibit --what="idle" --mode="block" scripts/bar/eww-idle-inhibit & eww update inhibit_active=true'}
{inhibit_active ? "" : ""})))
:tooltip "Idling is ${inhibit_active ? '' : 'not '}inhibited"
{inhibit_active ? "" : ""})))

View file

@ -6,6 +6,7 @@
:revealvar-name "reveal_powermenu"
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
:class "revealer-preview"
:tooltip "Poweroff"
"")
(powermenu_children)))
@ -15,10 +16,14 @@
:space-evenly false
:halign "center"
(button :onclick 'scripts/bar/powermenu reboot system-reboot-symbolic "systemctl reboot"'
:tooltip "Reboot"
"")
(button :onclick 'scripts/bar/powermenu suspend weather-clear-night-symbolic "systemctl suspend"'
:tooltip "Suspend"
"󰤄")
(button :onclick 'scripts/bar/powermenu lock system-lock-screen-symbolic "sp-lock"'
:tooltip "Lock"
"")
(button :onclick 'scripts/bar/powermenu logout system-log-out-symbolic "swaymsg exit"'
:tooltip "Log Out"
"")))

View file

@ -1,5 +1,7 @@
(deflisten active_profile "scripts/bar/profile")
(deflisten active_profile_name "scripts/bar/profile-name")
(defwidget profile []
(button :onclick "sp-profiles next"
:class "profile ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
: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' : ''))))}"
{active_profile}))

View file

@ -13,7 +13,7 @@
'scripts/bar/scratchpad')
(defwidget scratchpad_children [array]
(box :orientation "h"
:class "reveal-children scratchpad"
:class "reveal-children"
:space-evenly false
(for entry in array
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'

View file

@ -5,6 +5,7 @@
:revealvar reveal_volume
:revealvar-name "reveal_volume"
(button :onclick 'pavucontrol-qt --tab 3'
:tooltip "Pulseaudio Volume Control"
:class "${(volume == 0) ? 'inactive' : 'active'} revealer-preview"
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
(volume_children)))
@ -17,6 +18,7 @@
:space-evenly false
:halign "center"
(scale
:tooltip "volume: ${round(volume,0)}%"
:min 0
:max 100
:value {volume}

View file

@ -2,10 +2,5 @@
:interval "60s"
"scripts/bar/activewindow")
(defwidget windowtitle []
; (box :class "bar-module"
; :space-evenly false
; (button :onclick 'sp-profiles next'
; (label :text '${active_profile}'))
(label :class {active_window_name != "" ? "active_window" : ""}
:text {active_window_name}))
;)

View file

@ -8,7 +8,7 @@
(eventbox
:onhover "${EWW_CMD} update wsreveal=true"
:onhoverlost "${EWW_CMD} update wsreveal=false"
(box :class "workspaces ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
(box :class "workspaces ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-housing' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}"
:orientation "h"
:space-evenly false
:halign "start"
@ -42,7 +42,7 @@
(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-housing' : ((ws.num > '10') ? 'profile-development' : ((ws.num > '0') ? 'profile-personal' : ''))))}'
(box
'${replace(ws.name,".*:","")}'
(label

View file

@ -1,3 +1,3 @@
#!/bin/bash
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile-icon
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile

View file

@ -1,7 +1,5 @@
.powermenu {
// $module-fg-color: $color0;
// $module-bg-color: mix($color0,$color9,60%);
margin: 0px 5px;
$module-color: $bar-bg-color;
$module-color: $color9;
@import "./styles/revealer.scss"
}

View file

@ -1,5 +1,5 @@
.scratchpad {
// margin: 0px 5px;
$module-color: $color5;
margin: 0px 5px;
$module-color: $color15;
@import "./styles/revealer.scss";
}

View file

@ -3,18 +3,25 @@
// border: 2px solid $module-color;
border-radius: $bar-module-border-radius;//
}
//.reveal-children>button>image,
.reveal-children>widget>image {
padding: 0px 7px;
}
.revealer-preview,
.reveal-children>* {
padding: 0px 7px;
min-width: $bar-module-width;
transition: all 0.3s;
// background: linear-gradient($bar-bg-color 65%, $module-color);
background-color: rgba($bar-bg-color,0.5);
&:hover {
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
// background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
}
&.active {
background: mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5),25%);
&:hover {
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
// background: mix(rgba($bar-bg-color,0.75), rgba($module-color,0.75));
}
}
&.inactive {
@ -22,14 +29,8 @@
color: rgba($bar-fg-color,0.5);
&:hover {
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
// background: mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5));
}
}
/* &:hover {
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.75));
color: rgba($bar-fg-color,1)
// background: rgba($module-color,0.5);
}*/
}
.revealer-preview {
// box-shadow: inset 0px -7px 9px -4px rgba($module-color,0.4);

View file

@ -1,5 +1,5 @@
.tray {
margin: 0px 5px;
$module-color: $color2;
$module-color: $color15;
@import "./styles/revealer.scss"
}

View file

@ -1,6 +1,6 @@
.active_window {
font-weight: bold;
color: $bar-bg-color;
padding: 0px 20px;
padding: 0px 15px;
border-radius: $bar-module-border-radius;
}

View file

@ -1,11 +1,10 @@
$personal-color: $bar-bg-color;
$development-color: mix($color9, $color12);
$school-color: mix($color5, $color3);
$housing-color: mix($color5, $color3);
$work-color: mix($color5, $color4, 30%);
.profile,
.workspaces {
border: 2px solid $bar-bg-color;
font-weight: bold;
&.profile-personal {
@ -14,8 +13,8 @@ $work-color: mix($color5, $color4, 30%);
&.profile-development {
border-color: $development-color;
}
&.profile-school {
border-color: $school-color;
&.profile-housing {
border-color: $housing-color;
}
&.profile-work {
border-color: $work-color;
@ -27,8 +26,9 @@ $work-color: mix($color5, $color4, 30%);
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
color: $bar-bg-color;
padding: 0px 10px;
transition: 0.3s all;
&.profile-development,
&.profile-school,
&.profile-housing,
&.profile-work {
color: $bar-module-fg-color;
}
@ -38,8 +38,8 @@ $work-color: mix($color5, $color4, 30%);
&.profile-development {
background-color: $development-color;
}
&.profile-school {
background-color: $school-color;
&.profile-housing {
background-color: $housing-color;
}
&.profile-work {
background-color: $work-color;
@ -60,9 +60,9 @@ $work-color: mix($color5, $color4, 30%);
background-color: $development-color;
border-color: $development-color;
}
&.profile-school {
background-color: $school-color;
border-color: $school-color;
&.profile-housing {
background-color: $housing-color;
border-color: $housing-color;
}
&.profile-work {
background-color: $work-color;
@ -108,9 +108,9 @@ $work-color: mix($color5, $color4, 30%);
color: $development-color;
border-color: $development-color;
}
&.profile-school {
color: $school-color;
border-color: $school-color;
&.profile-housing {
color: $housing-color;
border-color: $housing-color;
}
&.profile-work {
color: $work-color;
@ -124,8 +124,8 @@ $work-color: mix($color5, $color4, 30%);
&.profile-development {
background-color: rgba($development-color,0.5);
}
&.profile-school {
background-color: rgba($school-color,0.5);
&.profile-housing {
background-color: rgba($housing-color,0.5);
}
&.profile-work {
background-color: rgba($work-color,0.5);

View file

@ -168,14 +168,14 @@ RunPrefix=
SetEditor=false
[MainWindow]
1920x1200 screen: Height=556
1920x1200 screen: Width=626
1920x1200 screen: Height=368
1920x1200 screen: Width=1388
2 screens: Height=1110
2 screens: Width=619
2048x1280 screen: Height=642
2048x1280 screen: Width=911
3 screens: Height=672
3 screens: Width=1358
3 screens: Height=673
3 screens: Width=1129
[filetree]
editShade=183,220,246

View file

@ -16,7 +16,7 @@ ShowDeleteCommand=false
[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=true
Breadcrumb Navigation=false
Decoration position=2
LocationCombo Completionmode=5
PathCombo Completionmode=5

View file

@ -29,7 +29,7 @@ input {
}
#seat * hide_cursor 5000
seat seat0 pointer_constraint disable
seat seat0 pointer_constraint enable
focus_follows_mouse yes
include $HOME/.config/sway/config.d/keys.d/*

View file

@ -17,7 +17,11 @@ Name=Penelope
IsRelative=1
Path=penelope
Default=1
<<<<<<< HEAD
StoreID=0585997e
=======
StoreID=a61d59be
>>>>>>> dd66c0054d35a5fdb855626dfd47c4b646dc59de
ShowSelector=1
[General]