misc changes

new services, random config updates
This commit is contained in:
2021-11-30 06:31:53 +05:30
parent 21212a5cf4
commit 6130b448e0
23 changed files with 507 additions and 304 deletions

View File

@@ -57,13 +57,13 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
spawn "flameshot full -p /home/natto/Pictures -d 10000")
, ((modMask, xK_p),
spawn "playerctl play-pause")
spawn "mpc toggle")
, ((modMask, xK_h),
spawn "playerctl next")
, ((modMask, xK_n),
spawn "mpc next")
, ((modMask, xK_k),
spawn "playerctl previous")
, ((modMask, xK_e),
spawn "mpc prev")
, ((modMask .|. shiftMask, xK_a),
spawn "mpc seek -00:00:05")
@@ -110,45 +110,45 @@ myKeys conf@(XConfig {XMonad.modMask = modMask}) = M.fromList $
, ((modMask, xK_r),
refresh)
, ((modMask, xK_n),
, ((modMask, xK_j),
windows W.focusDown)
, ((modMask, xK_e), windows W.focusUp )
, ((modMask, xK_k), windows W.focusUp )
, ((modMask .|. shiftMask, xK_m),
, ((modMask .|. shiftMask, xK_h),
windows W.focusMaster )
, ((modMask .|. shiftMask, xK_Return),
windows W.swapMaster)
, ((modMask .|. shiftMask, xK_n),
, ((modMask .|. shiftMask, xK_j),
windows W.swapDown )
, ((modMask .|. shiftMask, xK_e),
, ((modMask .|. shiftMask, xK_k),
windows W.swapUp )
, ((mod1Mask, xK_m),
, ((mod1Mask, xK_h),
sendMessage Expand)
, ((mod1Mask, xK_i),
, ((mod1Mask, xK_l),
sendMessage Shrink)
, ((mod1Mask, xK_n),
, ((mod1Mask, xK_j),
sendMessage MirrorExpand)
, ((mod1Mask, xK_e),
, ((mod1Mask, xK_k),
sendMessage MirrorShrink)
, ((mod1Mask .|. shiftMask, xK_m),
, ((mod1Mask .|. shiftMask, xK_h),
withFocused (keysMoveWindow (-30, 0)))
, ((mod1Mask .|. shiftMask, xK_i),
, ((mod1Mask .|. shiftMask, xK_l),
withFocused (keysMoveWindow (30, 0)))
, ((mod1Mask .|. shiftMask, xK_n),
, ((mod1Mask .|. shiftMask, xK_j),
withFocused (keysMoveWindow (0, 30)))
, ((mod1Mask .|. shiftMask, xK_e),
, ((mod1Mask .|. shiftMask, xK_k),
withFocused (keysMoveWindow (0, -30)))
, ((modMask, xK_t),

View File

@@ -8,7 +8,7 @@ map S rotate
map f zoom in
map q zoom out
map p follow link
map m scroll left
map i scroll right
map n scroll down
map e scroll up
#map m scroll left
#map i scroll right
#map n scroll down
#map e scroll up

View File

@@ -37,7 +37,9 @@ in
};
home = {
packages = with pkgs; [
ffmpeg
/* (ffmpeg-full.override {
libaom = libaom;
})*/
sox
rage
curl
@@ -48,14 +50,13 @@ in
xfce.thunar
xfce.xfconf
xfce.tumbler
discord
master.discord
customscripts
mpd_discord_richpresence
sox
qbittorrent
#tor-browser-bundle-bin
#mpc_cli
playerctl
mpc_cli
hexchat
luajit
mpv
@@ -80,18 +81,23 @@ in
arc-theme
arc-icon-theme
tor-browser-bundle-bin
wineWowPackages.stable
(master.winetricks.override { wine = wineWowPackages.stable; })
games.wine-tkg
master.winetricks
games.winestreamproxy
/* (games.osu-stable.overrideAttrs (_:{
tricks = [ "gdiplus" "dotnet46" "meiryo" ];
}))*/
csvtool
pmidi
dosbox
authy
unstable.premid
taa
(master.tauon.overrideAttrs (oa: {
pythonPath = oa.pythonPath ++ [ unstable.python39Packages.pypresence ];
}))
(master.tauon.override { withDiscordRPC = true; })
nbfc-linux
pulseaudio
(texlive.combine { inherit (texlive) scheme-small babel lm graphics-def url; })
qjackctl
carla
];
file = {

View File

@@ -33,6 +33,8 @@
force-window = "yes";
keep-open = "yes";
save-position-on-quit = "yes";
# autofit="100%";
# no-keepaspect-window = "yes";
};
};
go.enable = true;

View File

@@ -5,40 +5,43 @@ in
{
services = {
picom = {
experimentalBackends = true;
enable = true;
shadow = true;
shadowOffsets = [ (6) (6) ];
shadowExclude = [
"! name~=''"
"window_type = 'dock'"
"name = 'Dunst'"
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
blur = true;
blurExclude = [
"window_type = 'dock'"
"window_type = 'desktop'"
"class_g = 'dwm'"
];
inactiveOpacity = "0.92";
activeOpacity = "0.97";
fade = true;
fadeSteps = [ "0.04" "0.04" ];
backend = "glx";
menuOpacity = "0.8";
vSync = false;
opacityRule = [
"100:class_i='Tauon Music Box'"
"100:class_g='firefox'"
];
extraOptions =
''
shadow = true;
shadow-radius = 20;
shadow-offset-x = 30;
shadow-offset-y = 30;
blurExclude = [ "class_g = 'dwm'" ]
inactive-opacity = 0.92;
active-opacity = 0.97;
shadow-radius = 8;
inactive-opacity-override = true;
blur-background = true;
blur-method = "dual_kawase";
blur-strength = 3;
blur-kern = "11x11gaussian";
fading = true;
fade-in-step = 0.05;
fade-out-step = 0.05;
backend = "glx";
detect-rounded-corners = true;
detect-client-opacity = true;
experimental-backends = true;
vsync = false;
wintypes:
{
tooltip = { fade = true; shadow = true; opacity = 0.75; focus = true; };
popup_menu={opacity=0.8;};
dropdown_menu={opacity=0.8;};
};
shadow-exclude = ["x = 0 && y = 0 && override_redirect = true", "class_g = 'xmobar' && argb", "class_g = 'stalonetray' && argb"]
'';
'';
};
sxhkd = {
enable = false;
@@ -48,15 +51,17 @@ in
mpd = {
enable = true;
musicDirectory = "${config.home.homeDirectory}/Music";
dbFile = "${config.home.homeDirectory}/.config/mpd/database";
dataDir = "${config.home.homeDirectory}/.config/mpd";
network = {
startWhenNeeded = true;
listenAddress = "any";
port = 6600;
};
extraConfig = ''
playlist_directory "~/.config/mpd/playlists"
db_file "~/.config/mpd/database"
log_file "~/.config/mpd/log"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
bind_to_address "~/.config/mpd/socket"
bind_to_address "localhost"
port "6600"
# bind_to_address "~/.config/mpd/socket"
restore_paused "yes"
input {
plugin "curl"
@@ -71,9 +76,14 @@ in
path "/tmp/g.fifo"
format "44100:16:2"
}
audio_output {
type "httpd"
name "My HTTP Stream"
port "8000"
max_clients "4"
}
filesystem_charset "UTF-8"
'';
network.startWhenNeeded = true;
};
stalonetray = {
enable = true;