New backup 2025-09-09 20:30:04
This commit is contained in:
commit
4467f5241c
18 changed files with 55 additions and 47 deletions
|
|
@ -4,4 +4,5 @@
|
||||||
(box
|
(box
|
||||||
:class "idle-inhibitor ${inhibit_active ? 'active' : 'inactive'}"
|
: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'}
|
(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 ? "" : ""})))
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
:revealvar-name "reveal_powermenu"
|
:revealvar-name "reveal_powermenu"
|
||||||
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
|
(button :onclick 'scripts/bar/powermenu poweroff system-shutdown-symbolic "systemctl poweroff"'
|
||||||
:class "revealer-preview"
|
:class "revealer-preview"
|
||||||
|
:tooltip "Poweroff"
|
||||||
"")
|
"")
|
||||||
(powermenu_children)))
|
(powermenu_children)))
|
||||||
|
|
||||||
|
|
@ -15,10 +16,14 @@
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(button :onclick 'scripts/bar/powermenu reboot system-reboot-symbolic "systemctl reboot"'
|
(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"'
|
(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"'
|
(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"'
|
(button :onclick 'scripts/bar/powermenu logout system-log-out-symbolic "swaymsg exit"'
|
||||||
|
:tooltip "Log Out"
|
||||||
"")))
|
"")))
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
(deflisten active_profile "scripts/bar/profile")
|
(deflisten active_profile "scripts/bar/profile")
|
||||||
|
(deflisten active_profile_name "scripts/bar/profile-name")
|
||||||
(defwidget profile []
|
(defwidget profile []
|
||||||
(button :onclick "sp-profiles next"
|
(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}))
|
{active_profile}))
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
'scripts/bar/scratchpad')
|
'scripts/bar/scratchpad')
|
||||||
(defwidget scratchpad_children [array]
|
(defwidget scratchpad_children [array]
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
:class "reveal-children scratchpad"
|
:class "reveal-children"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
|
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
:revealvar reveal_volume
|
:revealvar reveal_volume
|
||||||
:revealvar-name "reveal_volume"
|
:revealvar-name "reveal_volume"
|
||||||
(button :onclick 'pavucontrol-qt --tab 3'
|
(button :onclick 'pavucontrol-qt --tab 3'
|
||||||
|
:tooltip "Pulseaudio Volume Control"
|
||||||
:class "${(volume == 0) ? 'inactive' : 'active'} revealer-preview"
|
:class "${(volume == 0) ? 'inactive' : 'active'} revealer-preview"
|
||||||
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
||||||
(volume_children)))
|
(volume_children)))
|
||||||
|
|
@ -17,6 +18,7 @@
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(scale
|
(scale
|
||||||
|
:tooltip "volume: ${round(volume,0)}%"
|
||||||
:min 0
|
:min 0
|
||||||
:max 100
|
:max 100
|
||||||
:value {volume}
|
:value {volume}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,5 @@
|
||||||
:interval "60s"
|
:interval "60s"
|
||||||
"scripts/bar/activewindow")
|
"scripts/bar/activewindow")
|
||||||
(defwidget windowtitle []
|
(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" : ""}
|
(label :class {active_window_name != "" ? "active_window" : ""}
|
||||||
:text {active_window_name}))
|
:text {active_window_name}))
|
||||||
;)
|
|
||||||
|
|
|
||||||
|
|
@ -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-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"
|
: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-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
|
(box
|
||||||
'${replace(ws.name,".*:","")}'
|
'${replace(ws.name,".*:","")}'
|
||||||
(label
|
(label
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile-icon
|
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
.powermenu {
|
.powermenu {
|
||||||
// $module-fg-color: $color0;
|
|
||||||
// $module-bg-color: mix($color0,$color9,60%);
|
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: $bar-bg-color;
|
$module-color: $color9;
|
||||||
@import "./styles/revealer.scss"
|
@import "./styles/revealer.scss"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.scratchpad {
|
.scratchpad {
|
||||||
// margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: $color5;
|
$module-color: $color15;
|
||||||
@import "./styles/revealer.scss";
|
@import "./styles/revealer.scss";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -3,18 +3,25 @@
|
||||||
// border: 2px solid $module-color;
|
// border: 2px solid $module-color;
|
||||||
border-radius: $bar-module-border-radius;//
|
border-radius: $bar-module-border-radius;//
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//.reveal-children>button>image,
|
||||||
|
.reveal-children>widget>image {
|
||||||
|
padding: 0px 7px;
|
||||||
|
}
|
||||||
.revealer-preview,
|
.revealer-preview,
|
||||||
.reveal-children>* {
|
.reveal-children>* {
|
||||||
padding: 0px 7px;
|
padding: 0px 7px;
|
||||||
min-width: $bar-module-width;
|
min-width: $bar-module-width;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
// background: linear-gradient($bar-bg-color 65%, $module-color);
|
|
||||||
background-color: rgba($bar-bg-color,0.5);
|
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 {
|
&.active {
|
||||||
background: mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5),25%);
|
background: mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5),25%);
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-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));
|
||||||
// background: mix(rgba($bar-bg-color,0.75), rgba($module-color,0.75));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.inactive {
|
&.inactive {
|
||||||
|
|
@ -22,14 +29,8 @@
|
||||||
color: rgba($bar-fg-color,0.5);
|
color: rgba($bar-fg-color,0.5);
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
|
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 {
|
.revealer-preview {
|
||||||
// box-shadow: inset 0px -7px 9px -4px rgba($module-color,0.4);
|
// box-shadow: inset 0px -7px 9px -4px rgba($module-color,0.4);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.tray {
|
.tray {
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: $color2;
|
$module-color: $color15;
|
||||||
@import "./styles/revealer.scss"
|
@import "./styles/revealer.scss"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.active_window {
|
.active_window {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: $bar-bg-color;
|
color: $bar-bg-color;
|
||||||
padding: 0px 20px;
|
padding: 0px 15px;
|
||||||
border-radius: $bar-module-border-radius;
|
border-radius: $bar-module-border-radius;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
$personal-color: $bar-bg-color;
|
$personal-color: $bar-bg-color;
|
||||||
$development-color: mix($color9, $color12);
|
$development-color: mix($color9, $color12);
|
||||||
$school-color: mix($color5, $color3);
|
$housing-color: mix($color5, $color3);
|
||||||
$work-color: mix($color5, $color4, 30%);
|
$work-color: mix($color5, $color4, 30%);
|
||||||
|
|
||||||
.profile,
|
.profile,
|
||||||
.workspaces {
|
.workspaces {
|
||||||
|
|
||||||
border: 2px solid $bar-bg-color;
|
border: 2px solid $bar-bg-color;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
&.profile-personal {
|
&.profile-personal {
|
||||||
|
|
@ -14,8 +13,8 @@ $work-color: mix($color5, $color4, 30%);
|
||||||
&.profile-development {
|
&.profile-development {
|
||||||
border-color: $development-color;
|
border-color: $development-color;
|
||||||
}
|
}
|
||||||
&.profile-school {
|
&.profile-housing {
|
||||||
border-color: $school-color;
|
border-color: $housing-color;
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
border-color: $work-color;
|
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;
|
border-radius: $bar-module-border-radius 0px 0px $bar-module-border-radius;
|
||||||
color: $bar-bg-color;
|
color: $bar-bg-color;
|
||||||
padding: 0px 10px;
|
padding: 0px 10px;
|
||||||
|
transition: 0.3s all;
|
||||||
&.profile-development,
|
&.profile-development,
|
||||||
&.profile-school,
|
&.profile-housing,
|
||||||
&.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-school {
|
&.profile-housing {
|
||||||
background-color: $school-color;
|
background-color: $housing-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-school {
|
&.profile-housing {
|
||||||
background-color: $school-color;
|
background-color: $housing-color;
|
||||||
border-color: $school-color;
|
border-color: $housing-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-school {
|
&.profile-housing {
|
||||||
color: $school-color;
|
color: $housing-color;
|
||||||
border-color: $school-color;
|
border-color: $housing-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-school {
|
&.profile-housing {
|
||||||
background-color: rgba($school-color,0.5);
|
background-color: rgba($housing-color,0.5);
|
||||||
}
|
}
|
||||||
&.profile-work {
|
&.profile-work {
|
||||||
background-color: rgba($work-color,0.5);
|
background-color: rgba($work-color,0.5);
|
||||||
|
|
|
||||||
|
|
@ -168,14 +168,14 @@ RunPrefix=
|
||||||
SetEditor=false
|
SetEditor=false
|
||||||
|
|
||||||
[MainWindow]
|
[MainWindow]
|
||||||
1920x1200 screen: Height=556
|
1920x1200 screen: Height=368
|
||||||
1920x1200 screen: Width=626
|
1920x1200 screen: Width=1388
|
||||||
2 screens: Height=1110
|
2 screens: Height=1110
|
||||||
2 screens: Width=619
|
2 screens: Width=619
|
||||||
2048x1280 screen: Height=642
|
2048x1280 screen: Height=642
|
||||||
2048x1280 screen: Width=911
|
2048x1280 screen: Width=911
|
||||||
3 screens: Height=672
|
3 screens: Height=673
|
||||||
3 screens: Width=1358
|
3 screens: Width=1129
|
||||||
|
|
||||||
[filetree]
|
[filetree]
|
||||||
editShade=183,220,246
|
editShade=183,220,246
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ ShowDeleteCommand=false
|
||||||
[KFileDialog Settings]
|
[KFileDialog Settings]
|
||||||
Allow Expansion=false
|
Allow Expansion=false
|
||||||
Automatically select filename extension=true
|
Automatically select filename extension=true
|
||||||
Breadcrumb Navigation=true
|
Breadcrumb Navigation=false
|
||||||
Decoration position=2
|
Decoration position=2
|
||||||
LocationCombo Completionmode=5
|
LocationCombo Completionmode=5
|
||||||
PathCombo Completionmode=5
|
PathCombo Completionmode=5
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ input {
|
||||||
}
|
}
|
||||||
|
|
||||||
#seat * hide_cursor 5000
|
#seat * hide_cursor 5000
|
||||||
seat seat0 pointer_constraint disable
|
seat seat0 pointer_constraint enable
|
||||||
focus_follows_mouse yes
|
focus_follows_mouse yes
|
||||||
|
|
||||||
include $HOME/.config/sway/config.d/keys.d/*
|
include $HOME/.config/sway/config.d/keys.d/*
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,11 @@ Name=Penelope
|
||||||
IsRelative=1
|
IsRelative=1
|
||||||
Path=penelope
|
Path=penelope
|
||||||
Default=1
|
Default=1
|
||||||
|
<<<<<<< HEAD
|
||||||
StoreID=0585997e
|
StoreID=0585997e
|
||||||
|
=======
|
||||||
|
StoreID=a61d59be
|
||||||
|
>>>>>>> dd66c0054d35a5fdb855626dfd47c4b646dc59de
|
||||||
ShowSelector=1
|
ShowSelector=1
|
||||||
|
|
||||||
[General]
|
[General]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue