do things
This commit is contained in:
parent
b4dfef1d6d
commit
f903d1b45e
11 changed files with 47 additions and 26 deletions
|
@ -14,5 +14,14 @@
|
|||
enableNushellIntegration = true;
|
||||
enableSshSupport = true;
|
||||
};
|
||||
fonts.fontconfig = {
|
||||
enable = true;
|
||||
defaultFonts = {
|
||||
emoji = [];
|
||||
monospace = [];
|
||||
sansSerif = ["Atkinson Hyperlegible"];
|
||||
serif = [];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
)
|
||||
(box
|
||||
:halign "end"
|
||||
(label :text "right")
|
||||
(label :text "${iceData.speed}km/h")
|
||||
)
|
||||
)
|
||||
(box
|
||||
|
@ -42,3 +42,9 @@
|
|||
)
|
||||
)
|
||||
)
|
||||
|
||||
(defpoll iceData
|
||||
:interval "2s"
|
||||
:initial ""
|
||||
`(iw dev wlp4s0 link | grep "WIFIonICE" > /dev/null) && curl https://iceportal.de/api1/rs/status`
|
||||
)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
)
|
||||
(box
|
||||
(progress
|
||||
:class { traveldings_data.live ? "traveldings_live" : "traveldings_disconnected" }
|
||||
:value {traveldings_data.progress * 100}
|
||||
:orientation "horizontal"
|
||||
)
|
||||
|
@ -29,20 +30,6 @@
|
|||
)
|
||||
)
|
||||
|
||||
(defwindow traveldingsWindow
|
||||
:monitor 0
|
||||
:stacking "overlay"
|
||||
:exclusive "false"
|
||||
:geometry (geometry
|
||||
:x "0%"
|
||||
:y "6.6%"
|
||||
:width "30%"
|
||||
:height "20%"
|
||||
:anchor "bottom center")
|
||||
(box
|
||||
:class "traveldingsWindow"
|
||||
(label :text "TODO"))
|
||||
)
|
||||
|
||||
(deflisten traveldings_data
|
||||
:initial "null"
|
||||
|
|
|
@ -22,12 +22,16 @@ label {
|
|||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.traveldings progressbar progress {
|
||||
.traveldings progressbar.traveldings_live progress {
|
||||
background-color: #79740e;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
.traveldings progressbar.traveldings_disconnected progress {
|
||||
background-color: #cc241d;
|
||||
}
|
||||
|
||||
|
||||
.traveldingsWindow {
|
||||
border-radius: 15px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env nu
|
||||
|
||||
const TABLE = [
|
||||
[ br vmax ];
|
||||
[ 401 280 ]
|
||||
[ 402 280 ]
|
||||
[ 403 330 ]
|
||||
[ 406 330 ]
|
||||
[ 407 320 ]
|
||||
[ 408 320 ]
|
||||
[ 411 230 ]
|
||||
[ 415 230 ]
|
||||
[ 412 265 ]
|
||||
[ 605 200 ]
|
||||
];
|
|
@ -112,8 +112,8 @@
|
|||
# "${mod}+Shift+c" = "focus child";
|
||||
# screenshot
|
||||
# "${mod}+w" = "exec window-screenshot.sh";
|
||||
"${mod}+s" = "exec flameshot gui -c -p $HOME/Pictures/screenshots";
|
||||
"${mod}+a" = "exec flameshot screen -c -p $HOME/Pictures/screenshots";
|
||||
"${mod}+s" = "exec gscreenshot -csf $HOME/Pictures/screenshots";
|
||||
"${mod}+a" = "exec gscreenshot -cf $HOME/Pictures/screenshots";
|
||||
# "${mod}+t" = "exec ocr-screenshot.sh";
|
||||
|
||||
# rofi fuckery
|
||||
|
@ -138,7 +138,6 @@
|
|||
"XF86KbdBrightnessUp" = "exec brillo -kA 10.0";
|
||||
"XF86KbdBrightnessDown" = "exec brillo -kU 10.0";
|
||||
};
|
||||
workspaceAutoBackAndForth = true;
|
||||
focus = {
|
||||
wrapping = "yes";
|
||||
};
|
||||
|
|
|
@ -100,6 +100,7 @@ in
|
|||
xclip
|
||||
xmacro
|
||||
xorg.xev
|
||||
gscreenshot
|
||||
|
||||
syncplay
|
||||
|
||||
|
|
|
@ -254,6 +254,8 @@
|
|||
"app.normandy.enabled" = false;
|
||||
"app.normandy.api_url" = "";
|
||||
"dom.private-attribution.submission.enabled" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.showWeather" = false;
|
||||
"browser.newtabpage.activity-stream.feeds.weatherfeed" = false;
|
||||
|
||||
"browser.safebrowsing.malware.enabled" = false;
|
||||
"browser.safebrowsing.phishing.enabled" = false;
|
||||
|
@ -319,8 +321,7 @@
|
|||
"privacy.window.maxInnerWidth" = 1600;
|
||||
"privacy.window.maxInnerHeight" = 900;
|
||||
"privacy.resistFingerprinting.block_mozAddonManager" = true;
|
||||
"privacy.resistFingerprinting.letterboxing" = true;
|
||||
"privacy.resistFingerprinting.letterboxing.dimensions" = "";
|
||||
"privacy.resistFingerprinting.letterboxing" = false;
|
||||
"widget.non-native-theme.enabled" = true;
|
||||
"browser.link.open_newwindow" = 3;
|
||||
"browser.link.open_newwindow.restriction" = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue