guiL prefer mpris, hacks: more bt tools
This commit is contained in:
parent
7711077791
commit
0b7e888f77
6 changed files with 32 additions and 7 deletions
|
@ -284,11 +284,11 @@ in
|
||||||
|
|
||||||
"Mod+Q".action = close-window;
|
"Mod+Q".action = close-window;
|
||||||
|
|
||||||
"XF86AudioPrev".action = sh "supersonic -previous";
|
"XF86AudioPrev".action = sh "playerctl previous";
|
||||||
"XF86AudioNext".action = sh "supersonic -next";
|
"XF86AudioNext".action = sh "playerctl next";
|
||||||
"XF86AudioPlay".action = sh "supersonic -play-pause";
|
"XF86AudioPlay".action = sh "playerctl play-pause";
|
||||||
|
|
||||||
"XF86Launch5".action = sh "supersonic -play-pause";
|
"XF86Launch5".action = sh "playerctl play-pause";
|
||||||
|
|
||||||
}
|
}
|
||||||
(binds {
|
(binds {
|
||||||
|
|
|
@ -203,7 +203,7 @@ in
|
||||||
modules-left = [
|
modules-left = [
|
||||||
"clock"
|
"clock"
|
||||||
"clock#otherzone"
|
"clock#otherzone"
|
||||||
"mpd"
|
"mpris"
|
||||||
];
|
];
|
||||||
modules-center = [
|
modules-center = [
|
||||||
"custom/title"
|
"custom/title"
|
||||||
|
@ -364,8 +364,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
mpd = {
|
mpris = {
|
||||||
on-click = "mpc toggle";
|
|
||||||
format = "${icons.music.playing} {artist} - {title}";
|
format = "${icons.music.playing} {artist} - {title}";
|
||||||
format-paused = "${icons.music.paused} {artist} - {title}";
|
format-paused = "${icons.music.paused} {artist} - {title}";
|
||||||
format-stopped = "";
|
format-stopped = "";
|
||||||
|
|
|
@ -30,4 +30,9 @@
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hardware.ubertooth = {
|
||||||
|
enable = true;
|
||||||
|
group = "plugdev";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -386,6 +386,25 @@ in
|
||||||
|
|
||||||
swapDevices = [ ];
|
swapDevices = [ ];
|
||||||
|
|
||||||
|
# Support bluetooth.
|
||||||
|
hardware.bluetooth = {
|
||||||
|
enable = true;
|
||||||
|
powerOnBoot = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
General = {
|
||||||
|
|
||||||
|
# Support A2DP.
|
||||||
|
Enable = "Source,Sink,Media,Socket";
|
||||||
|
|
||||||
|
# Enable experimental featurees, like reading device battery levels.
|
||||||
|
Experimental = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
|
|
|
@ -83,6 +83,7 @@ with pkgs;
|
||||||
# Media
|
# Media
|
||||||
blender
|
blender
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
playerctl
|
||||||
vlc
|
vlc
|
||||||
|
|
||||||
# Learning
|
# Learning
|
||||||
|
|
|
@ -44,6 +44,7 @@ with pkgs;
|
||||||
|
|
||||||
# hax
|
# hax
|
||||||
btlejack
|
btlejack
|
||||||
|
ubertooth
|
||||||
|
|
||||||
# Build systems.
|
# Build systems.
|
||||||
cmake
|
cmake
|
||||||
|
|
Loading…
Add table
Reference in a new issue