1
0
Fork 0

Compare commits

...

8 Commits

Author SHA1 Message Date
urosm 61957df756 update `screen` config 2023-10-08 21:36:51 +02:00
urosm 28b4ba07e1 update `readline` config 2023-10-08 21:36:24 +02:00
urosm 97b781ebc9 update `.profile` 2023-10-08 21:35:57 +02:00
urosm 36ea17efd6 remove `pandoc` data 2023-10-08 21:34:23 +02:00
urosm 4c37272253 update `README.md` 2023-10-08 21:33:36 +02:00
urosm 0a7df6fa5e update scripts
add statusline script
add fuzzel_do script
remove fuzzel_mount script
remove fuzzel_find script
2023-10-08 21:33:36 +02:00
urosm 87adb36c37 update `mako` config 2023-10-08 21:33:36 +02:00
urosm 40812433dc update `sway` config 2023-10-08 21:33:32 +02:00
30 changed files with 200 additions and 9717 deletions

View File

@ -1,13 +1 @@
background-color=#e3e0e1
text-color=#6185ff
border-size=1
border-color=#6185ff
icons=0
format=%s\n%b
default-timeout=5000
anchor=bottom-right
[urgency=critical]
text-color=#ff404f
border-color=#ff404f
default-timeout=0
invisible=1

View File

@ -11,17 +11,19 @@ set keyseq-timeout 50
# history search
$if mode=vi
set keymap vi-command
"j": history-search-forward
"k": history-search-backward
"j": history-substring-search-forward
"k": history-substring-search-backward
set keymap vi-insert
"\e[A": history-search-backward
"\e[B": history-search-forward
"\e[A": history-substring-search-backward
"\e[B": history-substring-search-forward
$endif
# faster completion
"\t":menu-complete
"\e[Z":menu-complete-backward
set completion-ignore-case on
set show-all-if-ambiguous on
set completion-display-width 0
# color
set colored-stats on

View File

@ -3,7 +3,7 @@ maptimeout 5
# hardstatus
hardstatus off
hardstatus alwayslastline
hardstatus string "%{= b} %S %?%E%{m}%?ESC%{b} %?%P%{m}%?C/P%{b}%= %?%-Lw%?%{m}%n%f %t%?(%u)%?%{-}%?%+Lw%?%= %D %M %d %c"
hardstatus string "%{= b} %S %?%E%{m}%?ESC%{b}%=%?%-Lw%?%{m}%n%f %t%?(%u)%?%{-}%?%+Lw%?%= %D %M %d %c"
# caption
caption always
caption string "%?%F%{= m}%:%{= b}%?%=> %n%f %t%? (%u)%? <%="

View File

