new rice
This commit is contained in:
parent
9d6cf0e29f
commit
14dd1c3a0a
1
.bashrc
1
.bashrc
@ -1,5 +1,4 @@
|
|||||||
alias ls="ls -a --color"
|
alias ls="ls -a --color"
|
||||||
alias ssh="kitten ssh"
|
|
||||||
alias giturl="git config --get remote.origin.url"
|
alias giturl="git config --get remote.origin.url"
|
||||||
alias push="git push"
|
alias push="git push"
|
||||||
alias commit="git commit"
|
alias commit="git commit"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
exec-once="hyprpaper"
|
exec-once="hyprpaper"
|
||||||
exec-once="waybar"
|
exec-once="waybar"
|
||||||
exec-once="dunst"
|
#exec-once="dunst"
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
@ -51,7 +51,7 @@ input {
|
|||||||
kb_layout = gb
|
kb_layout = gb
|
||||||
repeat_delay = 200
|
repeat_delay = 200
|
||||||
repeat_rate = 50
|
repeat_rate = 50
|
||||||
kb_options = caps:escape
|
kb_options = caps:escape,compose:ralt
|
||||||
}
|
}
|
||||||
|
|
||||||
# Monitors
|
# Monitors
|
||||||
|
Binary file not shown.
@ -41,14 +41,106 @@
|
|||||||
"clock"
|
"clock"
|
||||||
],
|
],
|
||||||
"modules-right": [
|
"modules-right": [
|
||||||
"custom/cmusinfo",
|
|
||||||
"pulseaudio/slider",
|
|
||||||
"network",
|
|
||||||
"tray",
|
"tray",
|
||||||
|
"group/specs",
|
||||||
|
"group/cmus",
|
||||||
|
"group/audio",
|
||||||
|
"network",
|
||||||
|
"group/power",
|
||||||
],
|
],
|
||||||
"custom/cmusinfo": {
|
"tray": {
|
||||||
|
"spacing": 20,
|
||||||
|
},
|
||||||
|
"group/audio": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 300,
|
||||||
|
"children-class": "not-power",
|
||||||
|
"transition-right-to-left": true,
|
||||||
|
},
|
||||||
|
"modules": ["pulseaudio","pulseaudio/slider"],
|
||||||
|
},
|
||||||
|
"group/power": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 300,
|
||||||
|
"children-class": "not-power",
|
||||||
|
"transition-right-to-left": true,
|
||||||
|
},
|
||||||
|
"modules": [
|
||||||
|
"custom/power", // First element is the "group leader" and won't ever be hidden
|
||||||
|
"custom/quit",
|
||||||
|
"custom/lock",
|
||||||
|
"custom/reboot",
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"custom/quit": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "hyprctl dispatch exit"
|
||||||
|
},
|
||||||
|
"custom/lock": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "hyprlock"
|
||||||
|
},
|
||||||
|
"custom/reboot": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "reboot"
|
||||||
|
},
|
||||||
|
"custom/power": {
|
||||||
|
"format": "",
|
||||||
|
"tooltip": false,
|
||||||
|
"on-click": "shutdown now"
|
||||||
|
},
|
||||||
|
"memory": {
|
||||||
|
"format": "{used}/{total} GB ",
|
||||||
|
"on-click": "flatpak run io.github.cosmic_utils.Examine",
|
||||||
|
},
|
||||||
|
"cpu": {
|
||||||
|
"format": "{}% ",
|
||||||
|
"on-click": "flatpak run io.github.cosmic_utils.Examine",
|
||||||
|
},
|
||||||
|
"group/specs": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 300,
|
||||||
|
"transition-right-to-left": true
|
||||||
|
},
|
||||||
|
"modules": ["custom/specsicon","cpu", "memory"],
|
||||||
|
},
|
||||||
|
"custom/specsicon": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "flatpak run io.github.cosmic_utils.Examine",
|
||||||
|
},
|
||||||
|
"group/cmus": {
|
||||||
|
"orientation": "inherit",
|
||||||
|
"drawer": {
|
||||||
|
"transition-duration": 300,
|
||||||
|
"transition-right-to-left": true
|
||||||
|
},
|
||||||
|
"modules": ["custom/cmusicon","custom/cmussong","custom/cmusartist"],
|
||||||
|
},
|
||||||
|
"custom/cmusicon": {
|
||||||
|
"format": " ",
|
||||||
|
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
|
||||||
|
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
|
||||||
|
"on-scroll-down": "ssh max@192.168.1.193 cmus-remote -v -10%",
|
||||||
|
"on-scroll-up": "ssh max@192.168.1.193 cmus-remote -v +10%",
|
||||||
|
},
|
||||||
|
"custom/cmussong": {
|
||||||
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep title | sed 's/tag title //'",
|
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep title | sed 's/tag title //'",
|
||||||
"format": " {}",
|
"format": "{}",
|
||||||
|
"interval": 1,
|
||||||
|
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
|
||||||
|
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
|
||||||
|
"on-scroll-down": "ssh max@192.168.1.193 cmus-remote -v -10%",
|
||||||
|
"on-scroll-up": "ssh max@192.168.1.193 cmus-remote -v +10%",
|
||||||
|
},
|
||||||
|
"custom/cmusartist": {
|
||||||
|
"exec": "ssh max@192.168.1.193 cmus-remote -Q | grep albumartist | sed 's/tag albumartist //'",
|
||||||
|
"format": "{}",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
|
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
|
||||||
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
|
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
|
||||||
@ -59,7 +151,7 @@
|
|||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"show-special": true,
|
"show-special": true,
|
||||||
"all-outputs": true,
|
"all-outputs": true,
|
||||||
"move-to-monitor": true,
|
"move-to-monitor": false,
|
||||||
"wrap-on-scroll": false,
|
"wrap-on-scroll": false,
|
||||||
"format": "{icon}{name}",
|
"format": "{icon}{name}",
|
||||||
"format-active": "[{name}]",
|
"format-active": "[{name}]",
|
||||||
@ -67,7 +159,10 @@
|
|||||||
"urgent": "!",
|
"urgent": "!",
|
||||||
"active": "",
|
"active": "",
|
||||||
"default": ""
|
"default": ""
|
||||||
}
|
},
|
||||||
|
"persistent-workspaces": {
|
||||||
|
"*": [ 1,2,3,4,5,6,7,8,9,0 ],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "enp5s0",
|
"interface": "enp5s0",
|
||||||
@ -144,29 +239,11 @@
|
|||||||
"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
|
"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
},
|
},
|
||||||
"cpu": {
|
|
||||||
"format": "{}% "
|
|
||||||
},
|
|
||||||
"memory": {
|
|
||||||
"format": "{}% "
|
|
||||||
},
|
|
||||||
"custom/time": {
|
"custom/time": {
|
||||||
"exec": "bash $HOME/scripts/time.sh --hex",
|
"exec": "bash $HOME/scripts/time.sh --hex",
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
"interval": 1,
|
"interval": 1,
|
||||||
},
|
},
|
||||||
"custom/lock": {
|
|
||||||
"on-click": "hyprlock",
|
|
||||||
"format": "",
|
|
||||||
},
|
|
||||||
"custom/shutdown": {
|
|
||||||
"on-click": "shutdown now",
|
|
||||||
"format": "",
|
|
||||||
},
|
|
||||||
"custom/reboot": {
|
|
||||||
"on-click": "reboot",
|
|
||||||
"format": "",
|
|
||||||
},
|
|
||||||
"custom/server-cava": {
|
"custom/server-cava": {
|
||||||
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
|
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
|
||||||
"format": "{}",
|
"format": "{}",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
* {
|
* {
|
||||||
font-family: 'VictorMono';
|
font-family: Roboto, Helvetica, Arial, sans-serif,"Font Awesome 5 Free";
|
||||||
}
|
}
|
||||||
#pulseaudio-slider slider {
|
#pulseaudio-slider slider {
|
||||||
min-height: 0px;
|
min-height: 0px;
|
||||||
@ -67,22 +67,44 @@ window#waybar.left {
|
|||||||
color: #282828;
|
color: #282828;
|
||||||
background: #ebdbb2;
|
background: #ebdbb2;
|
||||||
}
|
}
|
||||||
|
#custom-power,
|
||||||
|
#custom-lock,
|
||||||
|
#custom-reboot,
|
||||||
|
#custom-quit,
|
||||||
|
#custom-specsicon,
|
||||||
|
#custom-cmusicon,
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#clock,
|
#clock,
|
||||||
#network,
|
#network,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#tray,
|
#tray,
|
||||||
#custom-cmusinfo {
|
#custom-cmussong,
|
||||||
|
#custom-cmusartist,
|
||||||
|
#cpu,
|
||||||
|
#memory,
|
||||||
|
#disk,
|
||||||
|
#temperature {
|
||||||
color: #ebdbb2;
|
color: #ebdbb2;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
margin: 6px;
|
margin: 6px;
|
||||||
}
|
}
|
||||||
|
#custom-power:hover,
|
||||||
|
#custom-lock:hover,
|
||||||
|
#custom-reboot:hover,
|
||||||
|
#custom-quit:hover,
|
||||||
|
#custom-specsicon:hover,
|
||||||
|
#custom-cmusicon:hover,
|
||||||
#clock:hover,
|
#clock:hover,
|
||||||
#network:hover,
|
#network:hover,
|
||||||
#pulseaudio:hover,
|
#pulseaudio:hover,
|
||||||
#tray:hover,
|
#tray:hover,
|
||||||
#custom-cmusinfo:hover {
|
#custom-cmussong:hover,
|
||||||
|
#custom-cmusartist:hover,
|
||||||
|
#cpu:hover,
|
||||||
|
#memory:hover,
|
||||||
|
#disk:hover,
|
||||||
|
#temperature:hover {
|
||||||
background-color: #282828;
|
background-color: #282828;
|
||||||
}
|
}
|
||||||
|
10
scripts/album-cover.sh
Executable file
10
scripts/album-cover.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
# Find the path of the mp3 file
|
||||||
|
mp3_path=$(ssh max@192.168.1.193 cmus-remote -Q | grep file | sed "s/file //" | tr " " "\\ ")
|
||||||
|
echo $mp3_path
|
||||||
|
|
||||||
|
# Extract the jpg of it
|
||||||
|
ssh max@192.168.1.193 ffmpeg -i '$mp3_path' -an -c:v copy file.jpg
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user