Skip to content

Instantly share code, notes, and snippets.

View kaanklky's full-sized avatar
🏍️
Working while riding

Kaan Kölköy kaanklky

🏍️
Working while riding
View GitHub Profile
@kaanklky
kaanklky / launcher.js.patch
Last active December 28, 2024 00:54
Pop OS shell launcher remove active windows from list
diff --git a/usr/share/gnome-shell/extensions/[email protected]/launcher.js b/usr/share/gnome-shell/extensions/[email protected]/launcher.js
index 927e389..56959d8 100644
--- a/usr/share/gnome-shell/extensions/[email protected]/launcher.js
+++ b/usr/share/gnome-shell/extensions/[email protected]/launcher.js
@@ -102,7 +102,7 @@ var Launcher = class Launcher extends search.Search {
}
this.append_id = GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
const item = response.Update.shift();
- if (item) {
+ if (item && item.category_icon.Name !== 'focus-windows-symbolic') {
@kaanklky
kaanklky / etc-profile
Last active July 14, 2019 13:40
Save terminal sessions
#Record terminal sessions
if [ "x$SESSION_RECORD" = "x" ]
then
TTY_CON=$(tty | cut -d '/' -f3)/$(tty | cut -d '/' -f4)
TTY_IP=$(who | grep "${TTY_CON}" | cut -d ' ' -f16 | tr -d '()')
output=/var/log/session/session_$(date +%F_%H-%M-%S)_$USER.$TTY_IP
SESSION_RECORD=started
export SESSION_RECORD
script -t -f -q 2>${output}.timing $output