Skip to content

Instantly share code, notes, and snippets.

View vkareh's full-sized avatar

Victor Kareh vkareh

View GitHub Profile
--langdef=Css
--langmap=Css:.css
--langmap=Css:+.less
--langmap=Css:+.scss
--regex-Css=/^[ \t]*(.+)[ \t]*\{/\1/f,functions/
--regex-Css=/^[ \t]*(.+)[ \t]*,[ \t]*$/\1/f,functions/
--regex-Css=/^[ \t]*([#.]*[a-zA-Z_0-9]+)[ \t]*$/\1/f,functions/
--langdef=Html
--langmap=Html:.html
@vkareh
vkareh / commicrosoftteams.desktop
Last active September 10, 2022 15:16
Put this file in `~/.local/share/applications/`
[Desktop Entry]
Name=Microsoft Teams
Exec=webapp-container https://teams.microsoft.com --webappUrlPatterns=https?://*.microsoft*.com/* --app-id=commicrosoftteams --name="Microsoft Teams" --icon=~/.local/share/applications/commicrosoftteams.ico --store-session-cookies --enable-media-hub-audio --user-agent-string="Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0"
Icon=~/.local/share/applications/commicrosoftteams.ico
Type=Application
StartupWMClass=commicrosoftteams
OnlyShowIn=Unity
Actions=chat;teams;meetings;files
[Desktop Action teams]
[color]
ui = true
[push]
default = simple
[core]
editor = vim
excludesfile = ~/.gitignore
autocrlf = input
[grep]
lineNumber = true
#!/bin/bash
if [ $ROFI_RETV -eq 0 ]; then
bt list
exit
fi
WID=$(echo "$1" | awk -F'\t' '{print $1}')
TITLE=$(echo "$1" | awk -F'\t' '{print $2}')
@vkareh
vkareh / jira.desktop
Created May 10, 2023 14:26
Jira TUI
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Jira
GenericName=Issue tracker
Exec=sh -c "xterm -class Jira -name jira -title Jira -e jira.sh"
StartupWMClass=jira
Icon=jira.png
Terminal=false
Categories=Office;;Network