some fixes

This commit is contained in:
Dmitriy Kholkin 2021-09-16 02:00:38 +03:00
parent 774b465161
commit 996d1982a7
3 changed files with 20 additions and 7 deletions

View File

@ -28,4 +28,12 @@
deviceSpecific.wireguard.enable = true;
hardware.video.hidpi.enable = lib.mkForce false;
services.xserver.config = ''
Section "InputClass"
Identifier "C-Media USB Headphone Set"
MatchUSBID "0d8c:000c"
Option "Ignore" "true"
EndSection
'';
}

View File

@ -38,7 +38,7 @@
messenger.cmd
"${pkgs.keepassxc}/bin/keepassxc --keyfile=/home/alukard/.passwords.key /home/alukard/nixos-config/misc/Passwords.kdbx"
"${term.cmd} -e spt"
"${pkgs.feh}/bin/feh --bg-fill $HOME/nixos-config/misc/wallpaper"
"${pkgs.feh}/bin/feh --bg-fill ${/. + ../misc/wallpaper}"
];
environment.sessionVariables = {

View File

@ -11,11 +11,10 @@ in {
package = pkgs.i3-gaps;
config = rec {
assigns = {
# "" = [
# { class = "Spotify"; }
# { class = "PulseEffects"; }
# { title = "spt"; }
# ];
"" = [
{ class = "spotify"; }
{ title = "spt"; }
];
"" = [
{ class = "^Telegram"; }
];
@ -81,7 +80,7 @@ in {
"${modifier}+w" = "exec ${apps.dmenu.cmd}";
"${modifier}+Return" = "exec ${apps.term.cmd}";
"${modifier}+e" = "exec ${apps.editor.cmd}";
# "${modifier}+l" = "layout toggle all";
"${modifier}+o" = "layout toggle all";
"${modifier}+Left" = "focus child; focus left";
"${modifier}+Right" = "focus child; focus right";
@ -96,6 +95,9 @@ in {
"${modifier}+Shift+Right" = "move right";
"${modifier}+Shift+Left" = "move left";
"${modifier}+bracketleft" = "workspace prev";
"${modifier}+bracketright" = "workspace next";
"${modifier}+f" = "fullscreen toggle";
"${modifier}+r" = "mode resize";
"${modifier}+Shift+f" = "floating toggle";
@ -105,6 +107,9 @@ in {
"${modifier}+k" = "exec ${pkgs.playerctl}/bin/playerctl play-pause";
"${modifier}+l" = "exec ${pkgs.playerctl}/bin/playerctl next";
"${modifier}+m" = "exec ${pkgs.pamixer}/bin/pamixer -t";
"${modifier}+comma" = "exec ${pkgs.pamixer}/bin/pamixer -i 5";
"${modifier}+period" = "exec ${pkgs.pamixer}/bin/pamixer -d 5";
"${modifier}+i" = "exec ${pkgs.pavucontrol}/bin/pavucontrol";
"${modifier}+d" = "exec ${apps.fm.cmd}";
"${modifier}+y" = "exec ${pkgs.youtube-to-mpv}/bin/yt-mpv";