From 018783a3fec9f0a73704e3c262d89f35a5ab3e03 Mon Sep 17 00:00:00 2001 From: eoli3n Date: Mon, 19 Sep 2016 12:34:27 +0200 Subject: [PATCH] added desktop files --- .i3/config | 4 ++-- .local/share/applications/gmaps.desktop | 14 ++++++++++++++ .local/share/applications/netflix.desktop | 13 +++++++++++++ README.md | 2 +- 4 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 .local/share/applications/gmaps.desktop create mode 100644 .local/share/applications/netflix.desktop diff --git a/.i3/config b/.i3/config index 11f00ab..ca4cf8e 100644 --- a/.i3/config +++ b/.i3/config @@ -45,7 +45,7 @@ bindsym $mod+Shift+a kill # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -bindsym $mod+d exec --no-startup-id dmenu_run -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -b -w 400 -q -o 0.9 +bindsym $mod+d exec --no-startup-id j4-dmenu-desktop --dmenu="dmenu -fn 'hack-10' -h 20 -nb '#202020' -nf '#FFFFFF' -sf '#dc322f' -sb '#202020' -p '>' -b -w 400 -q -o 0.9" # change focus bindsym $mod+j focus left @@ -238,9 +238,9 @@ bar { strip_workspace_numbers yes status_command $HOME/.i3/conky-top.sh tray_output none - #font xft: hack:size=2 colors{ background #202020 + focused_workspace #FFFFFF #A4A4A4 #000000 } } diff --git a/.local/share/applications/gmaps.desktop b/.local/share/applications/gmaps.desktop new file mode 100644 index 0000000..e53fa45 --- /dev/null +++ b/.local/share/applications/gmaps.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Version=1.0 +Name=Google Maps +# Only KDE 4 seems to use GenericName, so we reuse the KDE strings. +# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. +GenericName=Google Maps +StartupWMClass=google-chrome +Exec=/usr/bin/google-chrome-stable --app="https://www.googlemaps.com" +Terminal=false +Icon=google-chrome +Type=Application +Categories=Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; +X-Ayatana-Desktop-Shortcuts=NewWindow;NewIncognito diff --git a/.local/share/applications/netflix.desktop b/.local/share/applications/netflix.desktop new file mode 100644 index 0000000..70b9a1e --- /dev/null +++ b/.local/share/applications/netflix.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Version=1.0 +Name=Netflix +# Only KDE 4 seems to use GenericName, so we reuse the KDE strings. +# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413. +GenericName=Netflix Browser +StartupWMClass=google-chrome +Exec=/usr/bin/google-chrome-stable --app="https://www.netflix.com" +Terminal=false +Icon=google-chrome +Type=Application +Categories=Network;WebBrowser; +MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp; diff --git a/README.md b/README.md index dd6fae7..6985f2b 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ i3lock sudo pacman -S i3-wm rxvt-unicode zsh git weechat i3lock ttf-hack vim weechat compton conky xbindkeys powerline powerline-fonts powerline-vim xorg-xrdb xclip zsh-syntax-highlighting tmux - yaourt compton-git powerline ttf-font-awesome ttf-font-icons + yaourt -S compton-git powerline ttf-font-awesome ttf-font-icons j4-dmenu-desktop # update font cache