mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-08-17 20:07: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
|
# Opinionated affecting only display, better to not set
|
||||||
#tab_width =
|
#tab_width =
|
||||||
|
|
||||||
# Windows line-endings for Windows
|
# *nix, just in case
|
||||||
[*.{reg,bat,ahk}]
|
|
||||||
end_of_line = crlf
|
|
||||||
|
|
||||||
# Let's ensure *nix is lf although it comes from defaults
|
|
||||||
# above
|
|
||||||
[*.{bash,sh}]
|
[*.{bash,sh}]
|
||||||
end_of_line = lf
|
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
|
# Markdown apparently allows linebreaks by two trailing spaces, while I
|
||||||
# never seem to do that, maybe I should accept it
|
# never seem to do that, maybe I should accept it
|
||||||
[*.{markdown,md}]
|
[*.{markdown,md}]
|
||||||
trim_trailing_whitespace = false
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
# TAB Separated Values
|
# Nim https://nim-lang.org/docs/nep1.html#introduction-spacing-and-whitespace-conventions
|
||||||
[*.{tsv,tab}]
|
[*.nim]
|
||||||
indent_style = tab
|
indent_style = space
|
||||||
indent_size = tab
|
indent_size = 2
|
||||||
# empty last columns/fields
|
max_line_length = 80
|
||||||
trim_trailing_whitespace = false
|
|
||||||
|
|
||||||
# Python https://peps.python.org/pep-0008/#indentation
|
# Python https://peps.python.org/pep-0008/#indentation
|
||||||
[*.py]
|
[*.py]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
max_line_length = 79
|
||||||
# YAML requires spaces
|
|
||||||
[*.{yaml,yml}]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
# Ruby
|
# Ruby
|
||||||
#[*.rb]
|
#[*.rb]
|
||||||
@ -54,3 +49,20 @@ indent_size = 2
|
|||||||
# https://rubystyle.guide/#spaces-indentation
|
# https://rubystyle.guide/#spaces-indentation
|
||||||
#indent_style = space
|
#indent_style = space
|
||||||
#indent_size = 2
|
#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",
|
"layer": "top",
|
||||||
"position": "left",
|
"position": "left",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||||
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "sway/language", "network", "bluetooth", "tray", "clock"],
|
||||||
"sway/window": {
|
"sway/window": {
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": "CPU {usage}%"
|
"format": "CPU {usage}%"
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "RAM {percentage}%"
|
"format": "RAM {percentage}%"
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": "BT {status}",
|
"format": "BT {status}",
|
||||||
"format-connected": "BT {device_alias}",
|
"format-connected": "BT {device_alias}",
|
||||||
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
"format": "VOL {volume}%",
|
"format": "VOL {volume}%",
|
||||||
"format-bluetooth": "BT VOL {volume}%"
|
"format-bluetooth": "BT VOL {volume}%",
|
||||||
},
|
"ignored-sinks": ["Easy Effects Sink", "Easy Effects Source"]
|
||||||
"battery": {
|
},
|
||||||
"states": {
|
"battery": {
|
||||||
"warning": 45,
|
"states": {
|
||||||
"critical": 20
|
"warning": 45,
|
||||||
},
|
"critical": 20
|
||||||
"format": "BAT {capacity}%"
|
},
|
||||||
},
|
"format": "BAT {capacity}%"
|
||||||
"sway/language": {
|
},
|
||||||
"format": "KBD {short} {variant}",
|
"sway/language": {
|
||||||
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
"format": "KBD {short} {variant}",
|
||||||
},
|
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
|
||||||
|
},
|
||||||
"network": {
|
"network": {
|
||||||
//"interface": "wlan0",
|
//"interface": "wlan0",
|
||||||
"format": "{ifname}",
|
"format": "{ifname}",
|
||||||
@ -44,7 +45,7 @@
|
|||||||
"tooltip-format-disconnected": "Disconnected",
|
"tooltip-format-disconnected": "Disconnected",
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"clock": {
|
"clock": {
|
||||||
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
|
"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
|
2
rc/vimrc
2
rc/vimrc
@ -21,7 +21,7 @@ endif
|
|||||||
set number " Show line numbers.
|
set number " Show line numbers.
|
||||||
|
|
||||||
set ruler " Show the line and column number of the cursor position,
|
set ruler " Show the line and column number of the cursor position,
|
||||||
" separated by a comma.
|
" separated by a comma.
|
||||||
|
|
||||||
set background=dark
|
set background=dark
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user