mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 19:23:03 +03:00
feat(slack): slack wrapper
This commit is contained in:
parent
35d0a94387
commit
2747239add
3 changed files with 20 additions and 3 deletions
|
|
@ -295,7 +295,7 @@ mode "apps" {
|
|||
bindsym Escape mode "default"
|
||||
bindsym b exec firefox; mode default
|
||||
bindsym v exec vk; mode default
|
||||
bindsym s exec "flatpak run com.slack.Slack"; mode default;
|
||||
bindsym s exec slack-wrapper; mode default;
|
||||
bindsym d exec "flatpak run com.discordapp.Discord"; mode default;
|
||||
bindsym m exec "alacritty -e ncmpcpp"; mode default
|
||||
bindsym c exec "copyq toggle"; mode default
|
||||
|
|
|
|||
|
|
@ -545,7 +545,7 @@ mode "apps" {
|
|||
bindsym Escape mode "default"
|
||||
bindsym b exec firefox; mode default
|
||||
bindsym v exec vk; mode default
|
||||
bindsym s exec "flatpak run com.slack.Slack"; mode default;
|
||||
bindsym s exec slack-wrapper; mode default;
|
||||
bindsym d exec "flatpak run com.discordapp.Discord"; mode default;
|
||||
bindsym m exec "alacritty -e ncmpcpp"; mode default
|
||||
bindsym c exec "copyq toggle"; mode default
|
||||
|
|
@ -2140,7 +2140,7 @@ nix-channel --update
|
|||
|
||||
Installing packages:
|
||||
#+begin_src
|
||||
nix-env -i vk-messenger
|
||||
nix-env -i vk-messenger slack
|
||||
#+end_src
|
||||
* Services
|
||||
:PROPERTIES:
|
||||
|
|
|
|||
17
Guix.org
17
Guix.org
|
|
@ -479,6 +479,23 @@ Third, by default it tries to create envronments in =/gnu/store=. I think it's e
|
|||
mkdir -p ~/.conda/envs
|
||||
conda create -p ~/.conda/envs/test
|
||||
#+end_src
|
||||
** Slack
|
||||
What a nonsense of a program.
|
||||
|
||||
I was able to launch the nix version with the following wrapper script:
|
||||
#+begin_src bash :tangle ~/bin/slack-wrapper
|
||||
mkdir -p ~/.cache/slack
|
||||
slack -r ~/.cache/slack
|
||||
#+end_src
|
||||
|
||||
Also, it requires a =lsb_release= in the PATH, so here is one:
|
||||
#+begin_src bash :tangle ~/bin/lsb_release
|
||||
echo "LSB Version: Hey. I spent an hour figuring out why Slack doesn't launch."
|
||||
echo "Distributor ID: It seems like it requires an lsb_release."
|
||||
echo "Description: But GNU Guix doesn't have one."
|
||||
echo "Release: 42.2"
|
||||
echo "Codename: n/a"
|
||||
#+end_src
|
||||
** wakatime-cli
|
||||
| Note | Description |
|
||||
|------+-----------------------|
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue