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
|
# GUI Applications
|
||||||
## Utilities
|
## Utilities
|
||||||
mission-center
|
mission-center
|
||||||
flameshot
|
|
||||||
gnome.gnome-tweaks
|
gnome.gnome-tweaks
|
||||||
pinta
|
pinta
|
||||||
bottles
|
bottles
|
||||||
|
@ -1,15 +1,20 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
|
"org/gnome/shell/keybindings" = {
|
||||||
|
show-screenshot-ui = [
|
||||||
|
"Print"
|
||||||
|
"<Shift><Alt>4"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
"org/gnome/settings-daemon/plugins/media-keys" = {
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
||||||
custom-keybindings = [
|
custom-keybindings = [
|
||||||
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal/"
|
"/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/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/missioncenter/"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" = {
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/terminal" = {
|
||||||
binding = "<Primary><Alt>t";
|
binding = "<Primary><Alt>t";
|
||||||
command = "kitty";
|
command = "kitty";
|
||||||
@ -20,11 +25,6 @@
|
|||||||
command = "1password --quick-access";
|
command = "1password --quick-access";
|
||||||
name = "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" = {
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/missioncenter" = {
|
||||||
binding = "<Ctrl><Shift>Escape";
|
binding = "<Ctrl><Shift>Escape";
|
||||||
command = "missioncenter";
|
command = "missioncenter";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user