1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00

added youtube-music player

This commit is contained in:
XNM
2023-10-24 21:30:52 +03:00
parent 58e5ef1ad8
commit ce93f9c210
6 changed files with 1907 additions and 3 deletions

View File

@@ -40,7 +40,7 @@ This repository contains my NixOS Linux configuration with the Hyprland window m
| Theme | Catppuccin Macchiato |
| Icons | Colloid-teal-dark, Numix-Circle |
| Font | JetBrains Mono + Nerd Font Patch |
| Player | Spotify |
| Player | Youtube Music + Spotify |
| File Browser | Thunar |
| Internet Browser | Qutebrowser, Brave + Vimium + NightTab |
| Mimetypes | MPV, Imv, Zathura |

View File

@@ -0,0 +1,206 @@
{
"window-size": {
"width": 1500,
"height": 803
},
"url": "https://music.youtube.com",
"options": {
"tray": false,
"appVisible": true,
"autoUpdates": false,
"hideMenu": false,
"startAtLogin": false,
"disableHardwareAcceleration": false,
"restartOnConfigChanges": false,
"trayClickPlayPause": false,
"autoResetAppCache": false,
"resumeOnStart": true,
"proxy": "",
"startingPage": "",
"themes": [
"/home/xnm/.config/YouTube Music/macchiato.css"
]
},
"plugins": {
"navigation": {
"enabled": true
},
"adblocker": {
"enabled": true,
"cache": true,
"additionalBlockLists": []
},
"shortcuts": {
"enabled": false,
"overrideMediaKeys": false
},
"downloader": {
"enabled": false,
"ffmpegArgs": [],
"preset": "mp3"
},
"last-fm": {
"enabled": false,
"api_root": "http://ws.audioscrobbler.com/2.0/",
"api_key": "",
"secret": ""
},
"discord": {
"enabled": false,
"autoReconnect": true,
"activityTimoutEnabled": true,
"activityTimoutTime": 600000,
"listenAlong": true,
"hideDurationLeft": false
},
"notifications": {
"enabled": true,
"unpauseNotification": false,
"urgency": "normal",
"interactive": true,
"toastStyle": 1,
"refreshOnPlayPause": false,
"trayControls": true,
"hideButtonText": false
},
"precise-volume": {
"enabled": false,
"steps": 1,
"arrowsShortcut": true,
"globalShortcuts": {
"volumeUp": "",
"volumeDown": ""
}
},
"sponsorblock": {
"enabled": false,
"apiURL": "https://sponsor.ajay.app",
"categories": [
"sponsor",
"intro",
"outro",
"interaction",
"selfpromo",
"music_offtopic"
]
},
"video-toggle": {
"enabled": false,
"mode": "custom",
"forceHide": false
},
"picture-in-picture": {
"enabled": false,
"alwaysOnTop": true,
"savePosition": true,
"saveSize": false,
"hotkey": "P"
},
"captions-selector": {
"enabled": false,
"disableCaptions": false
},
"skip-silences": {
"onlySkipBeginning": false
},
"crossfade": {
"enabled": false,
"fadeInDuration": 1500,
"fadeOutDuration": 5000,
"secondsBeforeEnd": 10,
"fadeScaling": "linear"
},
"visualizer": {
"enabled": false,
"type": "butterchurn",
"butterchurn": {
"preset": "martin [shadow harlequins shape code] - fata morgana",
"renderingFrequencyInMs": 500,
"blendTimeInSeconds": 2.7
},
"vudio": {
"effect": "lighting",
"accuracy": 128,
"lighting": {
"maxHeight": 160,
"maxSize": 12,
"lineWidth": 1,
"color": "#49f3f7",
"shadowBlur": 2,
"shadowColor": "rgba(244,244,244,.5)",
"fadeSide": true,
"prettify": false,
"horizontalAlign": "center",
"verticalAlign": "middle",
"dottify": true
}
},
"wave": {
"animations": [
{
"type": "Cubes",
"config": {
"bottom": true,
"count": 30,
"cubeHeight": 5,
"fillColor": {
"gradient": [
"#FAD961",
"#F76B1C"
]
},
"lineColor": "rgba(0,0,0,0)",
"radius": 20
}
},
{
"type": "Cubes",
"config": {
"top": true,
"count": 12,
"cubeHeight": 5,
"fillColor": {
"gradient": [
"#FAD961",
"#F76B1C"
]
},
"lineColor": "rgba(0,0,0,0)",
"radius": 10
}
},
{
"type": "Circles",
"config": {
"lineColor": {
"gradient": [
"#FAD961",
"#FAD961",
"#F76B1C"
],
"rotate": 90
},
"lineWidth": 4,
"diameter": 20,
"count": 10,
"frequencyBand": "base"
}
}
]
}
},
"in-app-menu": {
"enabled": true
}
},
"__internal__": {
"migrations": {
"version": "1.20.0"
}
},
"window-maximized": false,
"window-position": {
"x": 0,
"y": 0
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -141,6 +141,8 @@ windowrule = float, imv
windowrule = opaque, imv
windowrule = float, title:(Media viewer)
windowrule = opaque, title:(Media viewer)
windowrule = opaque, title:(YouTube Music)
windowrule = opaque, title:(qutebrowser)
windowrule = opaque, telegram
windowrule = float, mpv
windowrule = opaque, mpv

View File

@@ -25,7 +25,7 @@ print_info() {
info "$(color 17)󰋊 Disk" disk
info "$(color 6)󰂀 Battery" battery
info "󰝚 Song" song
[[ "$player" ]] && prin " Music Player" "󰓇 $player"
[[ "$player" ]] && prin "$(color 9) Music Player" "󰗃 $player"
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
@@ -484,7 +484,7 @@ disk_percent="on"
# xmms2d
# xnoise
# yarock
music_player="spotify"
music_player="Youtube Music"
# Format to display song information.
#

View File

@@ -385,6 +385,7 @@
shell = pkgs.fish;
packages = with pkgs; [
spotify
youtube-music
discord
tdesktop
vscode