replaces flameshot with gnome built-in screenshot tool
This commit is contained in:
parent
488dd6be3c
commit
a2a04deb26
@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# In case we run Pop!_OS let's use `cosmic-screenshot --interactive`, otherwise default to `flameshot gui`
|
||||
if [[ -x "$(command -v cosmic-screenshot)" ]]; then
|
||||
cosmic-screenshot --interactive
|
||||
else
|
||||
flameshot gui
|
||||
fi
|
@ -4,7 +4,6 @@
|
||||
# GUI Applications
|
||||
## Utilities
|
||||
mission-center
|
||||
flameshot
|
||||
gnome.gnome-tweaks
|
||||
pinta
|
||||
bottles
|
||||
|
@ -1,15 +1,20 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/shell/keybindings" = {
|
||||
show-screenshot-ui = [
|
||||
"Print"
|
||||
"<Shift><Alt>4"
|
||||
];
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||
custom-keybindings = [
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/1password-quick-access/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot/"
|
||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter/"
|
||||
];
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" = {
|
||||
binding = "<Primary><Alt>t";
|
||||
command = "kitty";
|
||||
@ -20,11 +25,6 @@
|
||||
command = "1password --quick-access";
|
||||
name = "1password-quick-access";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/screenshot" = {
|
||||
binding = "<Shift><Alt>4";
|
||||
command = "flameshot gui";
|
||||
name = "screenshot";
|
||||
};
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter" = {
|
||||
binding = "<Ctrl><Shift>Escape";
|
||||
command = "missioncenter";
|
||||
|
Loading…
x
Reference in New Issue
Block a user