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 ssh="kitten ssh"
|
||||
alias giturl="git config --get remote.origin.url"
|
||||
alias push="git push"
|
||||
alias commit="git commit"
|
||||
|
@ -1,6 +1,6 @@
|
||||
exec-once="hyprpaper"
|
||||
exec-once="waybar"
|
||||
exec-once="dunst"
|
||||
#exec-once="dunst"
|
||||
|
||||
env = XCURSOR_SIZE,24
|
||||
env = HYPRCURSOR_SIZE,24
|
||||
@ -51,7 +51,7 @@ input {
|
||||
kb_layout = gb
|
||||
repeat_delay = 200
|
||||
repeat_rate = 50
|
||||
kb_options = caps:escape
|
||||
kb_options = caps:escape,compose:ralt
|
||||
}
|
||||
|
||||
# Monitors
|
||||
|
Binary file not shown.
@ -41,14 +41,106 @@
|
||||
"clock"
|
||||
],
|
||||
"modules-right": [
|
||||
"custom/cmusinfo",
|
||||
"pulseaudio/slider",
|
||||
"network",
|
||||
"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 //'",
|
||||
"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,
|
||||
"on-click": "ssh max@192.168.1.193 cmus-remote -u",
|
||||
"on-click-right": "ssh max@192.168.1.193 cmus-remote -n",
|
||||
@ -59,7 +151,7 @@
|
||||
"disable-scroll": true,
|
||||
"show-special": true,
|
||||
"all-outputs": true,
|
||||
"move-to-monitor": true,
|
||||
"move-to-monitor": false,
|
||||
"wrap-on-scroll": false,
|
||||
"format": "{icon}{name}",
|
||||
"format-active": "[{name}]",
|
||||
@ -67,7 +159,10 @@
|
||||
"urgent": "!",
|
||||
"active": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"*": [ 1,2,3,4,5,6,7,8,9,0 ],
|
||||
},
|
||||
},
|
||||
"network": {
|
||||
"interface": "enp5s0",
|
||||
@ -97,7 +192,7 @@
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": "{volume}% {icon}",
|
||||
"format-muted": "",
|
||||
"format-muted": " ",
|
||||
"format-icons": {
|
||||
"alsa_output.pci-0000_00_1f.3.analog-stereo": "",
|
||||
"alsa_output.pci-0000_00_1f.3.analog-stereo-muted": "",
|
||||
@ -108,7 +203,7 @@
|
||||
"phone-muted": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", ""]
|
||||
"default": [" ", " "]
|
||||
},
|
||||
"scroll-step": 5,
|
||||
"on-click": "pavucontrol",
|
||||
@ -144,29 +239,11 @@
|
||||
"exec": "sensors | grep 'Tctl:' | sed -E 's/Tctl:[ ]+//' | sed -E 's/[ ]+//'",
|
||||
"interval": 1,
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"custom/time": {
|
||||
"exec": "bash $HOME/scripts/time.sh --hex",
|
||||
"format": "{}",
|
||||
"interval": 1,
|
||||
},
|
||||
"custom/lock": {
|
||||
"on-click": "hyprlock",
|
||||
"format": "",
|
||||
},
|
||||
"custom/shutdown": {
|
||||
"on-click": "shutdown now",
|
||||
"format": "",
|
||||
},
|
||||
"custom/reboot": {
|
||||
"on-click": "reboot",
|
||||
"format": "",
|
||||
},
|
||||
"custom/server-cava": {
|
||||
"exec": "ssh max@192.168.1.193 bash /home/max/caway.sh",
|
||||
"format": "{}",
|
||||
|
@ -1,5 +1,5 @@
|
||||
* {
|
||||
font-family: 'VictorMono';
|
||||
font-family: Roboto, Helvetica, Arial, sans-serif,"Font Awesome 5 Free";
|
||||
}
|
||||
#pulseaudio-slider slider {
|
||||
min-height: 0px;
|
||||
@ -67,22 +67,44 @@ window#waybar.left {
|
||||
color: #282828;
|
||||
background: #ebdbb2;
|
||||
}
|
||||
#custom-power,
|
||||
#custom-lock,
|
||||
#custom-reboot,
|
||||
#custom-quit,
|
||||
#custom-specsicon,
|
||||
#custom-cmusicon,
|
||||
#workspaces,
|
||||
#clock,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#tray,
|
||||
#custom-cmusinfo {
|
||||
#custom-cmussong,
|
||||
#custom-cmusartist,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature {
|
||||
color: #ebdbb2;
|
||||
border-radius: 20px;
|
||||
padding-left: 8px;
|
||||
padding-right: 8px;
|
||||
margin: 6px;
|
||||
}
|
||||
#custom-power:hover,
|
||||
#custom-lock:hover,
|
||||
#custom-reboot:hover,
|
||||
#custom-quit:hover,
|
||||
#custom-specsicon:hover,
|
||||
#custom-cmusicon:hover,
|
||||
#clock:hover,
|
||||
#network:hover,
|
||||
#pulseaudio:hover,
|
||||
#tray:hover,
|
||||
#custom-cmusinfo:hover {
|
||||
#custom-cmussong:hover,
|
||||
#custom-cmusartist:hover,
|
||||
#cpu:hover,
|
||||
#memory:hover,
|
||||
#disk:hover,
|
||||
#temperature:hover {
|
||||
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