New backup 2025-03-12 15:00:02

This commit is contained in:
Penelope Gwen 2025-03-12 15:00:02 -07:00
parent f0da2d8ae8
commit 465707d6b6
8 changed files with 17 additions and 11 deletions

View file

@ -16,7 +16,7 @@
(profile) (profile)
(workspaces :array workspacesArray) (workspaces :array workspacesArray)
(windowtitle) (windowtitle)
(scratchpad :array scratchpadArray))) (scratchpad)))
;(deflisten scratchpadArray :initial "${[1]}" ;(deflisten scratchpadArray :initial "${[1]}"
; 'scripts/bar/scratchpad') ; 'scripts/bar/scratchpad')

View file

@ -8,5 +8,4 @@
:value value :value value
:start-at 0 :start-at 0
:thickness 10 :thickness 10
:clockwise true :clockwise true)))
:onchange onchange)))

View file

@ -2,7 +2,7 @@
(box (box
:class "${class} revealer-on-hover" :class "${class} revealer-on-hover"
:orientation "h" :orientation "h"
:space-evently false :space-evenly false
(eventbox (eventbox
:onhover "${EWW_CMD} update ${revealvar-name}=true" :onhover "${EWW_CMD} update ${revealvar-name}=true"
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false" :onhoverlost "${EWW_CMD} update ${revealvar-name}=false"

View file

@ -1,10 +1,17 @@
(defvar reveal_scratchpad false)
(defwidget scratchpad []
(revealer-on-hover
:revealvar reveal_scratchpad
:revealvar-name "reveal_scratchpad"
""
(scratchpad_children :array scratchpadArray)))
(deflisten scratchpadArray :initial "${[1]}" (deflisten scratchpadArray :initial "${[1]}"
'scripts/bar/scratchpad') 'scripts/bar/scratchpad')
(defwidget scratchpad [array] (defwidget scratchpad_children [array]
(box :orientation "h" (box :orientation "h"
:space-evenly false :space-evenly false
:class "workspaces" ; :class "workspaces"
; (box :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'
:tooltip "${entry.name} :tooltip "${entry.name}

View file

@ -4,8 +4,7 @@
:revealvar reveal_sysdisk :revealvar reveal_sysdisk
:revealvar-name "reveal_sysdisk" :revealvar-name "reveal_sysdisk"
(metric :label "/home " (metric :label "/home "
:value {EWW_DISK["/home"].used_perc} :value {EWW_DISK["/home"].used_perc})
:onchange "")
(sysdisk_children))) (sysdisk_children)))
(defwidget sysdisk_children [] (defwidget sysdisk_children []

View file

@ -6,7 +6,6 @@
{reveal_tray ? "" : ""} {reveal_tray ? "" : ""}
(tray_children))) (tray_children)))
(defwidget tray_children [] (defwidget tray_children []
(box :class "tray_children" (box :class "tray_children"
:orientation "h" :orientation "h"

View file

@ -20,3 +20,5 @@ input 1267:12811:ELAN0683:00_04F3:320B_Touchpad {
click_method clickfinger click_method clickfinger
dwt disabled dwt disabled
} }
seat * hide_cursor 5000

View file

@ -16,7 +16,7 @@ bindsym $mod+Backslash exec "sp-profiles Work"
# bindsym $mod+Shift+n move container to workspace number n # bindsym $mod+Shift+n move container to workspace number n
# Profile Workspace Setup # Profile Workspace Setup
exec_always "sp-profiles Personal;swaymsg workspace number "0:";swaymsg gaps left current set 310;swaymsg move workspace to output $primary_display" exec "sp-profiles Personal;swaymsg workspace number "0:";swaymsg gaps left current set 310;swaymsg move workspace to output $primary_display"
bindsym $mod+grave workspace "0:" bindsym $mod+grave workspace "0:"
bindsym $mod+Shift+grave move container to workspace number "0:" bindsym $mod+Shift+grave move container to workspace number "0:"
exec "swaymsg 'rename workspace 1 to 1:'" exec "swaymsg 'rename workspace 1 to 1:'"