New backup 2026-01-14 00:11:02

This commit is contained in:
Penelope Gwen 2026-01-14 00:11:02 -08:00
parent 12e1c22f24
commit 5cdcc7bac8
29 changed files with 270 additions and 63 deletions

View file

@ -14,10 +14,13 @@
;centerbar groups
(defwidget leftgroup []
(box :class "leftgroup ${((activeWorkspace > '30') ? 'profile-work' : ((activeWorkspace > '20') ? 'profile-school' : ((activeWorkspace > '10') ? 'profile-development' : ((activeWorkspace > '0') ? 'profile-personal' : ''))))}" :orientation "h" :space-evenly false :halign "start"
(box :class "leftgroup ${((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == 'Work') ? 'profile-work' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == 'School') ? 'profile-school' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == 'Development') ? 'profile-development' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == 'Penelope') ? 'profile-personal' : ''))))}"
:orientation "h"
:space-evenly false
:halign "start"
(powermenu)
(profile)
(workspaces :array workspacesArray)
(workspaces :array {jq(sway_info,'.workspace_info','r')})
(windowtitle)
(scratchpad)))
@ -63,9 +66,13 @@
(clock)
(tray)))
(include "variables/bar/profile-info.yuck")
(include "variables/bar/sway-info.yuck")
;leftgroup
(include "modules/bar/powermenu.yuck")
(include "modules/bar/profile.yuck")
;(include "modules/bar/profile.yuck")
(include "modules/bar/profile1.yuck")
(include "modules/bar/workspaces.yuck")
(include "modules/bar/window_name.yuck")
(include "modules/bar/scratchpad.yuck")

View file

@ -0,0 +1,7 @@
;(deflisten active_profile "scripts/bar/profile")
;(deflisten active_profile_name "scripts/bar/profile-name")
(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' : ''))))}"
{jq(profile_info,'.icon','r')}))

View file

