From ad3e5cd7d5d37a255d2c99ba92719e5067a6c161 Mon Sep 17 00:00:00 2001 From: elkowar <5300871+elkowar@users.noreply.github.com> Date: Tue, 18 Aug 2020 15:20:00 +0200 Subject: [PATCH] asdf --- files/.config/htop/htoprc | 2 +- files/.config/picom.conf | 5 +++-- files/.config/polybar/config.ini | 6 ++++-- files/.config/termite/config | 1 + files/.xmonad/lib/Config.hs | 4 ++-- files/nix-stuff/nixpkgs/home.nix | 4 ++++ files/nix-stuff/nixpkgs/modules/desktop.nix | 4 +++- files/scripts/screenvideo.sh | 2 +- 8 files changed, 19 insertions(+), 9 deletions(-) diff --git a/files/.config/htop/htoprc b/files/.config/htop/htoprc index f0fa3d0..96d1464 120000 --- a/files/.config/htop/htoprc +++ b/files/.config/htop/htoprc @@ -1 +1 @@ -/nix/store/779hx56lbl9an0x5ahlicmc42ygmxhcm-home-manager-files/.config/htop/htoprc \ No newline at end of file +/nix/store/hz5lddpqns8cg8zwrc68jy8abklcvn1h-home-manager-files/.config/htop/htoprc \ No newline at end of file diff --git a/files/.config/picom.conf b/files/.config/picom.conf index e35f79b..fbce98e 100644 --- a/files/.config/picom.conf +++ b/files/.config/picom.conf @@ -23,8 +23,8 @@ shadow = true; #shadow-offset-y = 3; #shadow-opacity = 0.6; shadow-radius = 18; -shadow-offset-x = -14; -shadow-offset-y = -10; +shadow-offset-x = -19; +shadow-offset-y = -15; shadow-opacity = 1.0; # shadow-red = 0.0; # shadow-green = 0.0; @@ -88,6 +88,7 @@ blur-background-exclude = [ "name = 'xfce4-notifyd'", "name *= 'compton'", "name *= 'picom'", + "class_g *= 'boox'", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'", "_GTK_FRAME_EXTENTS@:c", diff --git a/files/.config/polybar/config.ini b/files/.config/polybar/config.ini index 62ebc5e..a55d48c 100644 --- a/files/.config/polybar/config.ini +++ b/files/.config/polybar/config.ini @@ -25,6 +25,7 @@ ;background = #88282828 ;background = #88282828 ;background = #aa282c34 +;background = #00282828 background = #ff282828 ;background = #222 background-alt = #444 @@ -41,6 +42,7 @@ alert = #bd2c40 ;; Bar config ----------------------------------------- {{{ [global/wm] +;margin-bottom = -23 margin-bottom = 0 [bar/main] @@ -84,8 +86,8 @@ border-color = #00000000 padding-left = 0 padding-right = 2 -module-margin-left = 0 -module-margin-right = 0 +module-margin-left = 1 +module-margin-right = 1 ;font-0 = fixed:pixelsize=10;2 ;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0 diff --git a/files/.config/termite/config b/files/.config/termite/config index 13a4b06..34bdc9d 100644 --- a/files/.config/termite/config +++ b/files/.config/termite/config @@ -2,6 +2,7 @@ ;font = Iosevka Nerd Font Medium 12 ;font = Cozette 10 font = Terminus (TTF) 12 +;font = creep 10 ;font = scientifica Regular 12 ;font = Victor mono 13 ;font = jetbrains mono Nerd Font 12 diff --git a/files/.xmonad/lib/Config.hs b/files/.xmonad/lib/Config.hs index fa263aa..265cd92 100644 --- a/files/.xmonad/lib/Config.hs +++ b/files/.xmonad/lib/Config.hs @@ -132,7 +132,7 @@ scratchpads = where --launchWhatsapp = "gtk-launch chrome-hnpfjngllnobngcgfapefoaidbinmjnm-Default.desktop" launchWhatsapp = "google-chrome-stable --start-fullscreen -kiosk --app='https://web.whatsapp.com'" - launchDiscord = "discord" + launchDiscord = "Discord" --launchDiscord = "beautifuldiscord --css /home/leon/.config/beautifuldiscord/custom_discord.css" @@ -433,7 +433,7 @@ myKeys = concat [ zoomRowBindings, tabbedBindings, multiMonitorBindings, program [ ("screenshot", spawn $ scriptFile "screenshot.sh") , ("screenshot to file", spawn $ scriptFile "screenshot.sh --tofile") , ("screenshot full to file", spawn $ scriptFile "screenshot.sh --tofile --fullscreen") - , ("screenvideo to file", spawn (scriptFile "screenvid.sh") >> notify "video" "stop video-recording with M-S-C-g") + , ("screenvideo to file", spawn (scriptFile "screenvideo.sh") >> notify "video" "stop video-recording with M-S-C-g") , ("screengif to file", spawn (scriptFile "screengif.sh") >> notify "gif" "stop gif-recording with M-S-C-g") , ("toggleOptimal", sendMessage ToggleGaps >> toggleWindowSpacingEnabled) , ("toggleSpacing", toggleWindowSpacingEnabled) diff --git a/files/nix-stuff/nixpkgs/home.nix b/files/nix-stuff/nixpkgs/home.nix index 15bf6c1..a3162a5 100644 --- a/files/nix-stuff/nixpkgs/home.nix +++ b/files/nix-stuff/nixpkgs/home.nix @@ -32,5 +32,9 @@ }; + + imports = [ ./modules ]; + + } diff --git a/files/nix-stuff/nixpkgs/modules/desktop.nix b/files/nix-stuff/nixpkgs/modules/desktop.nix index e452a99..deb855e 100644 --- a/files/nix-stuff/nixpkgs/modules/desktop.nix +++ b/files/nix-stuff/nixpkgs/modules/desktop.nix @@ -18,12 +18,14 @@ in (pkgs.callPackage ../packages/bashtop.nix { }) (pkgs.callPackage ../packages/liquidctl.nix { }) (pkgs.callPackage ../packages/scr.nix { }) - (pkgs.callPackage ../packages/boox.nix { }) + #(pkgs.callPackage ../packages/boox.nix { }) (pkgs.callPackage ../packages/mmutils.nix { }) cool-retro-term gromit-mpx dragon-drop + polybarFull + discord #simplescreenrecorder #hyper-haskell ]; diff --git a/files/scripts/screenvideo.sh b/files/scripts/screenvideo.sh index 5b7d580..bbf3029 100755 --- a/files/scripts/screenvideo.sh +++ b/files/scripts/screenvideo.sh @@ -1,5 +1,5 @@ #!/bin/sh rec_filename="$HOME/Bilder/screenvids/$(date '+%Y-%m-%d_%H-%M-%S').mp4" -scr -m s -f 30 -c "$rec_filename" +scr -m s -c "$rec_filename" dragon --and-exit "$rec_filename"