Tweaks and changes for tycho station

This commit is contained in:
Ezri Brimhall 2024-06-20 12:12:16 -06:00
parent ee531ca36b
commit 4b0c81ea3d
Signed by: ezri
GPG Key ID: 058A78E5680C6F24
12 changed files with 42 additions and 56 deletions

View File

@ -12,7 +12,7 @@
(defwindow leftbar
:monitor 1
:geometry (geometry :width "100%"
:geometry (geometry :width "1440px"
:height "36px"
:anchor "top center")
:exclusive true
@ -40,7 +40,7 @@
(defwindow rightbar
:monitor 2
:geometry (geometry :width "100%"
:geometry (geometry :width "1440px"
:height "36px"
:anchor "top center")
:exclusive true

View File

@ -14,9 +14,9 @@ except:
from gi.repository import Playerctl, GLib
title_maxlen = 30
title_maxlen = 40
title_end_at = ["(", "-"]
artist_maxlen = 30
artist_maxlen = 40
album_maxlen = 30
# Split on these characters, take the first part, and strip whitespace
# from the result. This can be used to remove subtitles (like " - Remastered" or " (feat. Artist)").

View File

@ -141,7 +141,6 @@
:space-evenly false
:spacing 20
:class "rightbox"
(aggietime-shift)
(vpn-network)
(network)
(mpris2)

View File

@ -39,14 +39,14 @@ column_meter_modes_0=2 2 2 2 2 2
column_meters_1=AllCPUs2 Blank MemorySwap
column_meter_modes_1=1 2 1
tree_view=0
sort_key=46
sort_key=47
tree_sort_key=46
sort_direction=-1
tree_sort_direction=-1
tree_view_always_by_pid=0
all_branches_collapsed=0
screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command
.sort_key=PERCENT_CPU
.sort_key=PERCENT_MEM
.tree_sort_key=PERCENT_CPU
.tree_view_always_by_pid=0
.tree_view=0

View File

@ -3,11 +3,11 @@
### ###
set $leftdisplay "HP Inc. HP Z27n G2 6CM0151FHY"
set $centerdisplay "HP Inc. HP Z27n G2 6CM0151FLX"
set $centerdisplay "Hewlett Packard HP S340c CN490508SQ"
set $rightdisplay "HP Inc. HP Z27n G2 6CM0151FD4"
output {
$leftdisplay pos 0 0 mode 2560x1440 transform 270
$centerdisplay pos 1440 510 mode 2560x1440 transform 0
$rightdisplay pos 4000 30 mode 2560x1440 transform 90
$leftdisplay pos 0 0 mode 2560x1440@60Hz transform 270
$centerdisplay pos 1440 450 mode 3440x1440 transform 0
$rightdisplay pos 4880 0 mode 2560x1440@60Hz transform 90
}

View File

@ -2,7 +2,8 @@
#timeout 10 'pgrep swaylock &> /dev/null && swaymsg "output * power off"' resume 'pgrep swaylock &> /dev/null && swaymsg "output * power on" && gpg-connect-agent UPDATESTARTUPTTY /bye'
#timeout 15 'pgrep swaylock &> /dev/null && pkill -u 1000 -SIGSTOP electron' resume 'pgrep swaylock &> /dev/null && pkill -u 1000 -SIGCONT electron'
timeout 120 'pgrep swaylock &> /dev/null && systemctl suspend'
timeout 150 'loginctl lock-session'
timeout 600 'systemctl suspend'
lock ~/.local/bin/screenlock
before-sleep 'loginctl lock-session'
unlock 'pkill -SIGUSR1 swaylock'

View File

@ -68,9 +68,9 @@
{
"index": 9,
"name": "project",
"exec": "firefox",
"args": ["--new-window"],
"program_name": "firefox"
"exec": "firefox-developer-edition",
"args": ["-start-debugger-server", "--new-window"],
"program_name": "firefox-developer-edition"
},
{
"index": 10,
@ -142,6 +142,11 @@
"name": "slack",
"exec": "slack",
"program_name": "slack",
"args": [
"--enable-features=UseOzonePlatform",
"--ozone-platform=wayland",
"--enable-gpu-rasterization"
],
"memory_profile": {
"high": "800M",
"max": "1.2G"

View File

@ -18,7 +18,7 @@
"timeout": 10,
"timeout-low": 5,
"timeout-critical": 0,
"fit-to-screen": true,
"fit-to-screen": false,
"relative-timestamps": true,
"control-center-width": 500,
"control-center-height": 600,
@ -26,7 +26,7 @@
"keyboard-shortcuts": true,
"image-visibility": "when-available",
"transition-time": 200,
"hide-on-clear": false,
"hide-on-clear": true,
"hide-on-action": true,
"script-fail-notify": true,
"scripts": {

View File

@ -1,13 +1,13 @@
@define-color cc-bg rgba(30, 30, 30, 0.8);
@define-color cc-bg rgb(30, 30, 30);
@define-color noti-border-color #815986;
@define-color noti-border-color-low #3f3242;
@define-color noti-border-color-critical #cf6a4c;
@define-color noti-bg rgba(30, 30, 30, 0.8);
@define-color noti-bg rgb(30, 30, 30);
@define-color noti-bg-opaque #1e1e1e;
@define-color noti-bg-darker #1a1a1a;
@define-color noti-bg-hover rgba(32, 32, 32, 0.8);
@define-color noti-bg-hover rgb(32, 32, 32);
@define-color noti-bg-hover-opaque #202020;
@define-color noti-bg-focus rgba(40, 40, 40, 0.8);
@define-color noti-bg-focus rgb(40, 40, 40);
@define-color noti-close-bg rgba(255, 255, 255, 0.1);
@define-color noti-close-bg-hover rgba(255, 255, 255, 0.15);
@define-color text-color #9b859d;
@ -158,11 +158,12 @@
.text-box
.summary {
/* Notification summary/title */
font-size: 16px;
font-size: 20px;
font-weight: bold;
background: transparent;
color: @text-color;
text-shadow: none;
font-family: "Nebula";
}
.notification-row
@ -431,6 +432,7 @@
/* The Control Center which contains the old notifications + widgets */
background: @cc-bg;
color: @text-color;
border: 1px solid @noti-border-color;
}
.control-center .control-center-list-placeholder {

View File

@ -60,7 +60,8 @@ eval $(awk '{print "OS_" $0}' /etc/os-release)
eval $(awk '{print "MACHINE_" $0}' /etc/machine-info)
eval $(awk '{print "PERSONAL_" $0}' ${HOME}/.personal-info 2>/dev/null)
if [[ -z ${MACHINE_CHASSIS} ]]; then MACHINE_CHASSIS=$(hostnamectl chassis); fi
if [[ -z ${MACHINE_CHASSIS} ]]; then MACHINE_CHASSIS=$(hostnamectl chassis 2>/dev/null); fi
if [[ -z ${MACHINE_CHASSIS} ]]; then MACHINE_CHASSIS="desktop"; fi
if [[ ${MACHINE_CHASSIS} != "container" ]]; then
# Only check if a reboot is necessary if we're not in a container

View File

@ -700,6 +700,5 @@ After installing the ~rust-analyzer~ program, the following can be used:
* TRAMP Customization
#+BEGIN_SRC emacs-lisp
;; (add-to-list 'tramp-default-proxies-alist '(nil "\\`root\\'" "/ssh:%h:"))
;; (add-to-list 'tramp-default-proxies-alist (quote ((,(regexp-quote (system-name)) "\\`root\\'" nil))))
(add-hook 'after-init-hook 'tramp-nspawn-setup)
#+END_SRC

View File

@ -1,7 +1,5 @@
#!/usr/bin/env zsh
#i3lock -u -i ~/.config/i3lock/background -e -f
background="#1e1e1e"
#inside="#2d272f"
inside=$background
@ -13,32 +11,13 @@ red="#cf6a4c"
purple="#815986"
swaylock --font 'Source Sans Pro' --font-size 15 \
--indicator-radius 80 --indicator-thickness 10 \
--inside-color $inside --inside-clear-color $inside --inside-caps-lock-color $inside \
--inside-ver-color $inside --inside-wrong-color $inside \
--key-hl-color $purple --bs-hl-color $red \
--caps-lock-key-hl-color $orange --caps-lock-bs-hl-color $red \
--ring-color $purple --ring-clear-color $yellow --ring-caps-lock-color $orange \
--ring-ver-color $purple --ring-wrong-color $red -n \
--text-color $purple --text-clear-color $yellow --text-caps-lock-color $orange \
--text-ver-color $purple --text-wrong-color $red \
-c $background -F -f --ignore-empty-password --indicator-idle-visible
sleep 1
#result=$(/usr/bin/node $(which aggietimed) -s /run/user/1000/aggietimed.sock --action clock-in 2>/dev/null)
# If the last command reported 'err' as true, or if it exited
# non-zero, then the user did not clock in successfully. In this case,
# we want to display a notification to the user that they did not
# clock in successfully.
# if [[ $? -ne 0 ]] || [[ $result == *"err"* ]] || [[ $result == *"ERR:"* ]]; then
# # Check to see if the user is clocked in already
# # If they are, then don't display a notification
# shift_data=$(/usr/bin/node $(which aggietimed) -s /run/user/1000/aggietimed.sock --action current-shift 2>/dev/null)
# if [[ $? -ne 0 ]] || [[ ${shift_data} == "null" ]] || [[ ${shift_data} == *"err"* ]] || [[ ${shift_data} == *"ERR:"* ]]; then
# notify-send "Clock In Failed" "You were not successfully clocked in, please go to the website and clock in manually." -u critical -a "AggieTime"
# fi
# fi
--indicator-radius 80 --indicator-thickness 10 \
--inside-color $inside --inside-clear-color $inside --inside-caps-lock-color $inside \
--inside-ver-color $inside --inside-wrong-color $inside \
--key-hl-color $purple --bs-hl-color $red \
--caps-lock-key-hl-color $orange --caps-lock-bs-hl-color $red \
--ring-color $purple --ring-clear-color $yellow --ring-caps-lock-color $orange \
--ring-ver-color $purple --ring-wrong-color $red -n \
--text-color $purple --text-clear-color $yellow --text-caps-lock-color $orange \
--text-ver-color $purple --text-wrong-color $red \
-i "DP-1:$HOME/Images/Lockscreen.png" -c $background -F -f --ignore-empty-password --indicator-idle-visible