From e96ecb6470021ca3892d14b2db5c78395f6bd9b2 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Sun, 1 Jan 2023 17:20:23 +0100 Subject: [PATCH] configured flameshot and picom --- hosts/thinkpad/default.nix | 1 - users/rouven/modules/default.nix | 2 ++ users/rouven/modules/flameshot/default.nix | 15 +++++++++++++++ users/rouven/modules/packages.nix | 2 -- users/rouven/modules/picom/default.nix | 7 +++++++ 5 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 users/rouven/modules/flameshot/default.nix create mode 100644 users/rouven/modules/picom/default.nix diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 8d07c00..976f8ab 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -56,7 +56,6 @@ devmon.enable = true; # automount stuff printing.enable = true; fprintd.enable = true; # log in using fingerprint - picom.enable = true; # window transparency openssh.enable = true; # enabled ssh to have the host keys }; diff --git a/users/rouven/modules/default.nix b/users/rouven/modules/default.nix index 815ee4e..cc070bf 100644 --- a/users/rouven/modules/default.nix +++ b/users/rouven/modules/default.nix @@ -4,9 +4,11 @@ [ ./alacritty ./awesome + ./flameshot ./git ./kdeconnect ./neovim + ./picom ./tmux ./vifm ./zsh diff --git a/users/rouven/modules/flameshot/default.nix b/users/rouven/modules/flameshot/default.nix new file mode 100644 index 0000000..079fb9e --- /dev/null +++ b/users/rouven/modules/flameshot/default.nix @@ -0,0 +1,15 @@ +{ config, ... }: +{ + services.flameshot = { + enable = true; + settings = { + General = { + contrastOpacity = 188; + disabledTrayIcon=true; + }; + Shortcuts = { + TYPE_COPY = "Return"; + }; + }; + }; +} diff --git a/users/rouven/modules/packages.nix b/users/rouven/modules/packages.nix index 286cbb7..b151eb7 100644 --- a/users/rouven/modules/packages.nix +++ b/users/rouven/modules/packages.nix @@ -10,8 +10,6 @@ # graphics feh - flameshot #TODO configure it in nix - picom okular gimp diff --git a/users/rouven/modules/picom/default.nix b/users/rouven/modules/picom/default.nix new file mode 100644 index 0000000..5b5b1a1 --- /dev/null +++ b/users/rouven/modules/picom/default.nix @@ -0,0 +1,7 @@ +{ config, ... }: +{ + services.picom = { + enable = true; + # more configuration can go here, but I have no need for it yet + }; +}