diff --git a/de/home/.config/eww/modules/bar/workspaces1.yuck b/de/home/.config/eww/modules/bar/workspaces1.yuck deleted file mode 100644 index f3ccde1..0000000 --- a/de/home/.config/eww/modules/bar/workspaces1.yuck +++ /dev/null @@ -1,50 +0,0 @@ -(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')})))) diff --git a/de/home/.config/kdeglobals b/de/home/.config/kdeglobals index 41327f1..41f03f0 100644 --- a/de/home/.config/kdeglobals +++ b/de/home/.config/kdeglobals @@ -24,7 +24,7 @@ Show Inline Previews=true Show Preview=false Show Speedbar=true Show hidden files=false -Sort by=Name +Sort by=Date Sort directories first=true Sort hidden files last=false Sort reversed=false diff --git a/de/home/.librewolf/profiles.ini b/de/home/.librewolf/profiles.ini index 916e623..f4ad665 100644 --- a/de/home/.librewolf/profiles.ini +++ b/de/home/.librewolf/profiles.ini @@ -19,18 +19,13 @@ Name=Penelope IsRelative=1 Path=penelope Default=1 -StoreID=0585997e +StoreID=a61d59be ShowSelector=0 [General] 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 + diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index 4648e01..ca9a26c 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -1,5 +1,10 @@ #!/bin/bash +if [[ -z ${ZELLIJ} ]]; then + zellij + exit +fi + hyfetch 2>/dev/null || true # Quality of Life