mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-17 03:47:20 +02:00
Compare commits
6 Commits
1b243c279d
...
ff524fec97
Author | SHA1 | Date | |
---|---|---|---|
ff524fec97 | |||
8675fadd00 | |||
5743a2e134 | |||
190b4b0a0d | |||
ef0044b3b8 | |||
81b83347f7 |
@ -16,36 +16,31 @@ indent_size = tab
|
||||
# Opinionated affecting only display, better to not set
|
||||
#tab_width =
|
||||
|
||||
# Windows line-endings for Windows
|
||||
[*.{reg,bat,ahk}]
|
||||
end_of_line = crlf
|
||||
|
||||
# Let's ensure *nix is lf although it comes from defaults
|
||||
# above
|
||||
# *nix, just in case
|
||||
[*.{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
|
||||
|
||||
# TAB Separated Values
|
||||
[*.{tsv,tab}]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
# empty last columns/fields
|
||||
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
|
||||
|
||||
# YAML requires spaces
|
||||
[*.{yaml,yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
max_line_length = 79
|
||||
|
||||
# Ruby
|
||||
#[*.rb]
|
||||
@ -54,3 +49,20 @@ indent_size = 2
|
||||
# https://rubystyle.guide/#spaces-indentation
|
||||
#indent_style = space
|
||||
#indent_size = 2
|
||||
|
||||
# TAB Separated Values
|
||||
[*.{tsv,tab}]
|
||||
indent_style = tab
|
||||
indent_size = tab
|
||||
# empty last columns/fields
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
# Windows line-endings for Windows
|
||||
[*.{reg,bat,ahk}]
|
||||
end_of_line = crlf
|
||||
|
||||
# YAML requires spaces
|
||||
[*.{yaml,yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
|
@ -1,37 +1,38 @@
|
||||
{
|
||||
"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}%"
|
||||
},
|
||||
"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}%",
|
||||
"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"
|
||||
},
|
||||
"network": {
|
||||
//"interface": "wlan0",
|
||||
"format": "{ifname}",
|
||||
@ -44,7 +45,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}"
|
||||
}
|
||||
}
|
||||
|
7
etc/yum.repos.d/fedora-crystal.repo
Normal file
7
etc/yum.repos.d/fedora-crystal.repo
Normal file
@ -0,0 +1,7 @@
|
||||
[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