t480 | notes and configs for linux on t480
kandi X-RAY | t480 Summary
kandi X-RAY | t480 Summary
These are my personal notes & configs for running Arch Linux on a Lenovo ThinkPad T480. I run a somewhat minimal setup: x, bspwm, sxhkd, dmenu, polybar, urxvt, fish, firefox, and vscodium.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of t480
t480 Key Features
t480 Examples and Code Snippets
Community Discussions
Trending Discussions on t480
QUESTION
I'm trying to make script that monitor laptops (T480) batteries. There are 2 batteries, internal and external. Externals information seems to disappear capacity
while it's charging.
/sys/class/power_supply/BAT0/capacity
Problem
I made check for the charging, if the file exists, problem is that it pass the -f
on missing capacity
, it's ASCII text
so it shouldn't be a problem.
Script
I've tried -e
-d
-c
too, but no success.
ANSWER
Answered 2021-May-21 at 12:07Converting my comment to an answer
/sys/class/power_supply/BAT0
is a symlink, as shown by the output of ls -lta
:
QUESTION
I got an email from Github saying that they are deprecating user/pass authentication for git operations next summer. user/pass was what was using inside VSCode to push/pull.
I set up my SSH and added it to my github account. And I can connect from the command line properly:
...ANSWER
Answered 2020-Dec-19 at 08:43This has nothing to do with VS Code. The URL of the remote repository is stored in your local repository.
Open a command-line/shell and cd to your code.
Then, check the current remote URL:
git remote -v
The result looks probably similar to this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install t480
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page