mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-17 20:07:20 +02:00
Compare commits
No commits in common. "ff524fec97700f94cf3fbff12b8c10b1b96d7582" and "1b243c279d043ece20a96c181fce15e182659461" have entirely different histories.
ff524fec97
...
1b243c279d
@ -16,40 +16,20 @@ indent_size = tab
|
||||
# Opinionated affecting only display, better to not set
|
||||
#tab_width =
|
||||
|
||||
# *nix, just in case
|
||||
# Windows line-endings for Windows
|
||||
[*.{reg,bat,ahk}]
|
||||
end_of_line = crlf
|
||||
|
||||
# Let's ensure *nix is lf although it comes from defaults
|
||||
# above
|
||||
[*.{bash,sh}]
|
||||
end_of_line = lf
|
||||
|
||||
# Crystal https://crystal-lang.org/reference/1.7/conventions/coding_style.html#indentation
|
||||
[*.cr]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Markdown apparently allows linebreaks by two trailing spaces, while I
|
||||
# never seem to do that, maybe I should accept it
|
||||
[*.{markdown,md}]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
# Nim https://nim-lang.org/docs/nep1.html#introduction-spacing-and-whitespace-conventions
|
||||
[*.nim]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
max_line_length = 80
|
||||
|
||||
# Python https://peps.python.org/pep-0008/#indentation
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
max_line_length = 79
|
||||
|
||||
# Ruby
|
||||
#[*.rb]
|
||||
# Unofficial Ruby Style guide says two spaces, but Wikipedia says it doesn't
|
||||
# matter so I am going accessibility first and having this commented
|
||||
# https://rubystyle.guide/#spaces-indentation
|
||||
#indent_style = space
|
||||
#indent_size = 2
|
||||
|
||||
# TAB Separated Values
|
||||
[*.{tsv,tab}]
|
||||
indent_style = tab
|
||||
@ -57,12 +37,20 @@ indent_size = tab
|
||||
# empty last columns/fields
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
# Windows line-endings for Windows
|
||||
[*.{reg,bat,ahk}]
|
||||
end_of_line = crlf
|
||||
# Python https://peps.python.org/pep-0008/#indentation
|
||||
[*.py]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
# YAML requires spaces
|
||||
[*.{yaml,yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Ruby
|
||||
#[*.rb]
|
||||
# Unofficial Ruby Style guide says two spaces, but Wikipedia says it doesn't
|
||||
# matter so I am going accessibility first and having this commented
|
||||
# https://rubystyle.guide/#spaces-indentation
|
||||
#indent_style = space
|
||||
#indent_size = 2
|
||||
|
@ -1,38 +1,37 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "left",
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM {percentage}%"
|
||||
},
|
||||
"layer": "top",
|
||||
"position": "left",
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
},
|
||||
"cpu": {
|
||||
"format": "CPU {usage}%"
|
||||
},
|
||||
"memory": {
|
||||
"format": "RAM {percentage}%"
|
||||
},
|
||||
"bluetooth": {
|
||||
"format": "BT {status}",
|
||||
"format-connected": "BT {device_alias}",
|
||||
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "VOL {volume}%",
|
||||
"format-bluetooth": "BT VOL {volume}%",
|
||||
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"]
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 45,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "BAT {capacity}%"
|
||||
},
|
||||
"sway/language": {
|
||||
"format": "KBD {short} {variant}",
|
||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
||||
},
|
||||
"format": "BT {status}",
|
||||
"format-connected": "BT {device_alias}",
|
||||
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "VOL {volume}%",
|
||||
"format-bluetooth": "BT VOL {volume}%"
|
||||
},
|
||||
"battery": {
|
||||
"states": {
|
||||
"warning": 45,
|
||||
"critical": 20
|
||||
},
|
||||
"format": "BAT {capacity}%"
|
||||
},
|
||||
"sway/language": {
|
||||
"format": "KBD {short} {variant}",
|
||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
||||
},
|
||||
"network": {
|
||||
//"interface": "wlan0",
|
||||
"format": "{ifname}",
|
||||
@ -45,7 +44,7 @@
|
||||
"tooltip-format-disconnected": "Disconnected",
|
||||
"max-length": 50
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
||||
}
|
||||
"clock": {
|
||||
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +0,0 @@
|
||||
[crystal]
|
||||
name=Crystal
|
||||
type=rpm-md
|
||||
baseurl=https://download.opensuse.org/repositories/devel:languages:crystal/Fedora_$releasever/
|
||||
gpgcheck=1
|
||||
gpgkey=https://download.opensuse.org/repositories/devel:languages:crystal/Fedora_$releasever/repodata/repomd.xml.key
|
||||
enabled=1
|
Loading…
x
Reference in New Issue
Block a user