home/natto: misc changes

add mpdris
change emacs package
hyprland keybind changes
random changes to home.packages

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-27 07:01:54 +05:30
parent 5e4c51a4ed
commit a4173c855e
10 changed files with 58 additions and 142 deletions

View File

@@ -236,6 +236,8 @@ For autocomplete
(use-package rustic)
(use-package yuck-mode)
(use-package wgsl-mode)
(use-package nix-mode

View File

@@ -64,20 +64,24 @@ gestures {
workspace_swipe = off
}
$mainMod = SUPER
windowrule=float, ^.*(iwgtk)$
$mainMod=SUPER
binde=$mainMod, RETURN, exec, foot
bindr=SUPER, D, exec, pkill tofi || tofi-drun | xargs hyprctl dispatch exec --
bindr=SUPER SHIFT, D, exec, pkill tofi || tofi-run --require-match=false | xargs hyprctl dispatch exec
bindr=SUPER SHIFT, D, exec, pkill tofi || tofi-run --require-match=false | xargs hyprctl dispatch exec --
bind=$mainMod, P, exec, mpc toggle
bind=, XF86AudioNext, exec, mpc seek +00:00:05
bind=, XF86AudioPrev, exec, mpc seek -00:00:05
bind=$mainMod, XF86AudioNext, exec, mpc next
bind=$mainMod, XF86AudioPrev, exec, mpc prev
bind=$mainMod, P, exec, playerctl play-pause
bind=, XF86AudioPlay, exec, playerctl play-pause
bind=, XF86AudioNext, exec, playerctl position 5+
bind=, XF86AudioPrev, exec, playerctl position 5-
bind=$mainMod, XF86AudioNext, exec, playerctl next
bind=$mainMod, XF86AudioPrev, exec, playerctl previous
binde=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
binde=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind=,XF86AudioMute,exec,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
binde=, XF86MonBrightnessUp, exec, light -A 5
binde=, XF86MonBrightnessDown, exec, light -U 5
@@ -88,6 +92,9 @@ bind=$mainMod SHIFT, F3, exec, setxkbmap in deva
bind=$mainMod SHIFT, F4, exec, setxkbmap in guru
bind=$mainMod SHIFT, F5, exec, setxkbmap colemak dhz
bind=, PRINT, exec, grimblast --notify copysave screen
bind=SHIFT, PRINT, exec, grimblast --notify copysave area
binde=$mainMod SHIFT, Q, killactive,
bind=$mainMod ALT, f, exit,
bind=$mainMod SHIFT, t, pseudo,

View File

@@ -70,22 +70,22 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
spawn "flameshot gui -d 10000")
, ((modMask, xK_p),
spawn "mpc toggle")
spawn "playerctl play-pause")
, ((0, xF86XK_AudioPlay),
spawn "mpc toggle")
spawn "playerctl play-pause")
, ((modMask, xF86XK_AudioNext),
spawn "mpc next")
spawn "playerctl next")
, ((modMask, xF86XK_AudioPrev),
spawn "mpc prev")
spawn "playerctl previous")
, ((0, xF86XK_AudioPrev),
spawn "mpc seek -00:00:05")
spawn "playerctl position 5-")
, ((0, xF86XK_AudioNext),
spawn "mpc seek +00:00:05")
spawn "playerctl position 5+")
, ((0, xF86XK_AudioRaiseVolume),
spawn "pamixer --allow-boost -ui 5")

View File

@@ -3,7 +3,7 @@ let
mymacs = config: # with inputs.emacs-overlay.packages.${pkgs.system}; already resolved with overlay
with pkgs; emacsWithPackagesFromUsePackage {
inherit config;
package = emacsGit;
package = emacsPgtk;
alwaysEnsure = true;
alwaysTangle = true;
extraEmacsPackages = epkgs: with epkgs; [

View File

@@ -10,8 +10,8 @@
};
};
iconTheme = {
package = pkgs.zafiro-icons;
name = "Zafiro-icons-Dark";
package = pkgs.papirus-icon-theme;
name = "Papirus-Dark";
};
};
}

View File

@@ -3,7 +3,7 @@ let
home = config.home.homeDirectory;
in
{
services = {
services = rec {
mpd = {
enable = true;
musicDirectory = "${home}/Music";
@@ -18,7 +18,7 @@ in
};
mpd-discord-rpc = {
enable = true;
inherit (mpd) enable;
settings = {
id = 1039532008424099850; # dont really care
format = {
@@ -29,6 +29,16 @@ in
};
};
};
mpdris2 = {
inherit (mpd) enable;
mpd = {
inherit (mpd) musicDirectory;
host = "localhost";
};
};
playerctld.enable = true;
};
systemd.user.services = {
@@ -62,8 +72,8 @@ in
visualizerSupport = true;
clockSupport = true;
})
mpdas
mpc_cli
playerctl
];
file.ncmpcpp = {

View File

@@ -11,6 +11,7 @@
imagemagick
# Utils
neofetch
rage
curl
yt-dlp
@@ -18,7 +19,6 @@
unrar
vim
jmtpfs
neofetch
(inputs.nbfc.packages.${pkgs.system}.nbfc-client-c)
(flake.packages.${pkgs.system}.customscripts)
translate-shell
@@ -31,17 +31,24 @@
nss = nss_latest;
})
inputs.webcord.legacyPackages.${pkgs.system}.webcord
(xfce.thunar.override {
thunarPlugins = with xfce; [
thunar-media-tags-plugin
thunar-volman
thunar-archive-plugin
];
})
xfce.xfconf
xfce.tumbler
qbittorrent
hexchat
luajit
dunst
feh
authy
gnome.zenity
# Wine and games and stuff
steam
wineWowPackages.stable
winetricks
# (inputs.nix-gaming.packages.${pkgs.system}.osu-stable)
(flake.packages.${pkgs.system}.tlauncher)

View File

@@ -1,4 +1,4 @@
{ pkgs, config, colors, ... }:
{ pkgs, config, colors, inputs, ... }:
{
wayland = {
windowManager = {
@@ -49,5 +49,11 @@
home.packages = with pkgs; [
tofi
wineWowPackages.waylandFull
imv
grim
slurp
inputs.hyprland-contrib.packages.${pkgs.system}.grimblast
wl-clipboard
];
}

View File

@@ -18,7 +18,6 @@
};
home.packages = with pkgs; [
(dmenu.override { patches = [ ./patches/dmenu.patch ]; })
(st.override {
patches = [ ./patches/st.patch ];
extraLibs = [ harfbuzz ];
@@ -27,19 +26,12 @@
xorg.xkbcomp
xorg.xmodmap
sxiv
feh
xdotool
(xfce.thunar.override {
thunarPlugins = with xfce; [
thunar-media-tags-plugin
thunar-volman
thunar-archive-plugin
];
})
xfce.xfconf
xfce.tumbler
flameshot
xmobar
stalonetray
wineWowPackages.stable
];
home.file.stalonetray = {