@ -1,81 +1,39 @@
# variables ####################################################################
# logo key
set $mod Mod4
# home row direction keys
set $left h
set $down j
set $up k
set $right l
# apps
set $term footclient
set $term_float footclient --app-id=foot_float
set $browser firefox
set $email thunderbird
# menus
set $drun fuzzel
set $mountmenu fuzzel_mount.sh
set $findmenu fuzzel_find_and_open.sh
set $wifimenu $term_float nmtui
# colors
set $bg #292526
set $dimmed #6185ff
set $accent #ff3e8b
set $error #ff404f
# TODO: figure out how this is viable
# set $xkb_layout_mode "keyboard layout: (g)b (s)i"
# bindsym alt+shift mode $xkb_layout_mode
#
# mode $xkb_layout_mode {
# bindsym g input "type:keyboard" xkb_layout gb, mode default
# bindsym s input "type:keyboard" xkb_layout si, mode default
# }
seat * hide_cursor 5000
# output
output * bg $bg solid_color
# key bindings
# key bindings #################################################################
# start terminal
bindsym $mod+return exec $term
bindsym $mod+shift+return exec $term_float
bindsym $mod+t exec foot
bindsym $mod+return exec footclient
bindsym $mod+shift+return exec foot
# start browser
bindsym $mod+w exec $browser
bindsym $mod+shift+w exec $email
# start menus
bindsym $mod+space exec $drun
bindsym $mod+home exec $wifimenu
bindsym $mod+insert exec $mountmenu
bindsym $mod+e exec $findmenu
bindsym $mod+w exec firefox
bindsym $mod+shift+w exec thunderbird
# start menu
bindsym $mod+space exec fuzzel
bindsym $mod+home exec footclient nmtui
bindsym $mod+o exec fuzzel_do.sh
# notifications
bindsym $mod+slash exec notify-send -e -h string:x-canonical-private-synchronous:status "$(date)" "Battery: $(cat /sys/class/power_supply/BAT0/capacity)%"
bindsym $mod+x exec makoctl dismiss
bindsym $mod+shift+x exec makoctl dismiss -a
bindsym $mod+z exec makoctl restore
# kill window
bindsym $mod+q kill
# move focus
bindsym $mod+$up focus up
bindsym $mod+$down focus down
bindsym $mod+$left focus left
bindsym $mod+$right focus right
# move focused window
bindsym $mod+shift+$up move up
bindsym $mod+shift+$down move down
bindsym $mod+shift+$left move left
bindsym $mod+shift+$right move right
# switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
@ -89,7 +47,6 @@ bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+next workspace next
bindsym $mod+prior workspace prev
# move focused to workspace
bindsym $mod+shift+1 move container to workspace number 1, workspace number 1
bindsym $mod+shift+2 move container to workspace number 2, workspace number 2
@ -103,52 +60,25 @@ bindsym $mod+shift+9 move container to workspace number 9, workspace number 9
bindsym $mod+shift+0 move container to workspace number 10, workspace number 10
bindsym $mod+shift+next move container to workspace next, workspace next
bindsym $mod+shift+prior move container to workspace prev, workspace prev
# resize
set $resize_mode "resize"
bindsym $mod+r mode $resize_mode
mode $resize_mode {
bindsym $left resize shrink width
bindsym $down resize grow height
bindsym $up resize shrink height
bindsym $right resize grow width
bindsym $mod+$left resize shrink width 25 px
bindsym $mod+$down resize grow height 25 px
bindsym $mod+$up resize shrink height 25 px
bindsym $mod+$right resize grow width 25 px
bindsym escape mode default
bindsym $mod+escape mode default
bindsym $mod+r mode default
}
bindsym $mod+control+$left resize shrink width
bindsym $mod+control+$down resize grow height
bindsym $mod+control+$up resize shrink height
bindsym $mod+control+$right resize grow width
# layout
bindsym $mod+a focus parent
bindsym $mod+shift+a focus child
bindsym $mod+s layout toggle split
bindsym $mod+shift+s split toggle
bindsym $mod+d layout toggle tabbed split
bindsym $mod+f fullscreen toggle
bindsym $mod+shift+f floating toggle
bindsym $mod+g focus mode_toggle
bindsym $mod+shift+g sticky toggle
# scratchpad
bindsym $mod+period move to scratchpad
bindsym $mod+period move scratchpad
bindsym $mod+shift+period scratchpad show
# floating
for_window [window_type="dialog"] floating enable
for_window [window_type="utility"] floating enable
for_window [window_type="toolbar"] floating enable
for_window [window_type="splash"] floating enable
for_window [window_type="menu"] floating enable
for_window [window_type="dropdown_menu"] floating enable
for_window [window_type="popup_menu"] floating enable
for_window [window_type="tooltip"] floating enable
for_window [window_type="notification"] floating enable
# rules
for_window [title="About Mozilla Firefox"] floating enable
for_window [app_id="foot_float"] floating enable
for_window [app_id="foot"] inhibit_idle focus
# mouse
floating_modifier $mod normal
# laptop
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+;\
exec notify-send -e -t 1000 -h string:x-canonical-private-synchronous:audio_sink "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)"
@ -166,14 +96,36 @@ bindsym shift+XF86MonBrightnessUp exec brightnessctl set "+10%";\
exec notify-send -e -t 1000 -h string:x-canonical-private-synchronous:brightness "Brightness: $(brightnessctl get)"
bindsym shift+XF86MonBrightnessDown exec brightnessctl set "10%-";\
exec notify-send -e -t 1000 -h string:x-canonical-private-synchronous:brightness "Brightness: $(brightnessctl get)"
# screenshots
bindsym print exec grimshot save screen
bindsym print exec grim - | wl-copy
# session
# mark mode ####################################################################
set $mark_mode "mark"
mode $mark_mode {
bindsym a mark --toggle a, mode default
bindsym b mark --toggle b, mode default
bindsym c mark --toggle c, mode default
bindsym backspace unmark, mode default
# return
bindsym escape mode "default"
bindsym $mod+escape mode "default"
}
bindsym $mod+m mode $mark_mode
# tab mode #####################################################################
set $tab_mode "tab"
mode $tab_mode {
bindsym a [con_mark="a"] focus, mode default
bindsym b [con_mark="b"] focus, mode default
bindsym c [con_mark="c"] focus, mode default
# return
bindsym escape mode "default"
bindsym $mod+escape mode "default"
}
bindsym $mod+tab mode $tab_mode
# session mode #################################################################
set $session_mode "session: (r)eload (l)ock (q)uit (s)uspend re(b)oot (p)oweroff"
bindsym $mod+escape mode $session_mode
mode $session_mode {
bindsym r reload, mode default
bindsym l exec swaylock, mode default
@ -181,66 +133,64 @@ mode $session_mode {
bindsym s exec systemctl suspend, mode default
bindsym b exec systemctl reboot, mode default
bindsym p exec systemctl poweroff, mode default
# return
bindsym escape mode default
bindsym $mod+escape mode default
}
bindsym $mod+escape mode $session_mode
# visuals ######################################################################
set $bg #292526
set $dimmed #6185ff
set $accent #ff3e8b
set $error #ff404f
# output
output * {
background $bg solid_color
adaptive_sync on
}
# border
default_border none
default_border normal 1
default_floating_border normal 1
set $border_mode "border: (n)one (t)itle (p)ixel"
bindsym $mod+b mode $border_mode
# class border background text indicator child_border
client.focused $accent $accent $bg $error $bg
client.focused_inactive $dimmed $dimmed $bg $bg $bg
client.unfocused $dimmed $dimmed $bg $bg $bg
client.urgent $error $error $bg $error $bg
mode $border_mode {
bindsym n border none, mode default
bindsym t border normal 1, mode default
bindsym p border pixel 1, mode default
bindsym escape mode default
bindsym $mod+escape mode default
bindsym $mod+b mode default
# behaviour ####################################################################
workspace_layout tabbed
focus_follows_mouse yes
focus_wrapping yes
# statusbar ####################################################################
bar {
# status_command ~/src/swaystatus/build/swaystatus
status_command statusline.sh
separator_symbol " | "
colors {
background $bg
statusline $dimmed
separator $dimmed
# border background text
focused_workspace $bg $bg $accent
active_workspace $dimmed $bg $dimmed
inactive_workspace $bg $bg $dimmed
urgent_workspace $bg $bg $error
}
}
# class border background text indicator child_border
client.focused $accent $accent $bg $error $accent
client.focused_inactive $dimmed $dimmed $bg $bg $dimmed
client.unfocused $dimmed $dimmed $bg $bg $dimmed
client.urgent $error $error $bg $error $error
# xwayland #####################################################################
xwayland disable
# statusbar
bar colors {
background $bg
statusline $dimmed
separator $dimmed
# border background text
focused_workspace $bg $bg $accent
active_workspace $dimmed $bg $dimmed
inactive_workspace $bg $bg $dimmed
urgent_workspace $bg $bg $error
}
}
set $bar_mode "bar: (d)ock (h)ide (i)nvisible (o)verlay"
bindsym $mod+shift+b mode $bar_mode, bar mode dock
mode $bar_mode {
bindsym d bar mode dock, mode default
bindsym h bar mode hide, mode default
bindsym i bar mode invisible, mode default
bindsym o bar mode overlay, mode default
bindsym escape mode default
bindsym $mod+escape mode default
bindsym $mod+shift+b mode default
}
# autostart
# autostart ####################################################################
exec swayidle
exec wlsunset -l 45 -L 15
exec mako
exec foot --server
# xwayland
xwayland disable
# include
# include ######################################################################
include ~/.config/sway/`hostname`

View File

@ -2,9 +2,13 @@
input "type:keyboard" {
xkb_layout gb,si
xkb_options caps:escape,grp:alt_shift_toggle
repeat_delay 200
repeat_rate 30
}
input "type:touchpad" {
tap enabled
}
# seat
seat * hide_cursor 5000

View File

@ -8,4 +8,13 @@ input "type:keyboard" {
xkb_layout us,si
xkb_options caps:escape,grp:alt_shift_toggle
xkb_numlock enabled
repeat_delay 300
repeat_rate 30
}
input "type:touchpad" {
tap enabled
}
# seat
seat * hide_cursor 5000

View File

@ -0,0 +1,6 @@
#!/bin/sh
cmd=$(/usr/bin/fuzzel --dmenu --prompt "\$ ") || exit
sel=$($cmd | /usr/bin/fuzzel --dmenu) || exit
exec $(/usr/bin/fuzzel --dmenu --prompt "\$1 $sel < ") "$sel" || exit

View File

@ -1,13 +0,0 @@
#!/usr/bin/sh
#
# fuzzel_find_and_open.sh
#
# Search for file and open it. Requires fuzzel, find and xdg-open.
args=$(/usr/bin/fuzzel --dmenu --prompt "$ find ") || exit
# shellcheck disable=SC2086
selection=$(find $args | /usr/bin/fuzzel --dmenu --prompt "$ xdg-open ")
if [ -n "$selection" ]; then
exec /usr/bin/xdg-open "$selection"
fi

View File

@ -1,35 +0,0 @@
#!/usr/bin/sh
#
# fuzzel_mount.sh
#
# Mount devices. Requires fuzzel and udisksctl.
LSBLK_PART_TYPE="part"
LSBLK_LIST=$(lsblk -Ppo name,type,mountpoint)
while read -r line; do
while read -r keyval; do
eval "$keyval"
done <<- EOF
$line
EOF
expr "$NAME" : "/dev/sda." && continue
[ "$TYPE" = "$LSBLK_PART_TYPE" ] || continue
if [ -n "$MOUNTPOINT" ]; then
option_list=$(printf %s\\n "udisksctl unmount -b $NAME" "$option_list")
else
option_list=$(printf %s\\n "udisksctl mount -b $NAME" "$option_list")
fi
done <<- EOF
$LSBLK_LIST
EOF
selection=$(printf %s "$option_list" | fuzzel --dmenu --prompt "$ ")
if [ -n "$selection" ]; then
# TODO: notification and error reporting
exec $selection
fi

View File

@ -0,0 +1,14 @@
#!/bin/sh
printf "{\"version\":1}\n"
printf "[\n"
while true
do
printf "["
printf "{\"full_text\":\"%s\"}," "$(makoctl list | jq -r '.data[][0].summary.data | select(type == "string")')"
printf "{\"full_text\":\"%s\"}," "$(swaymsg -t get_inputs | jq -r '[.[] | select(.type == "keyboard")][0] | .xkb_active_layout_name')"
printf "{\"full_text\":\"%s\"}," "$(cat /sys/class/power_supply/BAT0/capacity)"
printf "{\"full_text\":\"%s\"}," "$(date +%c)"
printf "],"
sleep 0.1
done

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,604 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="sl-SI">
<info>
<translator>
<name>Kristof Ostir</name>
</translator>
<translator>
<name>ratek1</name>
</translator>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
<updated>2014-11-06T09:41:02+00:00</updated>
</info>
<style-options punctuation-in-quote="false"/>
<date form="text">
<date-part name="day" form="numeric" suffix=". "/>
<date-part name="month" suffix=" "/>
<date-part name="year"/>
</date>
<date form="numeric">
<date-part name="day" form="numeric" suffix=". "/>
<date-part name="month" form="numeric" suffix=". "/>
<date-part name="year"/>
</date>
<terms>
<term name="advance-online-publication">advance online publication</term>
<term name="album">album</term>
<term name="audio-recording">audio recording</term>
<term name="film">film</term>
<term name="henceforth">henceforth</term>
<term name="loc-cit">loc. cit.</term> <!-- like ibid., the abbreviated form is the regular form -->
<term name="no-place">no place</term>
<term name="no-place" form="short">n.p.</term>
<term name="no-publisher">no publisher</term> <!-- sine nomine -->
<term name="no-publisher" form="short">n.p.</term>
<term name="on">on</term>
<term name="op-cit">op. cit.</term> <!-- like ibid., the abbreviated form is the regular form -->
<term name="original-work-published">original work published</term>
<term name="personal-communication">osebna komunikacija</term>
<term name="podcast">podcast</term>
<term name="podcast-episode">podcast episode</term>
<term name="preprint">preprint</term>
<term name="radio-broadcast">radio broadcast</term>
<term name="radio-series">radio series</term>
<term name="radio-series-episode">radio series episode</term>
<term name="special-issue">special issue</term>
<term name="special-section">special section</term>
<term name="television-broadcast">television broadcast</term>
<term name="television-series">television series</term>
<term name="television-series-episode">television series episode</term>
<term name="video">video</term>
<term name="working-paper">working paper</term>
<term name="accessed">pridobljeno</term>
<term name="and">in</term>
<term name="and others">in drugi</term>
<term name="anonymous">anonimni</term>
<term name="anonymous" form="short">anon.</term>
<term name="at">pri</term>
<term name="available at">dostopno na</term>
<term name="by"></term>
<term name="circa">približno</term>
<term name="circa" form="short">prib.</term>
<term name="cited">citirano</term>
<term name="edition">
<single>izdaja</single>
<multiple>izdaje</multiple>
</term>
<term name="edition" form="short">izd.</term>
<term name="et-al">idr.</term>
<term name="forthcoming">pred izidom</term>
<term name="from">s</term>
<term name="ibid">isto</term>
<term name="in">v</term>
<term name="in press">v tisku</term>
<term name="internet">internet</term>
<term name="letter">pismo</term>
<term name="no date">brez datuma</term>
<term name="no date" form="short">b. d.</term>
<term name="online">na spletu</term>
<term name="presented at">predstavljeno na</term>
<term name="reference">
<single>referenca</single>
<multiple>reference</multiple>
</term>
<term name="reference" form="short">
<single>ref.</single>
<multiple>ref.</multiple>
</term>
<term name="retrieved">pridobljeno</term>
<term name="scale">merilo</term>
<term name="version">različica</term>
<!-- LONG ITEM TYPE FORMS -->
<term name="article">preprint</term>
<term name="article-journal">journal article</term>
<term name="article-magazine">magazine article</term>
<term name="article-newspaper">newspaper article</term>
<term name="bill">bill</term>
<!-- book is in the list of locator terms -->
<term name="broadcast">broadcast</term>
<!-- chapter is in the list of locator terms -->
<term name="classic">classic</term>
<term name="collection">collection</term>
<term name="dataset">dataset</term>
<term name="document">document</term>
<term name="entry">entry</term>
<term name="entry-dictionary">dictionary entry</term>
<term name="entry-encyclopedia">encyclopedia entry</term>
<term name="event">event</term>
<!-- figure is in the list of locator terms -->
<term name="graphic">graphic</term>
<term name="hearing">hearing</term>
<term name="interview">intervju</term>
<term name="legal_case">legal case</term>
<term name="legislation">legislation</term>
<term name="manuscript">manuscript</term>
<term name="map">map</term>
<term name="motion_picture">video recording</term>
<term name="musical_score">musical score</term>
<term name="pamphlet">pamphlet</term>
<term name="paper-conference">conference paper</term>
<term name="patent">patent</term>
<term name="performance">performance</term>
<term name="periodical">periodical</term>
<term name="personal_communication">osebna komunikacija</term>
<term name="post">post</term>
<term name="post-weblog">blog post</term>
<term name="regulation">regulation</term>
<term name="report">report</term>
<term name="review">review</term>
<term name="review-book">book review</term>
<term name="software">software</term>
<term name="song">audio recording</term>
<term name="speech">presentation</term>
<term name="standard">standard</term>
<term name="thesis">thesis</term>
<term name="treaty">treaty</term>
<term name="webpage">webpage</term>
<!-- SHORT ITEM TYPE FORMS -->
<term name="article-journal" form="short">journal art.</term>
<term name="article-magazine" form="short">mag. art.</term>
<term name="article-newspaper" form="short">newspaper art.</term>
<!-- book is in the list of locator terms -->
<!-- chapter is in the list of locator terms -->
<term name="document" form="short">doc.</term>
<!-- figure is in the list of locator terms -->
<term name="graphic" form="short">graph.</term>
<term name="interview" form="short">interv.</term>
<term name="manuscript" form="short">MS</term>
<term name="motion_picture" form="short">video rec.</term>
<term name="report" form="short">rep.</term>
<term name="review" form="short">rev.</term>
<term name="review-book" form="short">bk. rev.</term>
<term name="song" form="short">audio rec.</term>
<!-- HISTORICAL ERA TERMS -->
<term name="ad">n. št.</term>
<term name="bc">pr. n. št.</term>
<term name="bce">BCE</term>
<term name="ce">CE</term>
<!-- PUNCTUATION -->
<term name="open-quote"></term>
<term name="close-quote"></term>
<term name="open-inner-quote"></term>
<term name="close-inner-quote"></term>
<term name="page-range-delimiter"></term>
<term name="colon">:</term>
<term name="comma">,</term>
<term name="semicolon">;</term>
<!-- ORDINALS -->
<term name="ordinal">.</term>
<!-- LONG ORDINALS -->
<term name="long-ordinal-01">prva</term>
<term name="long-ordinal-02">druga</term>
<term name="long-ordinal-03">tretja</term>
<term name="long-ordinal-04">četrta</term>
<term name="long-ordinal-05">peta</term>
<term name="long-ordinal-06">šesta</term>
<term name="long-ordinal-07">sedma</term>
<term name="long-ordinal-08">osma</term>
<term name="long-ordinal-09">deveta</term>
<term name="long-ordinal-10">deseta</term>
<!-- LONG LOCATOR FORMS -->
<term name="act">
<single>act</single>
<multiple>acts</multiple>
</term>
<term name="appendix">
<single>appendix</single>
<multiple>appendices</multiple>
</term>
<term name="article-locator">
<single>article</single>
<multiple>articles</multiple>
</term>
<term name="canon">
<single>canon</single>
<multiple>canons</multiple>
</term>
<term name="elocation">
<single>location</single>
<multiple>locations</multiple>
</term>
<term name="equation">
<single>equation</single>
<multiple>equations</multiple>
</term>
<term name="rule">
<single>rule</single>
<multiple>rules</multiple>
</term>
<term name="scene">
<single>scene</single>
<multiple>scenes</multiple>
</term>
<term name="table">
<single>table</single>
<multiple>tables</multiple>
</term>
<term name="timestamp"> <!-- generally blank -->
<single></single>
<multiple></multiple>
</term>
<term name="title-locator">
<single>title</single>
<multiple>titles</multiple>
</term>
<term name="book">
<single>knjiga</single>
<multiple>knjige</multiple>
</term>
<term name="chapter">
<single>poglavje</single>
<multiple>poglavja</multiple>
</term>
<term name="column">
<single>stolpec</single>
<multiple>stolpci</multiple>
</term>
<term name="figure">
<single>slika</single>
<multiple>slike</multiple>
</term>
<term name="folio">
<single>folio</single>
<multiple>folii</multiple>
</term>
<term name="issue">
<single>številka</single>
<multiple>številke</multiple>
</term>
<term name="line">
<single>vrstica</single>
<multiple>vrstice</multiple>
</term>
<term name="note">
<single>opomba</single>
<multiple>opombe</multiple>
</term>
<term name="opus">
<single>opus</single>
<multiple>opusi</multiple>
</term>
<term name="page">
<single>stran</single>
<multiple>strani</multiple>
</term>
<term name="number-of-pages">
<single>stran</single>
<multiple>strani</multiple>
</term>
<term name="paragraph">
<single>odstavek</single>
<multiple>odstavki</multiple>
</term>
<term name="part">
<single>del</single>
<multiple>deli</multiple>
</term>
<term name="section">
<single>odsek</single>
<multiple>odseki</multiple>
</term>
<term name="sub-verbo">
<single>sub verbo</single>
<multiple>sub verbis</multiple>
</term>
<term name="verse">
<single>verz</single>
<multiple>verzi</multiple>
</term>
<term name="volume">
<single>letnik</single>
<multiple>letniki</multiple>
</term>
<!-- SHORT LOCATOR FORMS -->
<term name="appendix" form="short">
<single>app.</single>
<multiple>apps.</multiple>
</term>
<term name="article-locator" form="short">
<single>art.</single>
<multiple>arts.</multiple>
</term>
<term name="elocation" form="short">
<single>loc.</single>
<multiple>locs.</multiple>
</term>
<term name="equation" form="short">
<single>eq.</single>
<multiple>eqs.</multiple>
</term>
<term name="rule" form="short">
<single>r.</single>
<multiple>rr.</multiple>
</term>
<term name="scene" form="short">
<single>sc.</single>
<multiple>scs.</multiple>
</term>
<term name="table" form="short">
<single>tbl.</single>
<multiple>tbls.</multiple>
</term>
<term name="timestamp" form="short"> <!-- generally blank -->
<single></single>
<multiple></multiple>
</term>
<term name="title-locator" form="short">
<single>tit.</single>
<multiple>tits.</multiple>
</term>
<term name="book" form="short">knj.</term>
<term name="chapter" form="short">pogl.</term>
<term name="column" form="short">stolp.</term>
<term name="figure" form="short">sl.</term>
<term name="folio" form="short">fol.</term>
<term name="issue" form="short">št.</term>
<term name="line" form="short">vrst.</term>
<term name="note" form="short">op.</term>
<term name="opus" form="short">opus</term>
<term name="page" form="short">
<single>str.</single>
<multiple>str.</multiple>
</term>
<term name="number-of-pages" form="short">
<single>str.</single>
<multiple>str.</multiple>
</term>
<term name="paragraph" form="short">odst.</term>
<term name="part" form="short">del</term>
<term name="section" form="short">ods.</term>
<term name="sub-verbo" form="short">
<single>s. v.</single>
<multiple>s. v.</multiple>
</term>
<term name="verse" form="short">
<single>v.</single>
<multiple>v.</multiple>
</term>
<term name="volume" form="short">
<single>let.</single>
<multiple>let.</multiple>
</term>
<!-- SYMBOL LOCATOR FORMS -->
<term name="paragraph" form="symbol">
<single></single>
<multiple>¶¶</multiple>
</term>
<term name="section" form="symbol">
<single>§</single>
<multiple>§§</multiple>
</term>
<!-- LONG ROLE FORMS -->
<term name="chair">
<single>chair</single>
<multiple>chairs</multiple>
</term>
<term name="compiler">
<single>compiler</single>
<multiple>compilers</multiple>
</term>
<term name="contributor">
<single>contributor</single>
<multiple>contributors</multiple>
</term>
<term name="curator">
<single>curator</single>
<multiple>curators</multiple>
</term>
<term name="executive-producer">
<single>executive producer</single>
<multiple>executive producers</multiple>
</term>
<term name="guest">
<single>guest</single>
<multiple>guests</multiple>
</term>
<term name="host">
<single>host</single>
<multiple>hosts</multiple>
</term>
<term name="narrator">
<single>narrator</single>
<multiple>narrators</multiple>
</term>
<term name="organizer">
<single>organizer</single>
<multiple>organizers</multiple>
</term>
<term name="performer">
<single>performer</single>
<multiple>performers</multiple>
</term>
<term name="producer">
<single>producer</single>
<multiple>producers</multiple>
</term>
<term name="script-writer">
<single>writer</single>
<multiple>writers</multiple>
</term>
<term name="series-creator">
<single>series creator</single>
<multiple>series creators</multiple>
</term>
<term name="director">
<single>režiser</single>
<multiple>režiserji</multiple>
</term>
<term name="editor">
<single>urednik</single>
<multiple>uredniki</multiple>
</term>
<term name="editorial-director">
<single>glavni urednik</single>
<multiple>glavni uredniki</multiple>
</term>
<term name="illustrator">
<single>ilustrator</single>
<multiple>ilustratorji</multiple>
</term>
<term name="translator">
<single>prevajalec</single>
<multiple>prevajalci</multiple>
</term>
<term name="editortranslator">
<single>urednik &amp; prevajalec</single>
<multiple>uredniki &amp; prevajalci</multiple>
</term>
<!-- SHORT ROLE FORMS -->
<term name="compiler" form="short">
<single>comp.</single>
<multiple>comps.</multiple>
</term>
<term name="contributor" form="short">
<single>contrib.</single>
<multiple>contribs.</multiple>
</term>
<term name="curator" form="short">
<single>cur.</single>
<multiple>curs.</multiple>
</term>
<term name="executive-producer" form="short">
<single>exec. prod.</single>
<multiple>exec. prods.</multiple>
</term>
<term name="narrator" form="short">
<single>narr.</single>
<multiple>narrs.</multiple>
</term>
<term name="organizer" form="short">
<single>org.</single>
<multiple>orgs.</multiple>
</term>
<term name="performer" form="short">
<single>perf.</single>
<multiple>perfs.</multiple>
</term>
<term name="producer" form="short">
<single>prod.</single>
<multiple>prods.</multiple>
</term>
<term name="script-writer" form="short">
<single>writ.</single>
<multiple>writs.</multiple>
</term>
<term name="series-creator" form="short">
<single>cre.</single>
<multiple>cres.</multiple>
</term>
<term name="director" form="short">
<single>rež.</single>
<multiple>rež.</multiple>
</term>
<term name="editor" form="short">
<single>ur.</single>
<multiple>ur.</multiple>
</term>
<term name="editorial-director" form="short">
<single>gl. ur.</single>
<multiple>gl. ur.</multiple>
</term>
<term name="illustrator" form="short">
<single>ilus.</single>
<multiple>ilus.</multiple>
</term>
<term name="translator" form="short">
<single>prev.</single>
<multiple>prev.</multiple>
</term>
<term name="editortranslator" form="short">
<single>ur. &amp; prev.</single>
<multiple>ur. &amp; prev.</multiple>
</term>
<!-- VERB ROLE FORMS -->
<term name="chair" form="verb">chaired by</term>
<term name="compiler" form="verb">compiled by</term>
<term name="contributor" form="verb">with</term>
<term name="curator" form="verb">curated by</term>
<term name="executive-producer" form="verb">executive produced by</term>
<term name="guest" form="verb">with guest</term>
<term name="host" form="verb">hosted by</term>
<term name="narrator" form="verb">narrated by</term>
<term name="organizer" form="verb">organized by</term>
<term name="performer" form="verb">performed by</term>
<term name="producer" form="verb">produced by</term>
<term name="script-writer" form="verb">written by</term>
<term name="series-creator" form="verb">created by</term>
<term name="container-author" form="verb"></term>
<term name="director" form="verb">režiral</term>
<term name="editor" form="verb">uredil</term>
<term name="editorial-director" form="verb">uredil</term>
<term name="illustrator" form="verb">ilustriral</term>
<term name="interviewer" form="verb">intervjuval</term>
<term name="recipient" form="verb">za</term>
<term name="reviewed-author" form="verb">od</term>
<term name="translator" form="verb">prevedel</term>
<term name="editortranslator" form="verb">uredil &amp; prevedel</term>
<!-- SHORT VERB ROLE FORMS -->
<term name="compiler" form="verb-short">comp. by</term>
<term name="contributor" form="verb-short">w.</term>
<term name="curator" form="verb-short">cur. by</term>
<term name="executive-producer" form="verb-short">exec. prod. by</term>
<term name="guest" form="verb-short">w. guest</term>
<term name="host" form="verb-short">hosted by</term>
<term name="narrator" form="verb-short">narr. by</term>
<term name="organizer" form="verb-short">org. by</term>
<term name="performer" form="verb-short">perf. by</term>
<term name="producer" form="verb-short">prod. by</term>
<term name="script-writer" form="verb-short">writ. by</term>
<term name="series-creator" form="verb-short">cre. by</term>
<term name="director" form="verb-short">rež.</term>
<term name="editor" form="verb-short">ured.</term>
<term name="editorial-director" form="verb-short">ured.</term>
<term name="illustrator" form="verb-short">ilus.</term>
<term name="translator" form="verb-short">prev.</term>
<term name="editortranslator" form="verb-short">ured. &amp; prev. by</term>
<!-- LONG MONTH FORMS -->
<term name="month-01">januar</term>
<term name="month-02">februar</term>
<term name="month-03">marec</term>
<term name="month-04">april</term>
<term name="month-05">maj</term>
<term name="month-06">junij</term>
<term name="month-07">julij</term>
<term name="month-08">avgust</term>
<term name="month-09">september</term>
<term name="month-10">oktober</term>
<term name="month-11">november</term>
<term name="month-12">december</term>
<!-- SHORT MONTH FORMS -->
<term name="month-01" form="short">jan.</term>
<term name="month-02" form="short">feb.</term>
<term name="month-03" form="short">mar.</term>
<term name="month-04" form="short">apr.</term>
<term name="month-05" form="short">maj</term>
<term name="month-06" form="short">jun.</term>
<term name="month-07" form="short">jul.</term>
<term name="month-08" form="short">avg.</term>
<term name="month-09" form="short">sep.</term>
<term name="month-10" form="short">okt.</term>
<term name="month-11" form="short">nov.</term>
<term name="month-12" form="short">dec.</term>
<!-- SEASONS -->
<term name="season-01">pomlad</term>
<term name="season-02">poletje</term>
<term name="season-03">jesen</term>
<term name="season-04">zima</term>
</terms>
</locale>

View File

@ -1,2 +0,0 @@
citeproc: true
csl: chicago-fullnote-bibliography-sl

View File

@ -1,2 +0,0 @@
citeproc: true
csl: chicago-fullnote-bibliography

View File

@ -1,2 +0,0 @@
to: docx
reference-doc: ${USERDATA}/reference.docx

View File

@ -1,2 +0,0 @@
to: html
standalone: true

View File

@ -1,2 +0,0 @@
to: odt
reference-doc: ${USERDATA}/reference.odt

View File

@ -1,8 +0,0 @@
to: pdf
metadata:
indent: true
linestretch: 1.5
papersize: a4
fontfamily: tgtermes
fontsize: 12pt
colorlinks: false

View File

@ -1,2 +0,0 @@
citeproc: true
csl: chicago-syllabus-sl

View File

@ -1,2 +0,0 @@
citeproc: true
csl: chicago-syllabus

Binary file not shown.

Binary file not shown.

View File

@ -88,7 +88,9 @@ if [ "$(tty)" = "/dev/tty1" ] && command -v sway &>/dev/null; then
# wayland
# export WLR_DRM_NO_ATOMIC=1
# ssh agent
eval $(ssh-agent)
# run sway
# exec systemd-cat --identifier=sway ssh-agent sway
exec ssh-agent sway
exec systemd-cat --identifier=sway sway
fi

107
README
View File

@ -1,107 +0,0 @@
quickstart
sudo apt install git
cd
git init
git remote add origin gitea@git.kompot.si:urosm/dot.git
git pull
git checkout main -f
locales
sudo dpkg-reconfigure locales
utils
sudo apt install screen
sudo apt install rsync
sudo apt install udisks2
networking
sudo apt install network-manager
sudo apt install openssh-server
firewall
sudo apt install ufw
sudo ufw allow "SSH"
sudo ufw allow 1194/udp
sudo ufw enable
neovim
sudo apt install ninja-build gettext cmake unzip curl
git clone --depth 1 --branch v0.9.1 https://github.com/neovim/neovim
cd neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
lua-language-server
sudo apt install ninja-build g++
git clone --depth 1 --branch 3.6.25 https://github.com/luals/lua-language-server
./make.sh
shell scripting
sudo apt install shellcheck
sudo apt install shfmt
sway
sudo apt install --no-install-recommends sway
sudo apt install swayidle swaylock
sudo apt install mako-notifier libnotify-bin
sudo apt install foot
sudo apt install fuzzel
sudo apt install grimshot
sudo apt install brightnessctl wlsunset
sudo apt install fonts-agave
audio
sudo apt install pipewire-audio
systemctl --user enable --now wireplumber.service
web and media
sudo apt install firefox-esr
sudo apt install thunderbird
sudo apt install mpv
sudo apt install zathura
writing
sudo apt install pandoc
sudo apt install texlive-latex-recommended texlive-fonts-extra
office
sudo apt install libreoffice libreoffice-gtk3
sudo apt install libreoffice-l10n-sl
printing and scanning
sudo apt install cups
sudo apt install simple-scan
sudo apt install imagemagick
sudo apt install ocrmypdf
sudo apt install tesseract-ocr-slv
remote desktop
sudo apt install remmina

63
README.md 100644
View File

@ -0,0 +1,63 @@
```sh
# dotfiles
sudo apt install git
cd
git init
git remote add origin gitea@git.kompot.si:urosm/dot.git
git pull
git checkout main -f
# locale setup
sudo dpkg-reconfigure locales
# utils
sudo apt install unzip
sudo apt install curl
sudo apt install jq
sudo apt install screen
sudo apt install rsync
sudo apt install udisks2
# networking
sudo apt install network-manager
# firewall
sudo apt install ufw
sudo ufw allow "SSH"
sudo ufw allow 1194/udp
sudo ufw enable
# neovim
sudo apt install neovim
# sway
sudo apt install --no-install-recommends sway
sudo apt install swayidle swaylock
sudo apt install xdg-desktop-portal-wlr
sudo apt install foot
sudo apt install fuzzel
sudo apt install brightnessctl wlsunset
sudo apt install fonts-agave
sudo apt install grim
sudo apt install wl-clipboard
# notifications
sudo apt install mako-notifier libnotify-bin
# audio
sudo apt install pipewire-audio
systemctl --user enable --now wireplumber.service
# web and media
sudo apt install firefox-esr
sudo apt install thunderbird
sudo apt install mpv
sudo apt install zathura zathura-djvu
# writing
sudo apt install pandoc
sudo apt install texlive-latex-recommended texlive-fonts-extra # TODO
# office
sudo apt install libreoffice
sudo apt install libreoffice-gtk3
sudo apt install libreoffice-l10n-sl
# printing and scanning
sudo apt install cups
sudo apt install simple-scan
# pdf processing
sudo apt install imagemagick
sudo apt install ocrmypdf
sudo apt install qpdf
# remote desktop
sudo apt install remmina
```