mirror of
https://github.com/Horhik/dotfiles.git
synced 2025-01-07 00:04:14 +00:00
some enviroment updates
This commit is contained in:
parent
4b68577800
commit
f65ef4e981
|
@ -3,10 +3,10 @@
|
|||
# Margin at the top of the notification center in pixels. This can be
|
||||
# used to avoid overlap between the notification center and bars such
|
||||
# as polybar or i3blocks.
|
||||
marginTop = 0
|
||||
marginTop = 70
|
||||
|
||||
# Margin at the bottom of the notification center in pixels.
|
||||
marginBottom = 0
|
||||
marginBottom = 50
|
||||
|
||||
# Margin to the right of the notification center in pixels.
|
||||
marginRight = 0
|
||||
|
@ -30,7 +30,7 @@ followMouse = true
|
|||
# If newFirst is set to true, newest notifications appear on the top
|
||||
# of the notification center. Else, notifications stack, from top to
|
||||
# bottom.
|
||||
newFirst = true
|
||||
newFirst = false
|
||||
|
||||
# Text size for the time in the notification center
|
||||
timeTextSize = 32px
|
||||
|
@ -78,7 +78,7 @@ notiDefaultTimeout = 10000
|
|||
|
||||
# Margin above notifications (in pixels). This can be used to avoid
|
||||
# overlap between notifications and a bar such as polybar or i3blocks.
|
||||
distanceTop = 20
|
||||
distanceTop = 36
|
||||
|
||||
# Margin on the right of the notification (in pixels).
|
||||
distanceRight = 20
|
||||
|
@ -124,7 +124,7 @@ imageMarginRight = 0
|
|||
# lines. If -1 is specified, the body text will not be truncated.
|
||||
# Applies only to popup notifications
|
||||
shortenBody = 40
|
||||
imageAlignment = fill
|
||||
imageAlignment = full
|
||||
|
||||
# The mouse button for closing a popup. Must be either "mouse1",
|
||||
# "mouse2", "mouse3", "mouse4", or "mouse5"
|
||||
|
@ -147,10 +147,10 @@ defaultActionButton = mouse3
|
|||
|
||||
|
||||
# Background color for the notification center.
|
||||
background = rgba(29, 27, 20, 0.5)
|
||||
background = rgba(29, 27, 20, 0.9)
|
||||
|
||||
# Background color for the notification popups.
|
||||
notiBackground = rgba(9, 0, 0, 0.6)
|
||||
notiBackground = rgba(9, 0, 0, 0.9)
|
||||
|
||||
# Color for the text (summary, body and application name) in
|
||||
# notification popups.
|
||||
|
|
500
home/eww/.config/eww/eww.scss
Normal file
500
home/eww/.config/eww/eww.scss
Normal file
|
@ -0,0 +1,500 @@
|
|||
$default-background: #282828;
|
||||
$second-background: #665c54;
|
||||
$hover-foreground: #b16286;
|
||||
$hover-background: #689d6a;
|
||||
$foreground: #ebdbb2;
|
||||
$border: 3px;
|
||||
*{
|
||||
all: unset;
|
||||
}
|
||||
window {
|
||||
background-color: $default-background;
|
||||
/* background-color: #000000; */
|
||||
color: #ffd5cd;
|
||||
margin: 0;
|
||||
border-radius: 3px;
|
||||
border-color: #a89984;
|
||||
padding: 0;
|
||||
font-family: Mononoki;
|
||||
}
|
||||
|
||||
button {
|
||||
all: unset;
|
||||
background-color: $default-background;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.musicart {
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
min-height: 200px;
|
||||
min-width: 260px;
|
||||
border-radius: $border;
|
||||
}
|
||||
|
||||
.musictitle {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.musicartist {
|
||||
font-size: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.musicbtn button {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.musicbtn button:hover {
|
||||
color: $hover-foreground;
|
||||
}
|
||||
|
||||
.volume scale trough {
|
||||
all: unset;
|
||||
background-color: $second-background;
|
||||
border-radius: $border;
|
||||
min-height: 5px;
|
||||
min-width: 200px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.volume scale trough highlight {
|
||||
all: unset;
|
||||
background-color: $foreground;
|
||||
color: #000000;
|
||||
border-radius: $border;
|
||||
&:hover, &:focus{
|
||||
|
||||
background-color: $hover-background;
|
||||
}
|
||||
}
|
||||
|
||||
.volume slider {
|
||||
all: unset;
|
||||
color: #ffd5cd;
|
||||
}
|
||||
|
||||
.number_day {
|
||||
padding-top: 10px;
|
||||
font-size: 35px;
|
||||
color: $hover-foreground;
|
||||
}
|
||||
|
||||
.month {
|
||||
font-weight: bold;
|
||||
// color: #c47eb7;
|
||||
}
|
||||
|
||||
.weather-icon-side {
|
||||
font-size: 45px;
|
||||
font-family: Iosevka;
|
||||
margin: 5px 30px 5px 30px;
|
||||
}
|
||||
.weather-stat-side {
|
||||
font-size: 16px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 5px;
|
||||
font-weight: bold;
|
||||
color: #D35D6E;
|
||||
}
|
||||
|
||||
.temperature-side {
|
||||
font-size: 16px;
|
||||
font-weight: 900;
|
||||
padding-top: 15px;
|
||||
padding-left: 10px;
|
||||
// color: #c47eb7;
|
||||
}
|
||||
|
||||
.musicart-side {
|
||||
// background-image: url("/tmp/xmonad/spotify/cover.png");
|
||||
background-size: 80px;
|
||||
min-height: 70px;
|
||||
min-width: 80px;
|
||||
margin: 15px;
|
||||
border-radius: $border;
|
||||
}
|
||||
.musicinfo-side {
|
||||
font-size: 15px;
|
||||
margin-top: 25px;
|
||||
margin-left: 5px;
|
||||
font-weight: bold;
|
||||
// margin: 20px;
|
||||
border-radius: $border;
|
||||
// border: 1px solid white;
|
||||
min-width: 40px;
|
||||
}
|
||||
.musicbtn-side {
|
||||
padding-left: 20px;
|
||||
padding-top: 8px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.musicbtn-side button {
|
||||
font-size: 16px;
|
||||
padding-right: 30px;
|
||||
}
|
||||
|
||||
.musicbtn-side button:hover {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.pause-play-side {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.pause-play-side:hover {
|
||||
color: #ffd5cd;
|
||||
}
|
||||
|
||||
.time-side {
|
||||
margin: 20px 65px 0px 65px;
|
||||
font-size: 60px;
|
||||
}
|
||||
.minute-side {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.day-side {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #90c861;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.sliders-side slider {
|
||||
all: unset;
|
||||
color: #ffd5cd;
|
||||
}
|
||||
.slider-vol-side {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.slider-vol-side scale trough highlight {
|
||||
all: unset;
|
||||
background-color: #c47eb7;
|
||||
color: #000000;
|
||||
border-radius: $border;
|
||||
}
|
||||
.slider-bright-side scale trough highlight {
|
||||
all: unset;
|
||||
background-color: #84afdb;
|
||||
color: #000000;
|
||||
border-radius: $border;
|
||||
}
|
||||
.slider-ram-side scale trough highlight {
|
||||
all: unset;
|
||||
background-color: #D35D6E;;
|
||||
color: #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.slider-battery-side scale trough highlight {
|
||||
all: unset;
|
||||
background-color: #90c861;
|
||||
color: #000000;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.slider-vol-side scale trough {
|
||||
all: unset;
|
||||
background-color: #4e4e4e;
|
||||
border-radius: 50px;
|
||||
min-height: 5px;
|
||||
min-width: 170px;
|
||||
margin-top: 10px;
|
||||
margin-left: 20px;
|
||||
}
|
||||
.slider-bright-side scale trough {
|
||||
all: unset;
|
||||
background-color: #4e4e4e;
|
||||
border-radius: 50px;
|
||||
min-height: 5px;
|
||||
min-width: 170px;
|
||||
margin-top: 10px;
|
||||
margin-left: 16px;
|
||||
}
|
||||
.slider-ram-side scale trough {
|
||||
all: unset;
|
||||
background-color: #4e4e4e;
|
||||
border-radius: 50px;
|
||||
min-height: 5px;
|
||||
min-width: 170px;
|
||||
margin-top: 10px;
|
||||
margin-left: 17px;
|
||||
}
|
||||
.slider-battery-side scale trough {
|
||||
all: unset;
|
||||
background-color: #4e4e4e;
|
||||
border-radius: 50px;
|
||||
min-height: 5px;
|
||||
min-width: 170px;
|
||||
margin-top: 10px;
|
||||
margin-left: 13px;
|
||||
}
|
||||
|
||||
.label-battery-side, .label-bright-side, .label-ram-side, .label-vol-side{
|
||||
margin-top: 10px;
|
||||
font-family: Iosevka;
|
||||
margin-left: 35px;
|
||||
font-size: 25px;
|
||||
}
|
||||
.label-bright-side {
|
||||
color: #84afdb;
|
||||
}
|
||||
.label-ram-side {
|
||||
font-size: 30px;
|
||||
color: #D35D6E;
|
||||
}
|
||||
.label-battery-side {
|
||||
font-size: 18px;
|
||||
color: #90c861;
|
||||
}
|
||||
.label-vol-side {
|
||||
color: #c47eb7;
|
||||
}
|
||||
|
||||
.search-side {
|
||||
border-radius: 12px;
|
||||
background-color: #272626;
|
||||
margin: 20px 30px 20px 30px;
|
||||
}
|
||||
.search-side:hover {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.sysbtn button {
|
||||
font-size: 30px;
|
||||
}
|
||||
.shutdown-side ~ button:hover {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.shutdown-side{
|
||||
color: #D35D6E;
|
||||
}
|
||||
.shutdown-side:hover{
|
||||
color: #ffd5cd;
|
||||
}
|
||||
.reboot-side{
|
||||
color: #84afdb;
|
||||
}
|
||||
.lock-side{
|
||||
color: #ffd5cd;
|
||||
}
|
||||
.suspend-side{
|
||||
color: #c47eb7;
|
||||
}
|
||||
.logout-side{
|
||||
color: #90c861;
|
||||
}
|
||||
|
||||
|
||||
// .calendar {
|
||||
// margin: 20px;
|
||||
// font-size: 16px;
|
||||
// }
|
||||
.calendar_title {
|
||||
margin: 20px 20px 0px 20px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.search-full {
|
||||
font-size: 50px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.search-full:hover {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.power-full {
|
||||
font-size: 60px;
|
||||
color: #D35D6E;
|
||||
}
|
||||
.power-full:hover {
|
||||
color: #ffd5cd;
|
||||
}
|
||||
.reboot-full {
|
||||
font-size: 60px;
|
||||
color: #84afdb
|
||||
}
|
||||
.reboot-full:hover {
|
||||
color: #D35D6E
|
||||
}
|
||||
.lock-full {
|
||||
font-size: 60px;
|
||||
color: #ffd5cd
|
||||
}
|
||||
.lock-full:hover {
|
||||
color: #D35D6E
|
||||
}
|
||||
.suspend-full {
|
||||
font-size: 60px;
|
||||
color: #c47eb7
|
||||
}
|
||||
.suspend-full:hover {
|
||||
color: #D35D6E
|
||||
}
|
||||
.logout-full {
|
||||
font-size: 60px;
|
||||
color: #90c861
|
||||
}
|
||||
.logout-full:hover {
|
||||
color: #D35D6E
|
||||
}
|
||||
|
||||
.pfp {
|
||||
background-image: url("~/.config/eww/images/p.png");
|
||||
background-repeat: no-repeat;
|
||||
background-size: 200px;
|
||||
min-height: 200px;
|
||||
min-width: 200px;
|
||||
margin: 80px 20px 0px 65px;
|
||||
border-radius: 500px;
|
||||
}
|
||||
.pfptxt {
|
||||
margin-top: 100px;
|
||||
color: #D35D6E;
|
||||
font-size: 36px;
|
||||
}
|
||||
.subpfptxt {
|
||||
margin-top: 10px;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.weather-icon {
|
||||
font-size: 120px;
|
||||
margin: 0px 0px 0px 40px;
|
||||
font-family: Iosevka;
|
||||
}
|
||||
.weather-stat {
|
||||
font-size: 30px;
|
||||
padding-top: 50px;
|
||||
padding-bottom: 25px;
|
||||
font-weight: bold;
|
||||
color: #D35D6E;
|
||||
}
|
||||
|
||||
.temperature {
|
||||
font-size: 48px;
|
||||
font-weight: 900;
|
||||
}
|
||||
.weather-quote {
|
||||
margin: 25px 10px 40px 10px;
|
||||
font-size: 20px;
|
||||
}
|
||||
.weather-quote-head, .weather-quote-tail {
|
||||
font-size: 18px;
|
||||
// font-weight: bold;
|
||||
// color: #90c861
|
||||
}
|
||||
|
||||
.l1, .l2, .l3, .l4, .l5, .l6 {
|
||||
font-size: 25px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.home-dir {
|
||||
margin: 10px;
|
||||
}
|
||||
.home-dir button:hover {
|
||||
color: #ffd5cd;
|
||||
}
|
||||
.l1 {
|
||||
color: #84afdb;
|
||||
}
|
||||
.l2 {
|
||||
// color: #90c861;
|
||||
}
|
||||
.l3 {
|
||||
color: #c47eb7;
|
||||
}
|
||||
.l4 {
|
||||
color: #D35D6E;
|
||||
}
|
||||
.l5 {
|
||||
// color: #90c861;
|
||||
}
|
||||
.l6 {
|
||||
color: #84afdb;
|
||||
}
|
||||
|
||||
.quote-main {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
margin-top: 20px;
|
||||
// margin-bottom: 20px;
|
||||
margin-left: 20px;
|
||||
color: #A5b3c0;
|
||||
}
|
||||
.quote-author {
|
||||
font-size: 18px;
|
||||
margin-right: 30px;
|
||||
margin-bottom: 10px;
|
||||
color: #84afdb;
|
||||
}
|
||||
.quote-tail {
|
||||
font-size: 18px;
|
||||
font-weight: bold;
|
||||
// margin-top: 20px;
|
||||
margin-bottom: 10px;
|
||||
margin-left: 20px;
|
||||
color: #A5b3c0;
|
||||
}
|
||||
|
||||
.screenshot-icon {
|
||||
color: #ffd5cd;
|
||||
font-size: 60px;
|
||||
margin-right: 5px;
|
||||
font-family: Iosevka;
|
||||
}
|
||||
|
||||
.vpn-icon {
|
||||
font-size: 60px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.incognito-icon {
|
||||
font-size: 60px;
|
||||
margin-right: 10px;
|
||||
color: #c47eb7;
|
||||
}
|
||||
.quote-box {
|
||||
// margin: 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.redshift scale trough {
|
||||
all: unset;
|
||||
background-color: $second-background;
|
||||
border-radius: $border;
|
||||
min-height: 50px;
|
||||
min-width: 260px;
|
||||
margin: 20px 0;
|
||||
border-radius:5px;
|
||||
}
|
||||
|
||||
.redshift scale trough highlight {
|
||||
all: unset;
|
||||
background-image: url("./gradient.jpg");
|
||||
background-size: 300px;
|
||||
color: #000000;
|
||||
border-radius: 0px;
|
||||
border-radius:5px;
|
||||
&:hover, &:focus{
|
||||
|
||||
background-color: $hover-background;
|
||||
}
|
||||
}
|
||||
|
||||
.redshift slider {
|
||||
border-radius:5px;
|
||||
all: unset;
|
||||
color: #ffd5cd;
|
||||
}
|
||||
|
||||
.tasktitle{
|
||||
color: $foreground;
|
||||
background-color: $second-background;
|
||||
border-radius: 4px;;
|
||||
padding: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.tasks--wrap{
|
||||
margin: 10px;
|
||||
}
|
498
home/eww/.config/eww/eww.xml
Normal file
498
home/eww/.config/eww/eww.xml
Normal file
|
@ -0,0 +1,498 @@
|
|||
<eww>
|
||||
<definitions>
|
||||
<def name="smol_calendar">
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box class="number_day">{{number_day}}</box>
|
||||
<box class="month">{{month}}</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="weather_side">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="weather-icon-side" style="color: {{weather-hex}}">{{weather-icon}}</box>
|
||||
<box class="weather-info-side" orientation="v" space-evenly="false">
|
||||
<box class="temperature-side">{{temperature}} </box>
|
||||
<box class="weather-stat-side">{{weather-stat-side}}</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
|
||||
<def name="weather_side">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="weather-icon-side" style="color: {{weather-hex}}">{{weather-icon}}</box>
|
||||
<box class="weather-info-side" orientation="v" space-evenly="false">
|
||||
<box class="temperature-side">{{temperature}} </box>
|
||||
<box class="weather-stat-side">{{weather-stat-side}}</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="player_side">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="musicart-side" style="background-image: url('{{cover}}');">{{art}}</box>
|
||||
|
||||
<box class="musicstuff-side" orientation="v" space-evenly="false">
|
||||
<box class="musicinfo-side">{{music3}}</box>
|
||||
<box class="musicinfo-side">{{temperature}}</box>
|
||||
<box orientation="h" halign="center" class="musicbtn-side" space-evenly="false">
|
||||
<button onclick="playerctl previous"></button>
|
||||
<button class="pause-play-side" onclick="playerctl play-pause">{{musicstat}}</button>
|
||||
<button onclick="playerctl next"></button>
|
||||
</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="tasks">
|
||||
<box orientation="v" space-evenly="false" class="tasks--wrap">
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks1}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks2}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks3}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks4}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks5}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks6}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks7}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks8}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks9}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks10}}</box>
|
||||
<box halign="start" width="10" class="tasktitle" >{{notion_tasks11}}</box>
|
||||
</box>
|
||||
</def>
|
||||
|
||||
<def name="player">
|
||||
<box orientation="v" space-evenly="false" class="musicart--wrap">
|
||||
<box class="musicart" style="background-image: url('{{cover}}'), url('{{cover}}');
|
||||
background-size: contain, 10px;
|
||||
background-repeat: no-repeat, repeat;
|
||||
">{{art}}</box>
|
||||
<box class="musictitle">{{music3}}</box>
|
||||
<box class="musicartist">{{music2}}</box>
|
||||
<box orientation="h" halign="center" class="musicbtn" space-evenly="false">
|
||||
<button onclick="playerctl previous"></button>
|
||||
<button onclick="playerctl play-pause">{{musicstat}}</button>
|
||||
<button onclick="playerctl next"></button>
|
||||
</box>
|
||||
<box orientation="h" class="volume" space-evenly="false" halign="center">
|
||||
<scale min="0" max="101" value="{{volume}}" onchange="amixer -D pulse sset Master {}%"/>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="redshift">
|
||||
<box orientation="v" space-evenly="false" >
|
||||
<box orientation="h" class="redshift" space-evenly="false" halign="center">
|
||||
<scale min="1000" max="10000" value="{{redshift_val}}" onchange="echo > /tmp/redshift {}%; redshift -P -O $(cat /tmp/redshift)"/>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
|
||||
<def name="smol_calendar">
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box class="number_day">{{number_day}}</box>
|
||||
<box class="month">{{month}}</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="weather_side">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="weather-icon-side" style="color: {{weather-hex}}">{{weather-icon}}</box>
|
||||
<box class="weather-info-side" orientation="v" space-evenly="false">
|
||||
<box class="temperature-side">{{temperature}} </box>
|
||||
<box class="weather-stat-side">{{weather-stat-side}}</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="player_side">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="musicart-side" style="background-image: url('{{cover}}');">{{art}}</box>
|
||||
<box class="musicstuff-side" orientation="v" space-evenly="false">
|
||||
<box class="musicinfo-side">{{music3}}</box>
|
||||
<box orientation="h" halign="center" class="musicbtn-side" space-evenly="false">
|
||||
<button onclick="playerctl previous"></button>
|
||||
<button class="pause-play-side" onclick="playerctl play-pause">{{musicstat}}</button>
|
||||
<button onclick="playerctl next"></button>
|
||||
</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="time_side">
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box orientation="h" class="time-side" space-evenly="true">
|
||||
<box class="hour-side">{{hour}}</box>
|
||||
<box class="minute-side">{{min}}</box>
|
||||
</box>
|
||||
<box class="day-side">{{day}}</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="sliders_side">
|
||||
<box orientation="v" space-evenly="false" class="sliders-side">
|
||||
<box orientation="h" class="slider-vol-side" space-evenly="false">
|
||||
<box class="label-vol-side"></box>
|
||||
<scale min="0" max="101" value="{{volume}}" onchange="amixer -D pulse sset Master {}%"/>
|
||||
</box>
|
||||
<box orientation="h" class="slider-bright-side" space-evenly="false">
|
||||
<box class="label-bright-side"></box>
|
||||
<scale min="0" max="101" value="{{bright}}" onchange="brightnessctl s {}%"/>
|
||||
</box>
|
||||
<box orientation="h" class="slider-ram-side" space-evenly="false">
|
||||
<box class="label-ram-side"></box>
|
||||
<scale min="0" active="false" max="101" value="{{ram-used}}"/>
|
||||
</box>
|
||||
<box orientation="h" class="slider-battery-side" space-evenly="false">
|
||||
<box class="label-battery-side">{{bat-icon}}</box>
|
||||
<scale min="0" active="false" max="101" value="{{battery-remaining}}"/>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="sys_side">
|
||||
<box orientation="v" space-evenly="false">
|
||||
<button class="search-side" onclick="~/bin/launcher.sh"> Search...</button>
|
||||
<box orientation="h" halign="center" class="sysbtn" space-evenly="true">
|
||||
<button class="shutdown-side" onclick="~/.config/eww/scripts/shutdown.sh"></button>
|
||||
<button class="reboot-side" onclick="~/.config/eww/scripts/reboot.sh"></button>
|
||||
<button class="lock-side" onclick="~/.config/eww/scripts/lockscreen.sh"></button>
|
||||
<button class="suspend-side" onclick="~/.config/eww/scripts/suspend.sh"></button>
|
||||
<button class="logout-side" onclick="~/.config/eww/scripts/logout.sh"></button>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="calendar_full">
|
||||
<box orientation="v" halign="center" space-evenly="false">
|
||||
<box class="calendar_title"> {{day}}, {{number_day}} {{month_full}} {{year_full}}</box>
|
||||
<box class="calendar">
|
||||
<calendar show-details="true"/>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="search_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="search-full" onclick="~/bin/launcher.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="power_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="power-full" onclick="~/.config/eww/scripts/shutdown.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="reboot_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="reboot-full" onclick="~/.config/eww/scripts/reboot.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="lock_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="lock-full" onclick="~/.config/eww/scripts/lockscreen.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="suspend_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="suspend-full" onclick="~/.config/eww/scripts/suspend.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="logout_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="logout-full" onclick="~/.config/eww/scripts/shutdown.sh"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="close_full">
|
||||
<box orientation="h" space-evenly="true">
|
||||
<button class="power-full" onclick="~/bin/centerkill"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="profile">
|
||||
<box orientation="v" space-evenly="false" class="profile">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="pfp"></box>
|
||||
</box>
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box class="pfptxt" valign="center">*Insert-Name-Here*</box>
|
||||
<box class="subpfptxt" halign="center">*Some-cheeky-line*</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="weather">
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box orientation="h" space-evenly="false">
|
||||
<box class="weather-icon" style="color: {{weather-hex}}">{{weather-icon}}</box>
|
||||
<box class="temperature">{{temperature}} </box>
|
||||
</box>
|
||||
<box orientation="v" space-evenly="false">
|
||||
<box class="weather-stat">{{weather-stat}}</box>
|
||||
<box class="weather-quote-head">{{weather-quote}}</box>
|
||||
<box class="weather-quote-tail">{{weather-quote2}}</box>
|
||||
</box>
|
||||
</box>
|
||||
</def>
|
||||
<def name="home_dir">
|
||||
<box orientation="v" space-evenly="true" class="home-dir">
|
||||
<button class="l1" onclick="(thunar ~/{{l1}})">{{l1-processed}}</button>
|
||||
<button class="l2" onclick="(thunar ~/{{l2}})">{{l2-processed}}</button>
|
||||
<button class="l3" onclick="(thunar ~/{{l3}})">{{l3-processed}}</button>
|
||||
<button class="l4" onclick="(thunar ~/{{l4}})">{{l4-processed}}</button>
|
||||
<button class="l5" onclick="(thunar ~/{{l5}})">{{l5-processed}}</button>
|
||||
<button class="l6" onclick="(thunar ~/{{l6}})">{{l6-processed}}</button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="quote">
|
||||
<box orientation="v" space-evenly="false" class="quote-box">
|
||||
<label class="quote-main" halign="start" text="{{quote}}{{quote-gen}}" wrap="true" width="25"/>
|
||||
<label class="quote-tail" halign="start" text="{{quote-tail}}" wrap="true" width="25"/>
|
||||
<label class="quote-author" text="- {{author-quote}}" halign="end"/>
|
||||
</box>
|
||||
</def>
|
||||
<def name="screenshot">
|
||||
<box orientation="v" space-evenly="true">
|
||||
<button class="screenshot-icon" onclick="flameshot gui"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="vpn">
|
||||
<box orientation="v" space-evenly="true">
|
||||
<button class="vpn-icon" onclick="~/.config/eww/scripts/vpntoggle" style="color: {{vpn-hex}}">嬨{{getvpnstat}}</button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="incognito">
|
||||
<box orientation="v" space-evenly="true">
|
||||
<button class="incognito-icon" onclick="firefox -private-window"></button>
|
||||
</box>
|
||||
</def>
|
||||
<def name="blur_full">
|
||||
<box orientation="v" space-evenly="true">
|
||||
</box>
|
||||
</def>
|
||||
<!-- <def name="powermenu">
|
||||
<box orientation="h" halign="center" class="sysbtn" space-evenly="true">
|
||||
<button class="shutdown-side" onclick="~/.config/eww/scripts/shutdown.sh"></button>
|
||||
<button class="reboot-side" onclick="~/.config/eww/scripts/reboot.sh"></button>
|
||||
<button class="lock-side" onclick="~/.config/eww/scripts/lockscreen.sh"></button>
|
||||
<button class="suspend-side" onclick="~/.config/eww/scripts/suspend.sh"></button>
|
||||
<button class="logout-side" onclick="~/.config/eww/scripts/logout.sh"></button>
|
||||
<button class="lock-side" onclick="exec ~/bin/eww close powermenu"></button>
|
||||
</box>
|
||||
</def> -->
|
||||
|
||||
</definitions>
|
||||
|
||||
<variables>
|
||||
<!-- Music vars -->
|
||||
<script-var name="music" interval="5s">playerctl metadata --format '{{ artist }} - {{ title }}'</script-var>
|
||||
<script-var name="music2" interval="5s">playerctl metadata --format '{{ artist }}'</script-var>
|
||||
<script-var name="music3" interval="5s">~/.config/eww/scripts/gettitle</script-var>
|
||||
<script-var name="art" interval="5s">~/.config/eww/scripts/getart</script-var>
|
||||
<script-var name="volume" interval="3ms">~/.config/eww/scripts/getvol</script-var>
|
||||
<script-var name="redshift_val" interval="3ms">~/.config/eww/scripts/getredshift</script-var>
|
||||
<script-var name="notion_tasks" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '0p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks1" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '1p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks2" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '2p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks3" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '3p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks4" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '4p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks5" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '5p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks6" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '6p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks7" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '7p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks8" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '8p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks9" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '9p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks10" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '10p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="notion_tasks11" interval="1m">a=$(~/.config/eww/scripts/gettasks | sed -n '11p'); echo ${a:0:6}</script-var>
|
||||
<script-var name="bright" interval="1ms">~/.config/eww/scripts/getbri</script-var>
|
||||
<script-var name="musicstat" interval="1s">~/.config/eww/scripts/getplaystatus</script-var>
|
||||
<script-var name="cover" interval="5s">~/.config/eww/scripts/echoart</script-var>
|
||||
|
||||
<!--Date vars-->
|
||||
<script-var name="number_day" interval="5h">date "+%d"</script-var>
|
||||
<script-var name="month" interval="10h">date "+%b"</script-var>
|
||||
<script-var name="min" interval="10s">date "+%M"</script-var>
|
||||
<script-var name="hour" interval="30m">date "+%H"</script-var>
|
||||
<script-var name="day" interval="15h">~/.config/eww/scripts/getday</script-var>
|
||||
<script-var name="month_full" interval="15h">date "+%B"</script-var>
|
||||
<script-var name="year_full" interval="15h">date "+%Y"</script-var>
|
||||
|
||||
<!--Weather vars-->
|
||||
<script-var name="weather-icon" interval="20m">cat /tmp/xmonad/weather/weather-icon</script-var>
|
||||
<script-var name="temperature" interval="20m">cat /tmp/xmonad/weather/weather-degree</script-var>
|
||||
<script-var name="weather-hex" interval="20m">cat /tmp/xmonad/weather/weather-hex</script-var>
|
||||
<script-var name="weather-quote" interval="20m">~/.config/eww/scripts/getwethquote</script-var>
|
||||
<script-var name="weather-quote2" interval="20m">~/.config/eww/scripts/getwethquote2</script-var>
|
||||
<script-var name="weather-stat" interval="20m">cat /tmp/xmonad/weather/weather-stat</script-var>
|
||||
<script-var name="weather-stat-side" interval="20m">~/.config/eww/scripts/weather-trimmer</script-var>
|
||||
|
||||
<!--Big brain RAM vars-->
|
||||
<script-var name="ram-used" interval="1s">~/.config/eww/scripts/getram</script-var>
|
||||
|
||||
<!--Battery charge vars-->
|
||||
<script-var name="battery-remaining" interval="2m">cat /sys/class/power_supply/BAT0/capacity</script-var>
|
||||
<script-var name="bat-icon" interval="2m">~/.config/tint2/scripts/battery.sh</script-var>
|
||||
|
||||
<!-- Home-dir stuff -->
|
||||
<script-var name="l1-processed" interval="20h">~/.config/eww/scripts/home-dir/l1-processed</script-var>
|
||||
<script-var name="l2-processed" interval="20h">~/.config/eww/scripts/home-dir/l2-processed</script-var>
|
||||
<script-var name="l3-processed" interval="20h">~/.config/eww/scripts/home-dir/l3-processed</script-var>
|
||||
<script-var name="l4-processed" interval="20h">~/.config/eww/scripts/home-dir/l4-processed</script-var>
|
||||
<script-var name="l5-processed" interval="20h">~/.config/eww/scripts/home-dir/l5-processed</script-var>
|
||||
<script-var name="l6-processed" interval="20h">~/.config/eww/scripts/home-dir/l6-processed</script-var>
|
||||
|
||||
<script-var name="l1" interval="20h">~/.config/eww/scripts/home-dir/l1</script-var>
|
||||
<script-var name="l2" interval="20h">~/.config/eww/scripts/home-dir/l2</script-var>
|
||||
<script-var name="l3" interval="20h">~/.config/eww/scripts/home-dir/l3</script-var>
|
||||
<script-var name="l4" interval="20h">~/.config/eww/scripts/home-dir/l4</script-var>
|
||||
<script-var name="l5" interval="20h">~/.config/eww/scripts/home-dir/l5</script-var>
|
||||
<script-var name="l6" interval="20h">~/.config/eww/scripts/home-dir/l6</script-var>
|
||||
|
||||
<!-- Quote vars -->
|
||||
<script-var name="author-quote" interval="10m">cat /tmp/xmonad/quotes/author</script-var>
|
||||
<script-var name="quote" interval="10m">cat /tmp/xmonad/quotes/quote</script-var>
|
||||
<script-var name="quote-gen" interval="30m">~/.config/eww/scripts/quotes</script-var>
|
||||
<script-var name="quote-tail" interval="10m">cat /tmp/xmonad/quotes/quote-tail</script-var>
|
||||
<script-var name="two_monitors" interval="5s">cat /tmp/xmonad/quotes/checkmonitor</script-var>
|
||||
|
||||
<!--Vpn stats-->
|
||||
<script-var name="getvpnstat" interval="10s">~/.config/eww/scripts/getvpnstat</script-var>
|
||||
<script-var name="vpn-hex" interval="10s">cat /tmp/xmonad/vpnstat-hex</script-var>
|
||||
|
||||
</variables>
|
||||
|
||||
<windows >
|
||||
<!-- Sidebar stuff -->
|
||||
|
||||
<window name="smol_calendar">
|
||||
<geometry x="10px" y="45px" width="80px" height="80px"/>
|
||||
<widget>
|
||||
<smol_calendar/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="weather_side">
|
||||
<geometry x="95px" y="45px" width="215px" height="80px"/>
|
||||
<widget>
|
||||
<weather_side/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="player_side">
|
||||
<geometry x="10px" y="270px" width="300px" height="110px"/>
|
||||
<widget>
|
||||
<player_side/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="time_side">
|
||||
<geometry x="10px" y="130px" width="300px" height="135px"/>
|
||||
<widget>
|
||||
<time_side/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="sliders_side">
|
||||
<geometry x="10px" y="385px" width="300px" height="205px"/>
|
||||
<widget>
|
||||
<sliders_side/>
|
||||
</widget >
|
||||
</window>
|
||||
<window name="sys_side">
|
||||
<geometry x="10px" y="595px" width="300px" height="153px"/>
|
||||
<widget>
|
||||
<sys_side/>
|
||||
</widget>
|
||||
</window>
|
||||
|
||||
<!-- Main Stuff -->
|
||||
<window name="calendar_full">
|
||||
<geometry x="229px" y="359px" width="100px" height="100px"/>
|
||||
<widget>
|
||||
<tasks/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="power_full">
|
||||
<geometry x="1410px" y="220px" width="120px" height="120px"/>
|
||||
<widget>
|
||||
<power_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="reboot_full">
|
||||
<geometry x="1410px" y="350px" width="120px" height="121px"/>
|
||||
<widget>
|
||||
<reboot_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="lock_full">
|
||||
<geometry x="1410px" y="482px" width="120px" height="121px"/>
|
||||
<widget>
|
||||
<lock_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="suspend_full">
|
||||
<geometry x="1410px" y="614px" width="120px" height="122px"/>
|
||||
<widget>
|
||||
<suspend_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="logout_full">
|
||||
<geometry x="1410px" y="748px" width="120px" height="122px"/>
|
||||
<widget>
|
||||
<logout_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="close_full">
|
||||
<geometry x="633px" y="861px" width="110px" height="122px"/>
|
||||
<widget>
|
||||
<close_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="player">
|
||||
<geometry x="810" y="360" width="300px" height="300px"/>
|
||||
<widget>
|
||||
<player/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="redshift" >
|
||||
<geometry x="810" y="690" width="300px" height="50px"/>
|
||||
<widget>
|
||||
<redshift/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="profile">
|
||||
<geometry x="390px" y="640" width="340px" height="520px"/>
|
||||
<widget>
|
||||
<profile/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="weather">
|
||||
<geometry x="740px" y="220px" width="410px" height="400px"/>
|
||||
<widget>
|
||||
<weather/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="home_dir">
|
||||
<geometry x="1160px" y="350px" width="240px" height="520px"/>
|
||||
<widget>
|
||||
<home_dir/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="quote">
|
||||
<geometry x="520px" y="750px" width="630px" height="120px"/>
|
||||
<widget>
|
||||
<quote/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="screenshot">
|
||||
<geometry x="1160px" y="220px" width="240px" height="120px"/>
|
||||
<widget>
|
||||
<screenshot/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="vpn-icon">
|
||||
<geometry x="740px" y="630px" width="200px" height="110px"/>
|
||||
<widget>
|
||||
<vpn/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="incognito-icon">
|
||||
<geometry x="950px" y="630px" width="200px" height="110px"/>
|
||||
<widget>
|
||||
<incognito/>
|
||||
</widget>
|
||||
</window>
|
||||
<window name="blur_full" screen="0">
|
||||
<geometry x="0px" y="0px" width="100%" height="100%"/>
|
||||
<widget>
|
||||
<blur_full/>
|
||||
</widget>
|
||||
</window>
|
||||
<!-- <window name="powermenu" focusable="true">
|
||||
<geometry x="35%" y="20%" width="30%" height="40%"/>
|
||||
<widget>
|
||||
<powermenu/>
|
||||
</widget>
|
||||
</window> -->
|
||||
</windows>
|
||||
</eww>
|
BIN
home/eww/.config/eww/gradient.jpg
Normal file
BIN
home/eww/.config/eww/gradient.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 MiB |
BIN
home/eww/.config/eww/images/image.png
Normal file
BIN
home/eww/.config/eww/images/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 56 KiB |
1
home/eww/.config/eww/images/lock.svg
Normal file
1
home/eww/.config/eww/images/lock.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg height="512pt" viewBox="-64 0 512 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m336 192h-16v-64c0-70.59375-57.40625-128-128-128s-128 57.40625-128 128v64h-16c-26.453125 0-48 21.523438-48 48v224c0 26.476562 21.546875 48 48 48h288c26.453125 0 48-21.523438 48-48v-224c0-26.476562-21.546875-48-48-48zm-229.332031-64c0-47.0625 38.269531-85.332031 85.332031-85.332031s85.332031 38.269531 85.332031 85.332031v64h-170.664062zm0 0"/></svg>
|
After Width: | Height: | Size: 452 B |
1
home/eww/.config/eww/images/logout.svg
Normal file
1
home/eww/.config/eww/images/logout.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg height="512pt" viewBox="0 0 512.00533 512" width="512pt" xmlns="http://www.w3.org/2000/svg"><path d="m320 277.335938c-11.796875 0-21.332031 9.558593-21.332031 21.332031v85.335937c0 11.753906-9.558594 21.332032-21.335938 21.332032h-64v-320c0-18.21875-11.605469-34.496094-29.054687-40.554688l-6.316406-2.113281h99.371093c11.777344 0 21.335938 9.578125 21.335938 21.335937v64c0 11.773438 9.535156 21.332032 21.332031 21.332032s21.332031-9.558594 21.332031-21.332032v-64c0-35.285156-28.714843-63.99999975-64-63.99999975h-229.332031c-.8125 0-1.492188.36328175-2.28125.46874975-1.027344-.085937-2.007812-.46874975-3.050781-.46874975-23.53125 0-42.667969 19.13281275-42.667969 42.66406275v384c0 18.21875 11.605469 34.496093 29.054688 40.554687l128.386718 42.796875c4.351563 1.34375 8.679688 1.984375 13.226563 1.984375 23.53125 0 42.664062-19.136718 42.664062-42.667968v-21.332032h64c35.285157 0 64-28.714844 64-64v-85.335937c0-11.773438-9.535156-21.332031-21.332031-21.332031zm0 0"/><path d="m505.75 198.253906-85.335938-85.332031c-6.097656-6.101563-15.273437-7.9375-23.25-4.632813-7.957031 3.308594-13.164062 11.09375-13.164062 19.714844v64h-85.332031c-11.777344 0-21.335938 9.554688-21.335938 21.332032 0 11.777343 9.558594 21.332031 21.335938 21.332031h85.332031v64c0 8.621093 5.207031 16.40625 13.164062 19.714843 7.976563 3.304688 17.152344 1.46875 23.25-4.628906l85.335938-85.335937c8.339844-8.339844 8.339844-21.824219 0-30.164063zm0 0"/></svg>
|
After Width: | Height: | Size: 1.4 KiB |
BIN
home/eww/.config/eww/images/p.png
Normal file
BIN
home/eww/.config/eww/images/p.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 158 KiB |
2
home/eww/.config/eww/scripts/a
Executable file
2
home/eww/.config/eww/scripts/a
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
a=echo ${($(~/.config/eww/scripts/gettasks | sed -n '1p')):0:40}
|
2
home/eww/.config/eww/scripts/checkmonitor
Executable file
2
home/eww/.config/eww/scripts/checkmonitor
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
if [ $(xrandr | grep 'HDMI1 connected' -c) = 1 ]; then echo 1; else echo 0; fi;
|
2
home/eww/.config/eww/scripts/echoart
Executable file
2
home/eww/.config/eww/scripts/echoart
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo "/tmp/xmonad/spotify/cover.png"
|
14
home/eww/.config/eww/scripts/getart
Executable file
14
home/eww/.config/eww/scripts/getart
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env zsh
|
||||
tmp_dir="/tmp/xmonad/spotify"
|
||||
tmp_cover_path=$tmp_dir/cover.png
|
||||
|
||||
if [ ! -d $tmp_dir ]; then
|
||||
mkdir -p $tmp_dir
|
||||
fi
|
||||
|
||||
artlink="$(playerctl metadata mpris:artUrl | sed -e 's/open.spotify.com/i.scdn.co/g')"
|
||||
|
||||
if [ $(playerctl metadata mpris:artUrl) ]; then
|
||||
curl -s "$artlink" --output $tmp_cover_path;
|
||||
else cp ~/.config/eww/images/image.png $tmp_cover_path;
|
||||
fi
|
2
home/eww/.config/eww/scripts/getbri
Executable file
2
home/eww/.config/eww/scripts/getbri
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
brightnessctl -m -d intel_backlight | awk -F, '{print substr($4, 0, length($4)-1)}' | tr -d '%'
|
20
home/eww/.config/eww/scripts/getday
Executable file
20
home/eww/.config/eww/scripts/getday
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/bash
|
||||
day_num=$(date "+%u")
|
||||
|
||||
if [ $day_num == 1 ]; then
|
||||
day="Monday"
|
||||
elif [ $day_num == 2 ]; then
|
||||
day="Tuesday"
|
||||
elif [ $day_num == 3 ]; then
|
||||
day="Wednesday"
|
||||
elif [ $day_num == 4 ]; then
|
||||
day="Thursday"
|
||||
elif [ $day_num == 5 ]; then
|
||||
day="Friday"
|
||||
elif [ $day_num == 6 ]; then
|
||||
day="Saturday"
|
||||
else
|
||||
day="Sunday"
|
||||
fi
|
||||
echo $day;
|
||||
|
6
home/eww/.config/eww/scripts/getplaystatus
Executable file
6
home/eww/.config/eww/scripts/getplaystatus
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
a=$(spotifystatus)
|
||||
if [ $a = 'Paused' ];
|
||||
then echo '';
|
||||
else echo ' ';
|
||||
fi
|
7
home/eww/.config/eww/scripts/getquotes
Executable file
7
home/eww/.config/eww/scripts/getquotes
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
tmp_dir="/tmp/xmonad/quotes"
|
||||
|
||||
if [ ! -d $tmp_dir ]; then
|
||||
mkdir -p $tmp_dir
|
||||
fi
|
||||
cp ~/.config/eww/scripts/quotes.json /tmp/xmonad/quotes/ && exec ~/.config/eww/scripts/quotes
|
2
home/eww/.config/eww/scripts/getram
Executable file
2
home/eww/.config/eww/scripts/getram
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
printf "%.0f\n" $(free -m | grep Mem | awk '{print ($3/$2)*100}')
|
3
home/eww/.config/eww/scripts/getredshift
Executable file
3
home/eww/.config/eww/scripts/getredshift
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
fl=$(echo $(cat "/tmp/redshift"))
|
||||
echo ${fl%.*} | tr -d '%'
|
3
home/eww/.config/eww/scripts/gettasks
Executable file
3
home/eww/.config/eww/scripts/gettasks
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
#~/.config/eww/scripts/notion_tasks > /tmp/notion
|
||||
cat /tmp/notion | jq '.[] .title '
|
12
home/eww/.config/eww/scripts/gettitle
Executable file
12
home/eww/.config/eww/scripts/gettitle
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
title=$(playerctl metadata --format '{{ title }}')
|
||||
count=$(echo -n "$title" | wc -c)
|
||||
if [ -z "$title" ]; then
|
||||
echo "Nothing Playing...";
|
||||
else
|
||||
if [ "$count" -le 18 ]; then
|
||||
echo $title
|
||||
else
|
||||
echo $(playerctl metadata --format '{{ title }}' | awk '{print $1, $2}')...
|
||||
fi
|
||||
fi
|
2
home/eww/.config/eww/scripts/getvol
Executable file
2
home/eww/.config/eww/scripts/getvol
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'
|
8
home/eww/.config/eww/scripts/getvpnstat
Executable file
8
home/eww/.config/eww/scripts/getvpnstat
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
status=$(protonvpn status | head -n1 | awk '{print $2}')
|
||||
|
||||
if [ "$status" == "Connected" ]; then
|
||||
echo "#90c861" > /tmp/xmonad/vpnstat-hex
|
||||
else
|
||||
echo "#D35D6E" > /tmp/xmonad/vpnstat-hex
|
||||
fi
|
126
home/eww/.config/eww/scripts/getweather
Executable file
126
home/eww/.config/eww/scripts/getweather
Executable file
|
@ -0,0 +1,126 @@
|
|||
#!/bin/bash
|
||||
|
||||
tmp_weather="/tmp/xmonad/weather"
|
||||
tmp_weather_stat=$tmp_weather/weather-stat
|
||||
tmp_weather_degree=$tmp_weather/weather-degree
|
||||
tmp_weather_quote=$tmp_weather/weather-quote
|
||||
tmp_weather_hex=$tmp_weather/weather-hex
|
||||
tmp_weather_icon=$tmp_weather/weather-icon
|
||||
|
||||
if [ ! -d $tmp_weather ]; then
|
||||
mkdir -p $tmp_weather
|
||||
fi
|
||||
|
||||
# Put in your api and stuff link here
|
||||
# If you dunno, head to openweathermap.org, and make and account
|
||||
#(completely free I swear, and then get your API Key and your City ID)
|
||||
# I wish I was smart enough to do it like Elena, but this is the top I could do lol
|
||||
KEY="API_KEY_HERE"
|
||||
ID="CITY_ID_HERE"
|
||||
UNIT="UNIT" #Options are 'metric' and 'imperial'
|
||||
weather=$(curl -sf "http://api.openweathermap.org/data/2.5/weather?APPID="$KEY"&id="$ID"&units="$UNIT"")
|
||||
echo $weather
|
||||
if [ ! -z "$weather" ]; then
|
||||
weather_temp=$(echo "$weather" | jq ".main.temp" | cut -d "." -f 1)
|
||||
weather_icon_code=$(echo "$weather" | jq -r ".weather[].icon" | head -1)
|
||||
weather_description=$(echo "$weather" | jq -r ".weather[].description" | head -1 | sed -e "s/\b\(.\)/\u\1/g")
|
||||
|
||||
#Big long if statement of doom
|
||||
if [ "$weather_icon_code" == "50d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
|
||||
weather_hex="#84afdb" #a7b8b2
|
||||
elif [ "$weather_icon_code" == "50n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
|
||||
weather_hex="#84afdb"
|
||||
elif [ "$weather_icon_code" == "01d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's a sunny day, gonna be fun! \nDon't go wandering all by yourself though..."
|
||||
weather_hex="#ffd86b"
|
||||
elif [ "$weather_icon_code" == "01n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's a clear night \nYou might want to take a evening stroll to relax..."
|
||||
weather_hex="#fcdcf6"
|
||||
elif [ "$weather_icon_code" == "02d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "02n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "03d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "03n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "04d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's cloudy, sort of gloomy \nYou'd better get a book to read..."
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "04n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's a cloudy night \nHow about some hot chocolate and a warm bed?"
|
||||
weather_hex="#adadff"
|
||||
elif [ "$weather_icon_code" == "09d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
|
||||
weather_hex="#6b95ff"
|
||||
elif [ "$weather_icon_code" == "09n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
|
||||
weather_hex="#6b95ff"
|
||||
elif [ "$weather_icon_code" == "10d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's rainy, it's a great day! \nGet some ramen and watch as the rain falls..."
|
||||
weather_hex="#6b95ff"
|
||||
elif [ "$weather_icon_code" == "10n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote=" It's gonna rain tonight it seems \nMake sure your clothes aren't still outside..."
|
||||
weather_hex="#6b95ff"
|
||||
elif [ "$weather_icon_code" == "11d" ]; then
|
||||
weather_icon=""
|
||||
weather_quote="There's storm for forecast today \nMake sure you don't get blown away..."
|
||||
weather_hex="#ffeb57"
|
||||
elif [ "$weather_icon_code" == "11n" ]; then
|
||||
weather_icon=""
|
||||
weather_quote="There's gonna be storms tonight \nMake sure you're warm in bed and the windows are shut..."
|
||||
weather_hex="#ffeb57"
|
||||
elif [ "$weather_icon_code" == "13d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's gonna snow today \nYou'd better wear thick clothes and make a snowman as well!"
|
||||
weather_hex="#e3e6fc"
|
||||
elif [ "$weather_icon_code" == "13n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="It's gonna snow tonight \nMake sure you get up early tomorrow to see the sights..."
|
||||
weather_hex="#e3e6fc"
|
||||
elif [ "$weather_icon_code" == "40d" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="Forecast says it's misty \nMake sure you don't get lost on your way..."
|
||||
weather_hex="#84afdb"
|
||||
elif [ "$weather_icon_code" == "40n" ]; then
|
||||
weather_icon=" "
|
||||
weather_quote="Forecast says it's a misty night \nDon't go anywhere tonight or you might get lost..."
|
||||
weather_hex="#84afdb"
|
||||
else
|
||||
weather_icon=" "
|
||||
weather_quote="Sort of odd, I don't know what to forecast \nMake sure you have a good time!"
|
||||
weather_hex="#adadff"
|
||||
fi
|
||||
echo "$weather_icon" > $tmp_weather_icon
|
||||
echo "$weather_description" > $tmp_weather_stat
|
||||
echo "$weather_temp""°C" > $tmp_weather_degree
|
||||
echo "$weather_quote" > $tmp_weather_quote
|
||||
echo "$weather_hex" > $tmp_weather_hex
|
||||
else
|
||||
echo "Weather Unavailable" > $tmp_weather_stat
|
||||
echo " " > $tmp_weather_icon
|
||||
echo "Ah well, no weather huh? \nEven if there's no weather, it's gonna be a great day!" > $tmp_weather_quote
|
||||
echo "-" > $tmp_weather_degree
|
||||
echo "#adadff" > $tmp_weather_hex
|
||||
fi
|
||||
|
3
home/eww/.config/eww/scripts/getwethquote
Executable file
3
home/eww/.config/eww/scripts/getwethquote
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
#Works only with zsh, I had bad experiences with bash. Feel free to modify for bash!
|
||||
echo $(cat /tmp/xmonad/weather/weather-quote) | head -n1
|
3
home/eww/.config/eww/scripts/getwethquote2
Executable file
3
home/eww/.config/eww/scripts/getwethquote2
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env zsh
|
||||
#Works only with zsh, I had bad experiences with bash. Feel free to modify for bash!
|
||||
echo $(cat /tmp/xmonad/weather/weather-quote) | tail -n1
|
2
home/eww/.config/eww/scripts/home-dir/l1
Executable file
2
home/eww/.config/eww/scripts/home-dir/l1
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n1 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l1-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l1-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n1 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
2
home/eww/.config/eww/scripts/home-dir/l2
Executable file
2
home/eww/.config/eww/scripts/home-dir/l2
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n2 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l2-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l2-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n2 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
2
home/eww/.config/eww/scripts/home-dir/l3
Executable file
2
home/eww/.config/eww/scripts/home-dir/l3
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n3 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l3-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l3-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n3 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
2
home/eww/.config/eww/scripts/home-dir/l4
Executable file
2
home/eww/.config/eww/scripts/home-dir/l4
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n4 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l4-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l4-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n4 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
2
home/eww/.config/eww/scripts/home-dir/l5
Executable file
2
home/eww/.config/eww/scripts/home-dir/l5
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n5 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l5-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l5-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n5 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
2
home/eww/.config/eww/scripts/home-dir/l6
Executable file
2
home/eww/.config/eww/scripts/home-dir/l6
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n6 | tail -n1)
|
2
home/eww/.config/eww/scripts/home-dir/l6-processed
Executable file
2
home/eww/.config/eww/scripts/home-dir/l6-processed
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $(ls ~/ | awk '{print $1}' | head -n6 | tail -n1 | sed -e "s/\b\(.\)/\u\1/g")
|
4
home/eww/.config/eww/scripts/lockscreen.sh
Executable file
4
home/eww/.config/eww/scripts/lockscreen.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
playerctl pause &
|
||||
amixer set Master mute &
|
||||
betterlockscreen -l
|
23
home/eww/.config/eww/scripts/logout.sh
Executable file
23
home/eww/.config/eww/scripts/logout.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
# Confirmation
|
||||
dir="~/.config/rofi/powermenu"
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
killall xmonad
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
40
home/eww/.config/eww/scripts/notion_tasks
Executable file
40
home/eww/.config/eww/scripts/notion_tasks
Executable file
|
@ -0,0 +1,40 @@
|
|||
#!/bin/python3
|
||||
from datetime import datetime
|
||||
import datetime as dt
|
||||
from notion.client import NotionClient
|
||||
import os;
|
||||
import json;
|
||||
token = os.getenv('NOTION_TERMINAL')
|
||||
# Obtain the `token_v2` value by inspecting your browser cookies on a logged-in (non-guest) session on Notion.so
|
||||
client = NotionClient(token_v2=token)
|
||||
|
||||
# Replace this URL with the URL of the page you want to edit
|
||||
tasks_page = client.get_collection_view("https://www.notion.so/horhi/27aec2f782da43dd9068642032deb790?v=3196bac2fc7140439d37e614b950359c")
|
||||
tasks = []
|
||||
today_tasks = []
|
||||
curr_datetime = datetime.now()
|
||||
curr_date = curr_datetime.date()
|
||||
|
||||
|
||||
for task in tasks_page.collection.get_rows():
|
||||
tasks.append(task)
|
||||
deadline = task.deadline
|
||||
if(hasattr(deadline, 'start')):
|
||||
if (hasattr(deadline, 'start') and not task.status):
|
||||
curr_dead = deadline.start
|
||||
if (curr_date >= datetime.combine(curr_dead, dt.time.max).date()):
|
||||
props = task.get_all_properties()
|
||||
_task = {
|
||||
'title': task.title,
|
||||
'state': props['status'],
|
||||
'date': datetime.combine(curr_dead, dt.time.max).date().strftime('%Y-%m-%d'),
|
||||
'time': props['time'],
|
||||
'url' : task.get_browseable_url()
|
||||
}
|
||||
today_tasks.append(_task)
|
||||
|
||||
print(json.dumps(today_tasks))
|
||||
# Note: You can use Markdown! We convert on-the-fly to Notion's internal formatted text data structure.
|
||||
#page.title = "Tasks"
|
||||
|
||||
# + format(prop("time")) + " 🍅", if((end(prop("Deadline")) > now() or empty(prop("Deadline"))) and empty(prop("time")), "📥", if(prop("time") > 0, format(prop("time")) + " 🍅", "🔥"))
|
17
home/eww/.config/eww/scripts/quotes
Executable file
17
home/eww/.config/eww/scripts/quotes
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
num=$(echo $((1 + $RANDOM % 500)))
|
||||
|
||||
cat /tmp/xmonad/quotes/quotes.json | jq --arg num "$num" ".[$num]" | jq -r ".text" > /tmp/xmonad/quotes/quote
|
||||
cat /tmp/xmonad/quotes/quotes.json | jq --arg num "$num" ".[$num]" | jq -r ".author" > /tmp/xmonad/quotes/author
|
||||
|
||||
quote=$(cat /tmp/xmonad/quotes/quote)
|
||||
qc=$(cat /tmp/xmonad/quotes/quote | wc -c)
|
||||
rm /tmp/xmonad/quotes/quote
|
||||
rm /tmp/xmonad/quotes/quote-tail
|
||||
if [ "$qc" -le 58 ]; then
|
||||
echo "$quote" > /tmp/xmonad/quotes/quote
|
||||
echo "" > /tmp/xmonad/quotes/quote-tail
|
||||
else
|
||||
printf '%s\n' "${quote:0:${#quote}/2}" > /tmp/xmonad/quotes/quote
|
||||
printf '%s\n' "${quote:${#quote}/2}" > /tmp/xmonad/quotes/quote-tail
|
||||
fi
|
6574
home/eww/.config/eww/scripts/quotes.json
Normal file
6574
home/eww/.config/eww/scripts/quotes.json
Normal file
File diff suppressed because it is too large
Load diff
23
home/eww/.config/eww/scripts/reboot.sh
Executable file
23
home/eww/.config/eww/scripts/reboot.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
# Confirmation
|
||||
dir="~/.config/rofi/powermenu"
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl reboot
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
23
home/eww/.config/eww/scripts/shutdown.sh
Executable file
23
home/eww/.config/eww/scripts/shutdown.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
# Confirmation
|
||||
dir="~/.config/rofi/powermenu"
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl poweroff
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
25
home/eww/.config/eww/scripts/suspend.sh
Executable file
25
home/eww/.config/eww/scripts/suspend.sh
Executable file
|
@ -0,0 +1,25 @@
|
|||
# Confirmation
|
||||
dir="~/.config/rofi/powermenu"
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
killall eww
|
||||
systemctl suspend
|
||||
betterlockscreen -l
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
10
home/eww/.config/eww/scripts/vpntoggle
Executable file
10
home/eww/.config/eww/scripts/vpntoggle
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
status=$(protonvpn status | head -n1 | awk '{print $2}')
|
||||
|
||||
if [ "$status" == "Connected" ]; then
|
||||
alacritty -e doas protonvpn d
|
||||
echo "#90c861" > /tmp/xmonad/vpnstat-hex
|
||||
else
|
||||
alacritty -e doas protonvpn c
|
||||
echo "#D35D6E" > /tmp/xmonad/vpnstat-hex
|
||||
fi
|
9
home/eww/.config/eww/scripts/weather-trimmer
Executable file
9
home/eww/.config/eww/scripts/weather-trimmer
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
weather=$(cat /tmp/xmonad/weather/weather-stat)
|
||||
weather_count=$(cat /tmp/xmonad/weather/weather-stat | wc -c)
|
||||
|
||||
if [ "$weather_count" -lt 10 ]; then
|
||||
echo $weather;
|
||||
else
|
||||
echo $(cat /tmp/xmonad/weather/weather-stat | cut -c1-6)...
|
||||
fi
|
|
@ -4,8 +4,8 @@ ShowHidden=false
|
|||
ShowSizeColumn=true
|
||||
GeometryX=0
|
||||
GeometryY=0
|
||||
GeometryWidth=991
|
||||
GeometryHeight=742
|
||||
GeometryWidth=914
|
||||
GeometryHeight=993
|
||||
SortColumn=modified
|
||||
SortOrder=ascending
|
||||
StartupMode=recent
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
file:///home/horhik/.config/eww
|
||||
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
|
||||
file:///usr/share/icons/Papirus-Dark/96x96
|
||||
file:///tmp/mozilla_horhik0
|
||||
file:///home/horhik/code
|
||||
|
|
|
@ -20,8 +20,8 @@ rounded-corners-rule = [
|
|||
"5:class_g = 'Deadd-notification-center'",
|
||||
|
||||
];
|
||||
corner-radius = 8;
|
||||
round-borders = 8;
|
||||
corner-radius = 3;
|
||||
round-borders = 3;
|
||||
round-borders-exclude = [
|
||||
"name = 'Notification area'"
|
||||
];
|
||||
|
@ -30,18 +30,20 @@ round-borders-rule = [
|
|||
"3:class_g = 'XTerm'",
|
||||
"3:class_g = 'URxvt'",
|
||||
"3:class_g = 'Alacritty'",
|
||||
"3:class_g = 'eww'",
|
||||
"0:name = 'xmobar'",
|
||||
"0:class_g = 'Xmobar'",
|
||||
"0:class_g = 'xmonad'",
|
||||
"5:class_g = 'Dunst'",
|
||||
"3:class_g = 'eww'",
|
||||
"5:class_g = 'Signal'",
|
||||
"5:class_g = 'Deadd-notification-center'",
|
||||
];
|
||||
shadow = true;
|
||||
shadow-radius = 10;
|
||||
shadow-opacity = 0.75
|
||||
shadow-offset-x = -8;
|
||||
shadow-offset-y = -8;
|
||||
shadow-radius = 5;
|
||||
shadow-opacity = 0.4
|
||||
shadow-offset-x = -1;
|
||||
shadow-offset-y = -1;
|
||||
shadow-exclude = [
|
||||
|
||||
"name = 'Polybar'",
|
||||
|
@ -52,6 +54,7 @@ shadow-exclude = [
|
|||
"class_g *= 'dwm'",
|
||||
"class_g = 'Polybar'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
|
@ -66,8 +69,8 @@ inactive-opacity-override = false;
|
|||
inactive-dim = 0
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
opacity-rule = [
|
||||
"55:name *= 'cava'",
|
||||
"55:class_g *= 'cava'",
|
||||
"00:name *= 'blur_full'",
|
||||
"75:class_g *= 'Spotify'",
|
||||
"85:class_g *= 'Anki'",
|
||||
|
||||
"85:class_g *= 'Go-for-it'",
|
||||
|
@ -86,6 +89,7 @@ opacity-rule = [
|
|||
"85:name *= 'scratchpad'",
|
||||
"85:class_g= 'Dunst'",
|
||||
"85:name *= 'Rust Programming Language'",
|
||||
"95:class_g = 'Deadd-notification-center'",
|
||||
"85:class_g *= 'ticktick'"
|
||||
]
|
||||
|
||||
|
@ -93,8 +97,8 @@ opacity-rule = [
|
|||
blur:
|
||||
{
|
||||
method = "kawase";
|
||||
size = 90;
|
||||
deviation = 7.0;
|
||||
size = 50;
|
||||
deviation = 9.0;
|
||||
};
|
||||
|
||||
|
||||
|
@ -340,8 +344,8 @@ wintypes:
|
|||
opacity = 0.9;
|
||||
|
||||
focus = true;
|
||||
corner-radius = 8;
|
||||
round-borders = 8;
|
||||
corner-radius = 3;
|
||||
round-borders = 3;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
|
||||
(defvar package-list
|
||||
'( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative neotree racer cargo flycheck-rust rust-mode gruvbox-theme evil general use-package))
|
||||
'( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative racer cargo flycheck-rust rust-mode gruvbox-theme evil general use-package treemacs treemacs-all-the-icons treemacs-evil))
|
||||
|
||||
(dolist (p package-list)
|
||||
(when (not (package-installed-p p))
|
||||
|
@ -35,7 +35,7 @@
|
|||
;; (lambda (package)
|
||||
;; (or (package-installed-p package)
|
||||
;; (package-install package)))
|
||||
;; '( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative neotree racer cargo flycheck-rust rust-mode gruvbox-theme evil general))
|
||||
;; '( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative racer cargo flycheck-rust rust-mode gruvbox-theme evil general))
|
||||
|
||||
|
||||
|
||||
|
@ -45,9 +45,9 @@
|
|||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("8d7684de9abb5a770fbfd72a14506d6b4add9a7d30942c6285f020d41d76e0fa" "4cf9ed30ea575fb0ca3cff6ef34b1b87192965245776afa9e9e20c17d115f3fb" "b89ae2d35d2e18e4286c8be8aaecb41022c1a306070f64a66fd114310ade88aa" "aded61687237d1dff6325edb492bde536f40b048eab7246c61d5c6643c696b7f" default))
|
||||
'("7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" "8d7684de9abb5a770fbfd72a14506d6b4add9a7d30942c6285f020d41d76e0fa" "4cf9ed30ea575fb0ca3cff6ef34b1b87192965245776afa9e9e20c17d115f3fb" "b89ae2d35d2e18e4286c8be8aaecb41022c1a306070f64a66fd114310ade88aa" "aded61687237d1dff6325edb492bde536f40b048eab7246c61d5c6643c696b7f" default))
|
||||
'(package-selected-packages
|
||||
'(spaceline lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative neotree racer cargo flycheck-rust rust-mode gruvbox-theme evil ##)))
|
||||
'(treemacs-magit treemacs-icons-dired spaceline lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative treemacs treemacs-evil treemacs-all-the-icons racer cargo flycheck-rust rust-mode gruvbox-theme evil ##)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
@ -80,16 +80,13 @@
|
|||
|
||||
(require 'linum-relative)
|
||||
(setq display-line-numbers 'relative)
|
||||
;; neotree
|
||||
(setq neo-theme (if (display-graphic-p) 'icons 'arrow))
|
||||
|
||||
|
||||
;; mode line
|
||||
(require 'doom-modeline)
|
||||
(doom-modeline-mode 1)
|
||||
|
||||
|
||||
;; KeyBindings
|
||||
(require 'neotree)
|
||||
|
||||
|
||||
|
||||
|
@ -102,7 +99,7 @@
|
|||
|
||||
(add-to-map "<SPC> f" 'lusty-file-explorer)
|
||||
(add-to-map "<SPC> b" 'lusty-buffer-explorer)
|
||||
(add-to-map "<SPC> o" 'neotree-toggle)
|
||||
(add-to-map "<SPC> o" 'treemacs)
|
||||
(add-to-map "<SPC> s" 'save-buffer)
|
||||
(add-to-map "<SPC> <SPC>" 'execute-extended-command)
|
||||
|
||||
|
@ -143,6 +140,30 @@
|
|||
:ensure t
|
||||
:init (global-flycheck-mode))
|
||||
|
||||
(use-package treemacs
|
||||
:ensure t
|
||||
:defer t
|
||||
:init
|
||||
(with-eval-after-load 'winum
|
||||
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
|
||||
:config
|
||||
(progn
|
||||
(treemacs-follow-mode t)
|
||||
(treemacs-filewatch-mode t)
|
||||
(treemacs-fringe-indicator-mode 'always)
|
||||
))
|
||||
(use-package treemacs-evil
|
||||
:after (treemacs evil)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-icons-dired
|
||||
:after (treemacs dired)
|
||||
:ensure t
|
||||
:config (treemacs-icons-dired-mode))
|
||||
|
||||
(use-package treemacs-magit
|
||||
:after (treemacs magit)
|
||||
:ensure t)
|
||||
|
||||
|
||||
(add-hook 'after-init-hook (lambda() (interactive)))
|
||||
|
@ -154,3 +175,4 @@
|
|||
|
||||
;; Rust
|
||||
(setq lsp-rust-server 'rust-analyzer)
|
||||
|
||||
|
|
178
home/pure_emacs/.emacs~
Normal file
178
home/pure_emacs/.emacs~
Normal file
|
@ -0,0 +1,178 @@
|
|||
|
||||
;;; Emacs dotfile
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░░░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
;; ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
||||
(require 'package)
|
||||
|
||||
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "http://melpa.org/packages/"))
|
||||
|
||||
(package-initialize)
|
||||
|
||||
(unless package-archive-contents
|
||||
(package-refresh-contents))
|
||||
|
||||
|
||||
(defvar package-list
|
||||
'( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative racer cargo flycheck-rust rust-mode gruvbox-theme evil general use-package treemacs treemacs-all-the-icons treemacs-evil))
|
||||
|
||||
(dolist (p package-list)
|
||||
(when (not (package-installed-p p))
|
||||
(package-install p)))
|
||||
|
||||
;;(mapc
|
||||
;; (lambda (package)
|
||||
;; (or (package-installed-p package)
|
||||
;; (package-install package)))
|
||||
;; '( lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative racer cargo flycheck-rust rust-mode gruvbox-theme evil general))
|
||||
|
||||
|
||||
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" "8d7684de9abb5a770fbfd72a14506d6b4add9a7d30942c6285f020d41d76e0fa" "4cf9ed30ea575fb0ca3cff6ef34b1b87192965245776afa9e9e20c17d115f3fb" "b89ae2d35d2e18e4286c8be8aaecb41022c1a306070f64a66fd114310ade88aa" "aded61687237d1dff6325edb492bde536f40b048eab7246c61d5c6643c696b7f" default))
|
||||
'(package-selected-packages
|
||||
'(spaceline lsp-mode rustic evil-mc rainbow-delimiters doom-themes doom-modeline lusty-explorer ac-racer auto-complete all-the-icons linum-relative treemacs treemacs-evil treemacs-all-the-icons racer cargo flycheck-rust rust-mode gruvbox-theme evil ##)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
(require 'use-package)
|
||||
|
||||
;; AutoComplition
|
||||
(ac-config-default)
|
||||
(global-auto-complete-mode t)
|
||||
|
||||
;; Evil mode
|
||||
(require 'evil)
|
||||
(evil-mode 1)
|
||||
(require 'evil-mc)
|
||||
(evil-mc-mode 1) ;; enable
|
||||
|
||||
|
||||
;; Appearance
|
||||
;; Font
|
||||
(add-to-list 'default-frame-alist '(font . "Mononoki Nerd Font" ))
|
||||
(set-face-attribute 'default t :font "Mononoki Nerd Font" )
|
||||
;; theme
|
||||
(load-theme 'gruvbox-dark-medium)
|
||||
|
||||
(menu-bar-mode -1)
|
||||
(toggle-scroll-bar -1)
|
||||
(tool-bar-mode -1)
|
||||
|
||||
(require 'linum-relative)
|
||||
(setq display-line-numbers 'relative)
|
||||
|
||||
|
||||
;; mode line
|
||||
(require 'doom-modeline)
|
||||
(doom-modeline-mode 1)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(defun add-to-map(keys func)
|
||||
"Add a keybinding in evil mode from keys to func."
|
||||
(define-key evil-normal-state-map (kbd keys) func)
|
||||
(define-key evil-motion-state-map (kbd keys) func))
|
||||
|
||||
(add-to-map "<SPC>" nil)
|
||||
|
||||
(add-to-map "<SPC> f" 'lusty-file-explorer)
|
||||
(add-to-map "<SPC> b" 'lusty-buffer-explorer)
|
||||
(add-to-map "<SPC> o" 'treemacs)
|
||||
(add-to-map "<SPC> s" 'save-buffer)
|
||||
(add-to-map "<SPC> <SPC>" 'execute-extended-command)
|
||||
|
||||
(defun open-file (file)
|
||||
"just more shortest function for opening the file"
|
||||
(interactive)
|
||||
((lambda (file) (interactive)
|
||||
(find-file (expand-file-name (format "%s" file)))) file ) )
|
||||
|
||||
(general-evil-setup)
|
||||
(general-nmap
|
||||
:prefix "SPC"
|
||||
;; dotfiles editing config
|
||||
"e e" (lambda() (interactive) (find-file "~/.emacs" ))
|
||||
"e v" (lambda() (interactive) (find-file "~/.config/nvim/init.vim" ))
|
||||
"e d" (lambda() (interactive) (find-file "~/dotfiles/home" ))
|
||||
"e a" (lambda() (interactive) (find-file "~/.config/alacritty/alacritty.yml" ))
|
||||
;; evil-mc
|
||||
"c u" 'evil-mc-undo-all-cursors
|
||||
"c j" 'evil-mc-make-and-goto-prev-cursor
|
||||
"c k" 'evil-mc-make-and-goto-next-cursor
|
||||
"c m" 'evil-mc-make-all-cursors
|
||||
)
|
||||
|
||||
;; bind in motion state (inherited by the normal, visual, and operator states)
|
||||
(general-mmap
|
||||
"N" 'evil-mc-make-cursor-in-visual-selection-beg
|
||||
)
|
||||
;; alternatively, for shorter names
|
||||
(general-evil-setup t)
|
||||
(mmap)
|
||||
|
||||
(setq vc-follow-symlinks t)
|
||||
|
||||
;; Syntax
|
||||
(require 'flycheck)
|
||||
(use-package flycheck
|
||||
:ensure t
|
||||
:init (global-flycheck-mode))
|
||||
|
||||
(use-package treemacs
|
||||
:ensure t
|
||||
:defer t
|
||||
:init
|
||||
(with-eval-after-load 'winum
|
||||
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
|
||||
:config
|
||||
(progn
|
||||
(treemacs-follow-mode t)
|
||||
(treemacs-filewatch-mode t)
|
||||
(treemacs-fringe-indicator-mode 'always)
|
||||
))
|
||||
(use-package treemacs-evil
|
||||
:after (treemacs evil)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-icons-dired
|
||||
:after (treemacs dired)
|
||||
:ensure t
|
||||
:config (treemacs-icons-dired-mode))
|
||||
|
||||
(use-package treemacs-magit
|
||||
:after (treemacs magit)
|
||||
:ensure t)
|
||||
|
||||
|
||||
(add-hook 'after-init-hook (lambda() (interactive)))
|
||||
(find-file "~/.emacs")
|
||||
(setq inhibit-startup-message t)
|
||||
(setq initial-scratch-message ";; Happy Hacking")
|
||||
|
||||
|
||||
|
||||
;; Rust
|
||||
(setq lsp-rust-server 'rust-analyzer)
|
||||
|
1830
home/scripts/.local/scripts/bin/dmenu_emoji
Executable file
1830
home/scripts/.local/scripts/bin/dmenu_emoji
Executable file
File diff suppressed because it is too large
Load diff
11
home/scripts/.local/scripts/eww-toggl
Executable file
11
home/scripts/.local/scripts/eww-toggl
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
eww
|
||||
|
||||
mon=$(~/.config/eww/scripts/checkmonitor);
|
||||
if [ $(cat /tmp/eww_open) ]; then eww open redshift --monitor $mon;
|
||||
eww open player --monitor $mon;
|
||||
# eww open calendar_full --monitor $mon;
|
||||
rm /tmp/eww_open;
|
||||
else eww close-all;
|
||||
echo true > /tmp/eww_open;
|
||||
fi;
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
#your toggl api token
|
||||
TOGGL_API_TOKEN= #here
|
||||
TOGGL_API_TOKEN=7b42e9971bd0e27f68f9270a446ed7d2
|
||||
res=$(curl -u $TOGGL_API_TOKEN:api_token \
|
||||
-X GET https://api.track.toggl.com/api/v8/time_entries/current)
|
||||
echo $res
|
||||
|
|
|
@ -135,5 +135,9 @@ compile_and_run() {
|
|||
alias rdr=compile_and_run
|
||||
alias aia=ankiaudio
|
||||
alias picom="killall picom; picom --experimental-backends &;"
|
||||
alias cc="cargo check"
|
||||
alias ct="cargo test"
|
||||
alias gc="git clone"
|
||||
alias gs="git status"
|
||||
|
||||
pfetch
|
||||
|
|
Loading…
Reference in a new issue