Added shortcut for stopping and continuing programs
This commit is contained in:
parent
39667dee70
commit
7a86aca3a4
6 changed files with 23 additions and 1 deletions
|
|
@ -1 +1 @@
|
|||
Added parley
|
||||
Added shortcut for stopping and continuing programs
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ let
|
|||
kdePackages.itinerary
|
||||
libqalculate
|
||||
qalculate-qt
|
||||
kdotool
|
||||
|
||||
maliit-keyboard
|
||||
espeak
|
||||
|
|
|
|||
5
home.nix
5
home.nix
|
|
@ -57,4 +57,9 @@
|
|||
source = ./librewolf/native-messaging-hosts;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
home.file.".local/share/applications" = {
|
||||
source = ./shortcuts;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -531,6 +531,8 @@
|
|||
[ "Search" "Alt+F2" "Alt+Space" "Meta" ];
|
||||
"services/org.kde.spectacle.desktop"."RecordRegion" = "Meta+Shift+R";
|
||||
"services/org.kde.spectacle.desktop"."RecordWindow" = [ ];
|
||||
"services/net.local.kill-2.desktop"."_launch" = "Meta+Ctrl+F2";
|
||||
"services/net.local.kill.desktop"."_launch" = "Meta+Ctrl+F1";
|
||||
};
|
||||
configFile = {
|
||||
"plasmashellrc"."PIMEventsPlugin"."calendars".persistent = true; # needed for the calendar in the clock widget in the top bar
|
||||
|
|
|
|||
7
shortcuts/net.local.kill-2.desktop
Normal file
7
shortcuts/net.local.kill-2.desktop
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Exec=kill -CONT $(kdotool getwindowpid "$(qdbus org.kde.KWin /KWin queryWindowInfo | awk '$1 == "uuid:" {print $2}')")
|
||||
Name=Continue focused program
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
X-KDE-GlobalAccel-CommandShortcut=true
|
||||
7
shortcuts/net.local.kill.desktop
Normal file
7
shortcuts/net.local.kill.desktop
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Exec=kill -STOP $(kdotool getwindowpid "$(qdbus org.kde.KWin /KWin queryWindowInfo | awk '$1 == "uuid:" {print $2}')")
|
||||
Name=Stop focused program
|
||||
NoDisplay=true
|
||||
StartupNotify=false
|
||||
Type=Application
|
||||
X-KDE-GlobalAccel-CommandShortcut=true
|
||||
Loading…
Add table
Add a link
Reference in a new issue