@ -15,7 +15,7 @@
:space-evenly false
:halign "center"
(for vpn in array
(button :onclick "nmcli connection ${( vpn.active == 'yes' ? 'down' : 'up' )} ${vpn.device}"
(button :onclick "nmcli connection ${( vpn.active == 'yes' ? 'down' : 'up' )} ${vpn.name}"
:class {( vpn.active == "yes" ? 'active' : 'inactive' )}
:tooltip "${vpn.name}"
"${( vpn.name =~ '^[Hh]ome.*' ?

View file

@ -1,6 +1,6 @@
(deflisten active_window_name :initial ""
:interval "60s"
"scripts/bar/activewindow")
;(deflisten active_window_name :initial ""
; :interval "60s"
; "scripts/bar/activewindow")
(defwidget windowtitle []
(label :class {active_window_name != "" ? "active_window" : ""}
:text {active_window_name}))
(label :class {jq(sway_info,'.window_info.title','r') != "" ? "active_window" : ""}
:text {jq(sway_info,'.window_info.title','r')}))

View file

@ -0,0 +1,6 @@
(deflisten active_window_name :initial ""
:interval "60s"
"scripts/bar/activewindow")
(defwidget windowtitle []
(label :class {active_window_name != "" ? "active_window" : ""}
:text {active_window_name}))

View file

@ -1,14 +1,14 @@
(deflisten activeWorkspace :initial '1'
'scripts/bar/active-workspace')
(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
'scripts/bar/workspaces')
;(deflisten activeWorkspace :initial '1'
; 'scripts/bar/active-workspace')
;(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
; 'scripts/bar/workspaces')
(defvar wsreveal false)
(defwidget workspaces [array]
(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 ${((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == 'Work') ? 'profile-work' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == '20') ? 'profile-school' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == '10') ? 'profile-development' : ((jq(sway_info,'workspace_info[] | select(.is_focused) | .profile_name','r') == '0') ? 'profile-personal' : ''))))}"
:orientation "h"
:space-evenly false
:halign "start"
@ -21,14 +21,14 @@
(box
(for entry in array
(literal
:visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"}))))
:visible {((entry.position == 'l') && !entry.is_focused) ? true : false}
:content {((entry.position == 'l') && !entry.is_focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"}))))
(box
:class "ws-center ${wsreveal}"
(for entry in array
(literal
:visible {entry.focused ? true : false}
:content {entry.focused ? "(workspace :ws entry :side 'center' :lastws ${jq(array,'.[-1].num')})" : "(box :visible false)"})))
:visible {entry.is_focused ? true : false}
:content {entry.is_focused ? "(workspace :ws entry :side 'center' :lastws ${jq(array,'.[-1].num')})" : "(box :visible false)"})))
(revealer
:class "ws-right"
:reveal wsreveal
@ -37,8 +37,8 @@
(box
(for entry in array
(literal
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
:visible {((entry.position == 'r') && !entry.is_focused) ? true : false}
:content {((entry.position == 'r') && !entry.is_focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
(defwidget workspace [ws side ?lastws ?firstws]
(button :onclick `swaymsg workspace "${ws.name}"`

View file

@ -0,0 +1,50 @@
(deflisten activeWorkspace :initial '1'
'scripts/bar/active-workspace')
(deflisten workspacesArray :initial '[{"name": "placeholder","focused":true,"num":0}]'
'scripts/bar/workspaces')
(defvar wsreveal false)
(defwidget workspaces [array]
(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' : ''))))}"
:orientation "h"
:space-evenly false
:halign "start"
(revealer
:class "ws-left"
:reveal wsreveal
:transition "slideleft"
:duration "500ms"
(box
(for entry in array
(literal
:visible {((entry.num <= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num <= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'left')" : "(box :visible false)"}))))
(box
:class "ws-center ${wsreveal}"
(for entry in array
(literal
:visible {entry.focused ? true : false}
:content {entry.focused ? "(workspace :ws entry :side 'center' :lastws ${jq(array,'.[-1].num')})" : "(box :visible false)"})))
(revealer
:class "ws-right"
:reveal wsreveal
:transition "slideright"
:duration "500ms"
(box
(for entry in array
(literal
:visible {((entry.num >= activeWorkspace) && !entry.focused) ? true : false}
:content {((entry.num >= activeWorkspace) && !entry.focused) ? "(workspace :ws entry :side 'right')" : "(box :visible false)"})))))))
(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' : ''))))}'
(box
'${replace(ws.name,".*:","")}'
(label
:class "workspace-number"
:text {jq(captures(ws.num, '[0-9]$'),'.[].[]','r')}))))

View file

@ -27,15 +27,15 @@
(weather_revealer)
(mcstatus_revealer)
(box
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
; :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
(software_revealer)
)
(box
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
; :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
(notes_revealer)
)
(box
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
; :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
(reminders_revealer)
)
)

View file

@ -18,7 +18,7 @@
:width 300
:height 75
(box
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
; :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
:orientation "h"
:space-evenly true
:halign "center"
@ -39,7 +39,7 @@
:text "󰟐"
:tooltip "Home Assistant")))
(box
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
; :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
:orientation "h"
:space-evenly true
:halign "center"
@ -68,7 +68,7 @@
:text ""
:tooltip "Jellyfin")))
(box
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
; :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
:orientation "h"
:space-evenly true
:halign "center"
@ -98,7 +98,7 @@
:justify "center"
:text "󰑩")))
(box
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
; :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
:orientation "h"
:space-evenly true
:halign "center"
@ -135,7 +135,7 @@
:justify "center"
:text "󰒍")))
(box
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 40) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 31)}
; :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 40) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 31)}
:orientation "h"
:space-evenly true
:halign "center"

View file

@ -0,0 +1,2 @@
#!/usr/bin/env sh
sdu profile get -m

View file

@ -0,0 +1,2 @@
(deflisten profile_info :initial '{"icon":"","name":"","program_args":{},"scripts":[]}'
"sdu profile get -m")

