Commit 239bad8b authored by Amanda Cameron's avatar Amanda Cameron
Browse files

Fuck if I know

parent 5a0fd1c6
{{ if and .graphical (eq .chezmoi.os "linux") -}}
[Desktop Entry]
Hidden=true
Type=Application
Name[af]=SSH-sleutelagent
Name[ar]=عميل مفاتيح SSH
Name[as]=SSH কি সহায়ক
Name[ast]=Axente de claves SSH
Name[be]=SSH-агент ключоў
Name[bg]=Агентът на SSH за ключове
Name[bn]=SSH কী এজেন্ট
Name[bn_IN]=SSH কি এজেন্ট
Name[bs]=Agent za SSH ključeve
Name[ca]=Agent de claus SSH
Name[ca@valencia]=Agent de claus SSH
Name[cs]=Agent klíčů SSH
Name[da]=SSH-nøgleagent
Name[de]=SSH-Schlüsselagent
Name[el]=Πράκτορας κλειδιού SSH
Name[en_GB]=SSH Key Agent
Name[eo]=SSH-ŝlosila agento
Name[es]=Agente de claves SSH
Name[et]=SSH-võtmete agent
Name[eu]=SSH gako-agentea
Name[fa]=مامور کلید SSH
Name[fi]=SSH-avainten agentti
Name[fr]=Agent de clés SSH
Name[fur]=Agjent clâfs SSH
Name[gd]=Àidseant iuchair SSH
Name[gl]=Axente de chave SSH
Name[gu]=SSH કી ઍજન્ટ
Name[he]=סוכן מפתחות SSH
Name[hi]=AFS कुँजी प्रतिनिधि
Name[hr]=Agent SSH ključa
Name[hu]=SSH-kulcs ügynök
Name[id]=Agen Kunci SSH
Name[it]=Agente chiavi SSH
Name[ja]=SSH 鍵エージェント
Name[kk]=SSH кілттер агенті
Name[km]=ភ្នាក់ងារ​សោ SSH
Name[kn]=SSH ಕೀಲಿ ಮಧ್ಯವರ್ತಿ
Name[ko]=SSH 키 에이전트
Name[lt]=SSH raktų tarnyba
Name[lv]=SSH atslēgu aģents
Name[mk]=Агент за SSH клучеви
Name[ml]=എസ്എസ്എച് കീ ഏജന്റ്
Name[mr]=SSH कि एजंट
Name[ms]=Agen Kekunci SSH
Name[nb]=SSH-nøkkelagent
Name[nl]=SSH-sleutelagent
Name[nn]=Nøkkelagent for SSH
Name[oc]=Agent de claus SSH
Name[or]=SSH କି ସଦସ୍ୟ
Name[pa]=SSH ਕੁੰਜੀ ਏਜੰਟ
Name[pl]=Agent kluczy SSH
Name[pt]=Agente de chaves SSH
Name[pt_BR]=Agente de chaves SSH
Name[ro]=Agent pentru chei SSH
Name[ru]=Агент ключей SSH
Name[sk]=Agent kľúčov SSH
Name[sl]=Agent ključev SSH
Name[sr]=Агент за ССХ кључеве
Name[sr@latin]=Agent za SSH ključeve
Name[sv]=SSH-nyckelagent
Name[ta]=SSH முகவர்
Name[te]=SSH కీ వాహకము
Name[th]=เอเจนต์กุญแจ SSH
Name[tr]=SSH Anahtar Aracı
Name[ug]=SSH ئاچقۇچ ياردەمچىسى
Name[uk]=Агент ключів SSH
Name[vi]=Đại diện khóa SSH
Name[zh_CN]=SSH 密钥代理
Name[zh_HK]=SSH 密碼匙代理程式
Name[zh_TW]=SSH 金鑰代理程式
Name=SSH Key Agent
Comment[af]=GNOME-sleutelring: SSH-agent
Comment[ar]=حلقة مفاتيح جنوم: عميل SSH
Comment[as]=GNOME Keyring: SSH সহায়ক
Comment[ast]=Depósitu de claves de GNOME: axente SSH
Comment[be]=Вязкі ключоў GNOME: SSH-агент
Comment[bg]=Ключодържател на GNOME: агент на SSH
Comment[bn]=GNOME কী রিং: SSH এজেন্ট
Comment[bn_IN]=GNOME Keyring: SSH এজেন্ট
Comment[bs]=Gnomovi privjesci: SSH agent
Comment[ca]=Anell de claus del GNOME: agent SSH
Comment[ca@valencia]=Anell de claus del GNOME: agent SSH
Comment[cs]=Klíčenka GNOME: Agent SSH
Comment[da]=GNOME-nøgleringsdæmon: SSH-agent
Comment[de]=GNOME-Schlüsselbunddienst: SSH-Agent
Comment[el]=Κλειδοθήκη GNOME: Πράκτορας SSH
Comment[en_GB]=GNOME Keyring: SSH Agent
Comment[eo]=GNOME Ŝlosilaro: SSH-agento
Comment[es]=Depósito de claves de GNOME: agente SSH
Comment[et]=GNOME võtmerõngas: SSH-agent
Comment[eu]=GNOMEren gako-sorta: SSH agentea
Comment[fa]=دسته‌کلید گنوم: مامور SSH
Comment[fi]=Gnomen avainnippu: SSH-agentti
Comment[fr]=Trousseau de clés de GNOME : agent SSH
Comment[fur]=Puarteclâfs di GNOME: agjent SSH
Comment[gd]=Dul-iuchrach: Àidseant SSH
Comment[gl]=GNOME Keyring: Axente SSH
Comment[gu]=GNOME કીરીંગ: SSH ઍજન્ટ
Comment[he]=קבוצת מפתחות של GNOME: סוכן SSH
Comment[hi]=गनोम कीरिंग: SSH प्रतिनिधि
Comment[hr]=GNOME skup ključeva: SSH agent
Comment[hu]=GNOME kulcstartó – SSH-ügynök
Comment[id]=Ring Kunci GNOME: Agen SSH
Comment[it]=Portachiavi di GNOME: agente SSH
Comment[ja]=GNOME キーリング: SSH エージェント
Comment[kk]=GNOME Keyring: SSH агенті
Comment[km]=GNOME Keyring ៖ ភ្នាក់ងារ SSH
Comment[kn]=GNOME ಕೀಲಿಗೊಂಚಲು: SSH ಮಧ್ಯವರ್ತಿ
Comment[ko]=그놈 키 모음: SSH 에이전트
Comment[lt]=GNOME raktinė: SSH tarnyba
Comment[lv]=GNOME atslēgu saišķis — SSH aģents
Comment[mk]=Приврзок на GNOME: SSH агент
Comment[ml]=ഗ്നോം കീറിങ്: എസ്എസ്എച് ഏജന്റ്
Comment[mr]=GNOME किरिंग: SSH एजंट
Comment[ms]=GNOME Keyring: Agen SSH
Comment[nb]=GNOME nøkkelring: SSH-agent
Comment[ne]=जिनोम किरिङ : SSH एजेन्ट
Comment[nl]=Sleutelbos-service: SSH-agent
Comment[nn]=GNOME Nøkkelring: SSH-agent
Comment[oc]=Trossèl de claus GNOME : agent SSH
Comment[or]=GNOME କି ରିଙ୍ଗ: SSH ସଦସ୍ୟ
Comment[pa]=ਗਨੋਮ ਕੀਰਿੰਗ: SSH ਏਜੰਟ
Comment[pl]=Baza kluczy dla środowiska GNOME: agent SSH
Comment[pt]=GNOME Keyring: agente SSH
Comment[pt_BR]=Chaveiro do GNOME: Agente SSH
Comment[ro]=Inelul de chei GNOME: Agent SSH
Comment[ru]=Связка ключей GNOME: SSH-агент
Comment[sk]=SSH agent zväzku kľúčov GNOME
Comment[sl]=Zbirka ključev GNOME: agent SSH
Comment[sr]=Гномови привесци: ССХ агент
Comment[sr@latin]=Gnomovi privesci: SSH agent
Comment[sv]=GNOME-nyckelring: SSH-agent
Comment[ta]=GNOME கீரிங்: SSH முகவர்
Comment[te]=GNOME కీరింగ్: SSH వాహకం
Comment[th]=พวงกุญแจของ GNOME: เอเจนต์ SSH
Comment[tr]=GNOME Anahtarlığı: SSH Aracı
Comment[ug]=گىنوم ئاچقۇچ ھالقىسى:SSH ياردەمچىسى
Comment[uk]=Служба в'язки ключів GNOME: агент SSH
Comment[vi]=Chùm chìa khóa GNOME: Đại diện SSH
Comment[zh_CN]=GNOME 密钥环:SSH 代理
Comment[zh_HK]=GNOME 密碼匙圈:SSH 代理程式
Comment[zh_TW]=GNOME 鑰匙圈:SSH 代理程式
Comment=GNOME Keyring: SSH Agent
Exec=/usr/bin/gnome-keyring-daemon --start --components=ssh
Exec=/run/wrappers/bin/gnome-keyring-daemon --start --components=ssh
OnlyShowIn=GNOME;Unity;MATE;
X-GNOME-Autostart-Phase=PreDisplayServer
X-GNOME-AutoRestart=false
......@@ -11,7 +153,5 @@ X-GNOME-Autostart-Notify=true
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-keyring
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=3.20.1
X-Ubuntu-Gettext-Domain=gnome-keyring
X-GNOME-Autostart-enabled=false
X-GNOME-Bugzilla-Version=3.31.91
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
[global]
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/gnome/16x16/apps/:/usr/share/icons/gnome/16x16/apps/actions/
dmenu = /usr/bin/rofi -dmenu
browser = /usr/bin/google-chrome
idle_threshold = 60
markup = full
font = Fira Code 10
geometry = 384x128-128+32
icon_position = left
word_wrap = true
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
# ----------------------------------------------------
# Variables
# ----------------------------------------------------
set $mod Mod4
# Define names for default workspaces for which we configure key bindings later on.s
# We use variables to avoid repeating the names in multiple places.
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:monospace 8
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
# Before i3 v4.8, we used to recommend this one as the default:
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
# The font above is very space-efficient, that is, it looks good, sharp and
# clear in small sizes. However, its unicode glyph coverage is limited, the old
# X core fonts rendering does not support right-to-left and this being a bitmap
# font, it doesn’t scale on retina/hidpi displays.
# ----------------------------------------------------
# Bindings
# ----------------------------------------------------
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
# bindsym $mod+space exec --no-startup-id ulauncher-toggle
bindsym $mod+space exec --no-startup-id ~/.config/i3/launcher.sh
bindsym Print exec teiler
bindsym $mod+backslash exec rofi -modi 1pass:rofi-1pass -show 1pass
# start a terminal
bindsym $mod+Return exec terminology
# kill focused window
bindsym $mod+Shift+q kill
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
# bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
# resize window (you can also use the mouse for that)
mode "resize" {
# These bindings trigger as soon as you enter the resize mode
# Pressing left will shrink the window’s width.
# Pressing right will grow the window’s width.
# Pressing up will shrink the window’s height.
# Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow width 10 px or 10 ppt
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
# back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
# ----------------------------------------------------
# Workspaces
# ----------------------------------------------------
workspace $ws1 output HDMI-2 eDP-1
assign [class="Google-chrome"] $ws1
assign [class="Code"] $ws3
assign [class="Steam"] $ws4
assign [class="Moonlight"] $ws4
assign [class="calibre"] $ws5
assign [class="IRCCloud"] $ws9
assign [class="TelegramDesktop"] $ws9
assign [class="Gnome-music"] $ws10
# ----------------------------------------------------
# Autostart
# ----------------------------------------------------
exec_always setxkbmap -option ctrl:nocaps
exec --no-startup-id ulauncher --hide-window
exec --no-startup-id go.prompt
exec_always --no-startup-id /home/amandac/.config/polybar/launch.sh
# Start i3bar to display a workspace bar (plus the system information i3status
# finds out, if available)
# bar {
# position top
# font pango:DejaVu Sans Mono, Font Awesome 5 Free, Font Awesome 5 Brands 10
# status_command i3blocks -c ~/.config/i3/i3blocks.conf
# }
# ----------------------------------------------------
# Standard laptop controls
# ----------------------------------------------------
# Pulse Audio controls
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5% #decrease sound volume
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle # mute sound
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec xbacklight -inc 20 # increase screen brightness
bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
# Touchpad control
bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad
# Media player controls
bindsym XF86AudioPlay exec playerctl play-pause
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
#!/usr/bin/env sh
rofi \
-modi combi \
-show combi \
-combi-modi drun,run,displays:~/.config/rofi/modi/rofi-displays.sh
{{ end -}}
\ No newline at end of file
{{ if (index . "programs" "mpd") and (index . "directories" "nextcloud")}}
db_file "~/.config/mpd/database"
state_file "~/.config/mpd/state"
log_file "~/.config/mpd/log.txt"
music_directory "{{ .directories.nextcloud }}/Music/"
playlist_directory "{{ .directories.nextcloud }}/Music/Playlists"
bind_to_address "0.0.0.0"
port "6600"
zeroconf_enabled "yes"
audio_output {
type "pulse"
name "{{.chezmoi.hostname}} speakers"
}
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
[bar/main]
font-0 = Fira Code
font-1 = Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular:size=8
font-2 = Font Awesome 5 Free,Font Awesome 5 Free Solid:style=Solid:size=8
font-3 = Noto Color Emoji:style=Regular:scale=10
enable-ipc = true
monitor = eDP-1
width = 100%
height = 24
separator = " - "
modules-left = i3
modules-center = clock notification-gitlab
modules-right = now-playing volume battery kdeconnect isrunning-compton
tray-position = right
tray-padding = 4
tray-maxsize = 16
[module/now-playing]
type = custom/script
exec = ~/.config/polybar/modules/player-mpris-tail.py -f '{icon} {artist} - {title}'
tail = true
label = %output%
[module/notification-gitlab]
type = custom/script
exec = ~/.config/polybar/modules/notification-gitlab.sh -d
tail = true
label = %output%
[module/battery]
type = internal/battery
full-at = 99
battery = BAT0
adapter = AC
label-charging = Charging %percentage%% (%time%)
label-discharging = Discharging %percentage%% (%time%)
label-full = Fully charged
[module/volume]
type = custom/script
exec = ~/.config/polybar/modules/pulseaudio-rofi.sh --output_volume_listener
tail = true
click-right = ~/.config/polybar/modules/pulseaudio-rofi.sh --output
click-left = ~/.config/polybar/modules/pulseaudio-rofi.sh --mute
scroll-up = ~/.config/polybar/modules/pulseaudio-rofi.sh --volume_up
scroll-down = ~/.config/polybar/modules/pulseaudio-rofi.sh --volume_down
[module/kdeconnect]
type = custom/script
exec = ~/.config/polybar/modules/polybar-kdeconnect.sh -d
tail = true
[module/isrunning-compton]
type = custom/script
exec = ~/.config/polybar/modules/isrunning-compton.sh
interval = 5
click-left = ~/.config/polybar/modules/isrunning-compton.sh --toggle
[module/clock]
type = internal/date
date = %a
time = %H:%M
label = %date% %time%
[module/i3]
type = internal/i3
ws-icon-0 = 1;
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 9;
ws-icon-6 = 10;
ws-icon-default = 
index-sort = true
pin-workspaces = true
label = <label-state>
label-mode = %mode%
label-mode-padding = 2
label-unfocused = %index%:%icon%
label-focused = %index%:%icon%
label-focused-foreground = #ffffff
label-focused-background = #3f3f3f
label-focused-underline = #fba922
label-focused-padding = 4
label-visible = %index%:%icon%
label-visible-underline = #555555
label-visible-padding = 4
label-urgent = %index%:%icon%!
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-padding = 4
label-separator = |
label-separator-padding = 0
label-separator-foreground = #ffb52a
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
#!/usr/bin/env sh
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -x polybar >/dev/null; do sleep 1; done
# Launch
polybar main &
echo "Bar launched..."
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
#!/bin/sh
case "$1" in
--toggle)
if [ "$(pgrep -x compton)" ]; then
pkill compton
else
compton -b --config ~/.config/compton/config
fi
;;
*)
if [ "$(pgrep -x compton)" ]; then
echo "C"
else
echo "NC"
fi
;;
esac
{{ end -}}
\ No newline at end of file
{{ if and .graphical (eq .chezmoi.os "linux") -}}
#!/bin/bash
GITLAB_URL="https://gitlab.darkdna.net"
GITLAB_TOKEN=$(cat ~/.gitlab-token)
GITLAB_ICON=""
function get_todos() {
curl --header "PRIVATE-TOKEN: $GITLAB_TOKEN" "$GITLAB_URL/api/v4/todos" 2>/dev/null >/tmp/gitlab-todo.json
if [[ $? -gt 0 ]]
then
echo ""
return
fi
count=$(jq ". | length" /tmp/gitlab-todo.json)
tmp=$(echo $GITLAB_URL | sed 's/:/\\:/')
echo "%{A1:xdg-open $tmp/dashboard/todos:}$GITLAB_ICON $count%{A}"
}
unset DEV_ID DEV_NAME DEV_BATTERY
while getopts 'dh::' c
do
case $c in
d)
while get_todos;
do
sleep 30
done
;;
h)
echo "Usage: "
echo "--------"
echo "-d -- daemon"
;;
esac
done
{{ end -}}
\ No newline at end of file