Compare commits

...

2 Commits

Author SHA1 Message Date
d0f795db57 adds hm alias 2024-11-02 21:45:23 +01:00
a2a04deb26 replaces flameshot with gnome built-in screenshot tool 2024-11-02 21:45:14 +01:00
4 changed files with 12 additions and 16 deletions

View File

@@ -8,6 +8,11 @@ alias docker-compose='docker compose'
alias gg='git pull'
alias gl='git log --stat'
# Home Manager Configuration
alias hm='cd $HOME/dotfiles/config/home-manager/ && home-manager'
alias hmnews='hm news --flake .#$DOTF_HOSTNAME'
alias hmswitch='hm switch --flake .#$DOTF_HOSTNAME --impure'
# Modern tools aliases
alias l="eza --header --long --git --group-directories-first --group --icons --color=always --sort=name --hyperlink -o --no-permissions"
alias ll='l'

View File

@@ -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

View File

@@ -4,7 +4,6 @@
# GUI Applications
## Utilities
mission-center
flameshot
gnome.gnome-tweaks
pinta
bottles

View File

@@ -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";