View file

@ -0,0 +1,2 @@
(deflisten sway_info :initial '{"window_info":{"title":"","window_count":0},"workspace_info":[]}'
"sdu sway get -m")

View file

@ -17,6 +17,7 @@ Mouse forward button action=0
Open New Tab To The Right Of Current=false
Output History Limit=100
Output With Date=false
PinnedDocuments=
Recent File List Entry Count=10
Restore Window Configuration=true
SDI Mode=false
@ -192,12 +193,13 @@ viewShade=211,190,222
AllowedServerCommandLines=
AutoHover=true
AutoImport=true
BlockedServerCommandLines=
BlockedServerCommandLines=/usr/bin/rust-analyzer
CompletionDocumentation=true
CompletionParens=true
Diagnostics=true
FormatOnSave=false
HighlightGoto=true
HighlightSymbol=true
IncrementalSync=false
InlayHints=false
Messages=true

View file

@ -17,7 +17,7 @@ widgetStyle=qt6ct-style
[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=false
Breadcrumb Navigation=true
Decoration position=2
Show Full Path=false
Show Inline Previews=true
@ -29,7 +29,7 @@ Sort directories first=true
Sort hidden files last=false
Sort reversed=false
Speedbar Width=218
View Style=Simple
View Style=Detail
[KShortcutsDialog Settings]
Dialog Size=600,480

View file

@ -0,0 +1,112 @@
preserve_keyboard_order = false
window_icons = [
["󰖟"," — LibreWolf"],
[""," — Alacritty"],
[""," - VSCodium"],
[""," — Dolphin"]
]
# Programs
[programs.filemanager]
name = "Dolphin"
command = "dolphin"
arguments = ["--new-window"]
[programs.browser]
name = "Librewolf"
command = "librewolf --no-remote -P"
arguments = []
[lock]
wallpaper_path = "~/.config/sway/assets/wallpaper"
blur = 10.0
scale = 0.75
[[scripts]]
name = "Printer"
icon = ""
command = "librewolf-profile Penelope 'http://printer-hp-dj3630/'"
[[scripts]]
name = "Swap Workstation"
icon = ""
command = "notify-send 'todo!'"
[[scripts]]
name = "scrcpy"
icon = ""
command = "notify-send 'todo!'"
# Profiles
[[profiles]]
name = "Penelope"
icon = ""
[profiles.program_args]
browser = [ "Penelope", "--new-window", "https://cloud.pogmom.me", ]
filemanager = [ "~/Documents" ]
[[profiles.scripts]]
name = "Light Toggle"
icon = "󱣝"
command = "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle"
[[profiles.scripts]]
name = "Home Assistant"
icon = "󰟐"
command = "librewolf 'https://hass.pogmom.me'"
[[profiles.scripts]]
name = "Nextcloud"
icon = ""
command = "librewolf 'https://cloud.pogmom.me'"
[[profiles.scripts]]
name = "Mastodon"
icon = "󰫑"
command = "librewolf 'https://masto.pogmom.me'"
[[profiles.scripts]]
name = "Jellyfin"
icon = ""
command = "librewolf 'https://watch.pogmom.me'"
[[profiles]]
name = "Development"
icon = ""
[profiles.program_args]
browser = [ "Development", "--new-window", "https://hass.pogmom.me" ]
filemanager = [ "~/Development" ]
[[profiles.scripts]]
name = "bridge-netgear-r8000"
icon = "󱂇"
command = "ssh-agent-handler.sh router-netgear-r8000 󱂇"
[[profiles.scripts]]
name = "bridge-netgear-r8000"
icon = "󰑩"
command = "ssh-agent-handler.sh bridge-netgear-r8000 󰑩"
[[profiles.scripts]]
name = "server-dell-7050sff-debian"
icon = "󰒍"
command = "ssh-agent-handler.sh server-dell-7050sff-debian 󰒍"
[[profiles.scripts]]
name = "server-hp-y2z63av"
icon = "󰢋"
command = "ssh-agent-handler.sh server-hp-y2z63av 󰢋"
[[profiles.scripts]]
name = "server-asus-n705fd"
icon = "󱫋"
command = "ssh-agent-handler.sh server-asus-n705fd 󱫋"
[[profiles]]
name = "School"
icon = "󰻺"
[profiles.program_args]
browser = [ "School", "--new-window", "https://classes.lanecc.edu" ]
filemanager = [ "~/Documents/School/College/LaneCC/2026-01_Winter" ]
[[profiles]]
name = "Work"
icon = ""
[profiles.program_args]
browser = [ "Work", "--new-window", "https://lanecc.edu" ]
filemanager = [ "~/Documents/Work/LaneCC" ]
[[profiles.scripts]]
name = "LCC Links"
icon = ""
command = ""
[[profiles.scripts]]
name = "Second Monitor"
icon = "󰍺"
command = ""

View file

@ -1,4 +1,12 @@
input {
type:touchpad {
dwt disabled
click_method clickfinger
drag enabled
natural_scroll enabled
# pointer_accel 0.1
# accel_profile flat
}
#macbook touchpad
1452:641:Apple_Internal_Keyboard_/_Trackpad {
scroll_factor 1
@ -32,7 +40,6 @@ input {
xkb_options 'lv3:ralt_switch,compose:rwin-altgr'
# xkb_options 'compose:rwin-altgr'
}
}
#seat * hide_cursor 5000

View file

@ -10,9 +10,10 @@ bindsym {
#launcher reload
$mod+Shift+d exec 'kbuildsycoca6;update-menus;$menu'
#lockscreen
$mod+l exec sp-lock
# $mod+l exec sp-lock
$mod+l exec sdu lock
#profile manager
$mod+Shift+p exec sp-profiles
# $mod+Shift+p exec sp-profiles
#sway notification center
$mod+Shift+n exec swaync-client -t -sw
#power menu
@ -26,14 +27,19 @@ bindsym {
## $mod+w exec eww open --toggle --screen "$(swaymsg -t get_outputs | jq -r '.[]|select(.focused==true).model')" home
$mod+w exec '$HOME/.config/sway/scripts/eww-toggle.sh homewidgets_reveal'
#profile shortcuts
$mod+shift+o exec sp-shortcuts
## $mod+shift+o exec sp-shortcuts
# $mod+shift+o exec sdu profile shortcuts get --mode dmenu
#global shortcuts
$mod+shift+l exec sp-global-shortcuts
## $mod+shift+l exec sp-global-shortcuts
# $mod+shift+l exec sdu shortcuts get --mode dmenu
#browser
$mod+shift+b exec sp-launcher browser
$mod+t exec sp-launcher browser-newtab
# $mod+shift+b exec sp-launcher browser
$mod+shift+b exec 'sdu launch --program browser'
# $mod+t exec sp-launcher browser-newtab
$mod+t exec 'sdu launch --program browser-newtab'
#file browser
$mod+shift+f exec sp-launcher file_manager
# $mod+shift+f exec sp-launcher file_manager
$mod+shift+f exec 'sdu launch --program filemanager'
#calculator
$mod+c exec wofi-calc
#sticky notes

View file

@ -33,7 +33,7 @@ for_window {
[window_role="bubble"] $popup
[window_role="dialog"] $popup
[window_type="dialog"] $popup
[title="^(?:Copying|Deleting|Moving|Progress).*Dolphin$"] $popup
[title="^Deleting.*Dolphin$"] $popup
[title="^(File|Folder)\s*Already Exists\s*—\s*" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[title="Confirm to replace files" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[title="^alacritty_sticky_notes$"] $popup
@ -64,6 +64,9 @@ for_window {
[class="^Signal$"] $scratch
[app_id="^org.signal.Signal$"] $scratch
[app_id="^signal$"] $scratch
[title="^Progress Dialog.*" app_id="org.kde.dolphin"] $scratch
[title="^Copying.*" app_id="org.kde.dolphin"] $scratch
[title="^Moving.*" app_id="org.kde.dolphin"] $scratch
}
assign {
@ -72,5 +75,8 @@ assign {
[app_id="io.github.martinrotter.rssguard"] $home_ws
}
no_focus [title="^Picture-in-Picture$"]
no_focus {
[title="^Picture-in-Picture$"]
[title="^Progress Dialog.*" app_id="org.kde.dolphin"]
}
scratchpad_minimize true

View file

@ -4,15 +4,19 @@ bindsym {
$mod+grave workspace 0:
$mod+Shift+grave move container to workspace 0:
#profile keybinds
$mod+p exec "sp-profiles Personal"
$mod+Bracketleft exec "sp-profiles Development"
$mod+Bracketright exec "sp-profiles School"
$mod+Backslash exec "sp-profiles Work"
# $mod+p exec "sp-profiles Personal"
$mod+p exec "sdu profile switch to Penelope"
# $mod+Bracketleft exec "sp-profiles Development"
$mod+Bracketleft exec "sdu profile switch to Development"
# $mod+Bracketright exec "sp-profiles School"
$mod+Bracketright exec "sdu profile switch to School"
# $mod+Backslash exec "sp-profiles Work"
$mod+Backslash exec "sdu profile switch to Work"
#workspace cycle keybinds
$mod+Tab workspace next
$mod+Shift+Tab workspace prev
#workspace rename keybind
$mod+Shift+r exec sp-rename
## $mod+Shift+r exec sp-rename
}
# Switch to workspace keybinds are managed by sp-profiles
@ -31,10 +35,10 @@ bindgesture {
swipe:left workspace next
swipe:right workspace prev
#profile cycle gesturebinds
swipe:up exec "sp-profiles next"
swipe:down exec "sp-profiles prev"
swipe:up exec "sdu profile switch next"
swipe:down exec "sdu profile switch prev"
}
workspace_auto_back_and_forth no
exec "sp-profiles Personal";
exec_always "sleep 1;sp-profiles reload"
#exec "sdu profile switch to Penelope";
exec_always "sleep 1;sdu profile init"

View file

@ -1 +0,0 @@
de5df286-48ac-4c00-9da8-664782a2b35a

View file

@ -1 +0,0 @@
b870f5eb-8431-4607-9b57-22a1460da3fa

View file

@ -1 +0,0 @@
684021b7-f317-4fa3-9ee6-0df781f4f04b

View file

@ -1 +0,0 @@
77d4c8c3-94d6-4424-a7c1-c88acee7d0cc

View file

@ -1 +0,0 @@
7050109e-f208-49b3-8c9f-e88a9fffd7f5

Binary file not shown.

View file

@ -1 +0,0 @@
6a80e01e-b6d0-43cf-bdaf-b95751a50a6f

View file

@ -1 +0,0 @@
5879041e-a22d-4581-bfc0-66691eb79874

View file

@ -11,7 +11,7 @@ Locked=1
Name=Development
IsRelative=1
Path=development
StoreID=aa80ffcc
StoreID=2ccf13ae
ShowSelector=1
[Profile0]
@ -26,11 +26,6 @@ ShowSelector=0
StartWithLastProfile=1
Version=2
[Profile4]
Name=testing
IsRelative=1
Path=4z689ygf.testing
[Install6C4726F70D182CF7]
Default=penelope
Locked=1
@ -40,3 +35,8 @@ Name=School
IsRelative=1
Path=school
[Profile4]
Name=testing
IsRelative=1
Path=4z689ygf.testing

View file

@ -60,3 +60,4 @@
.var/app/dev.vencord.Vesktop/config/vesktop/themes/Translucence.theme.css
.var/app/dev.vencord.Vesktop/config/vesktop/themes/source.css
.local/share/dbus-1/services
.config/sway-de-utils