alacritty
This commit is contained in:
70
.Xresources
70
.Xresources
@ -24,7 +24,8 @@ xterm*locale:true
|
|||||||
xterm*termName:xterm-256color
|
xterm*termName:xterm-256color
|
||||||
xterm*metaSendsEscape:true
|
xterm*metaSendsEscape:true
|
||||||
|
|
||||||
urxvt*font:-xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
|
!urxvt*font:-xos4-terminus-*-*-*-*-12-*-*-*-*-*-*-*
|
||||||
|
urxvt*font:-xos4-terminesspowerline-*-*-*-*-12-*-*-*-*-*-*-*
|
||||||
!urxvt*font: TerminessTTF Nerd Font:style=Medium:size=12
|
!urxvt*font: TerminessTTF Nerd Font:style=Medium:size=12
|
||||||
!URxvt*font: xft:xos4 Terminus:style=Regular :size=12 xft:TerminessTTF Nerd Font Mono:style=Medium :size=12
|
!URxvt*font: xft:xos4 Terminus:style=Regular :size=12 xft:TerminessTTF Nerd Font Mono:style=Medium :size=12
|
||||||
!URxvt*letterSpace: -1
|
!URxvt*letterSpace: -1
|
||||||
@ -52,3 +53,70 @@ URxvt.matcher.button: 1
|
|||||||
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-]
|
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]+\\.[\\w./?&@#-]*[\\w/-]
|
||||||
URxvt.matcher.launcher.0: xdg-open
|
URxvt.matcher.launcher.0: xdg-open
|
||||||
|
|
||||||
|
! Generated by 'wal'
|
||||||
|
*foreground: #dbcdac
|
||||||
|
*background: #0f0e09
|
||||||
|
*.foreground: #dbcdac
|
||||||
|
*.background: #0f0e09
|
||||||
|
emacs*foreground: #dbcdac
|
||||||
|
emacs*background: #0f0e09
|
||||||
|
URxvt*foreground: #dbcdac
|
||||||
|
XTerm*foreground: #dbcdac
|
||||||
|
UXTerm*foreground: #dbcdac
|
||||||
|
URxvt*background: [100]#0f0e09
|
||||||
|
XTerm*background: #0f0e09
|
||||||
|
UXTerm*background: #0f0e09
|
||||||
|
URxvt*cursorColor: #dbcdac
|
||||||
|
XTerm*cursorColor: #dbcdac
|
||||||
|
UXTerm*cursorColor: #dbcdac
|
||||||
|
URxvt*borderColor: [100]#0f0e09
|
||||||
|
|
||||||
|
! Colors 0-15.
|
||||||
|
*.color0: #0f0e09
|
||||||
|
*color0: #0f0e09
|
||||||
|
*.color1: #6B5835
|
||||||
|
*color1: #6B5835
|
||||||
|
*.color2: #324443
|
||||||
|
*color2: #324443
|
||||||
|
*.color3: #746A46
|
||||||
|
*color3: #746A46
|
||||||
|
*.color4: #8C552E
|
||||||
|
*color4: #8C552E
|
||||||
|
*.color5: #89784D
|
||||||
|
*color5: #89784D
|
||||||
|
*.color6: #9F8D5E
|
||||||
|
*color6: #9F8D5E
|
||||||
|
*.color7: #dbcdac
|
||||||
|
*color7: #dbcdac
|
||||||
|
*.color8: #998f78
|
||||||
|
*color8: #998f78
|
||||||
|
*.color9: #6B5835
|
||||||
|
*color9: #6B5835
|
||||||
|
*.color10: #324443
|
||||||
|
*color10: #324443
|
||||||
|
*.color11: #746A46
|
||||||
|
*color11: #746A46
|
||||||
|
*.color12: #8C552E
|
||||||
|
*color12: #8C552E
|
||||||
|
*.color13: #89784D
|
||||||
|
*color13: #89784D
|
||||||
|
*.color14: #9F8D5E
|
||||||
|
*color14: #9F8D5E
|
||||||
|
*.color15: #dbcdac
|
||||||
|
*color15: #dbcdac
|
||||||
|
|
||||||
|
! Black color that will not be affected by bold highlighting.
|
||||||
|
*.color66: #0f0e09
|
||||||
|
*color66: #0f0e09
|
||||||
|
|
||||||
|
! Xclock colors.
|
||||||
|
XClock*foreground: #dbcdac
|
||||||
|
XClock*background: #0f0e09
|
||||||
|
XClock*majorColor: rgba:db/cd/ac/ff
|
||||||
|
XClock*minorColor: rgba:db/cd/ac/ff
|
||||||
|
XClock*hourColor: rgba:db/cd/ac/ff
|
||||||
|
XClock*minuteColor: rgba:db/cd/ac/ff
|
||||||
|
XClock*secondColor: rgba:db/cd/ac/ff
|
||||||
|
|
||||||
|
! Set depth to make transparency work.
|
||||||
|
URxvt*depth: 32
|
||||||
|
357
.config/alacritty/alacritty.yml
Normal file
357
.config/alacritty/alacritty.yml
Normal file
@ -0,0 +1,357 @@
|
|||||||
|
env:
|
||||||
|
TERM: xterm-256color
|
||||||
|
window:
|
||||||
|
dimensions:
|
||||||
|
columns: 80
|
||||||
|
lines: 20
|
||||||
|
position:
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
|
||||||
|
padding:
|
||||||
|
x: 12
|
||||||
|
y: 12
|
||||||
|
|
||||||
|
dynamic_padding: true
|
||||||
|
decorations: none
|
||||||
|
class:
|
||||||
|
instance: Alacritty
|
||||||
|
general: Alacritty
|
||||||
|
|
||||||
|
scrolling:
|
||||||
|
history: 10000
|
||||||
|
multiplier: 2
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Font configuration
|
||||||
|
font:
|
||||||
|
normal:
|
||||||
|
family: xos4 Terminus
|
||||||
|
style: Regular
|
||||||
|
size: 9.0
|
||||||
|
offset:
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
|
||||||
|
|
||||||
|
background_opacity: 0.9
|
||||||
|
|
||||||
|
selection:
|
||||||
|
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||||
|
ave_to_clipboard: true
|
||||||
|
|
||||||
|
# Allow terminal applications to change Alacritty's window title.
|
||||||
|
dynamic_title: true
|
||||||
|
|
||||||
|
cursor:
|
||||||
|
style: Beam
|
||||||
|
|
||||||
|
shell:
|
||||||
|
program: /bin/zsh
|
||||||
|
args:
|
||||||
|
- -l
|
||||||
|
|
||||||
|
working_directory: None
|
||||||
|
|
||||||
|
mouse:
|
||||||
|
hide_when_typing: true
|
||||||
|
url:
|
||||||
|
launcher:
|
||||||
|
program: xdg-open
|
||||||
|
args: []
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: '0x000000'
|
||||||
|
foreground: '0xeaeaea'
|
||||||
|
|
||||||
|
cursor:
|
||||||
|
text: '0x000000'
|
||||||
|
cursor: '0xffffff'
|
||||||
|
|
||||||
|
normal:
|
||||||
|
black: '0x000000'
|
||||||
|
red: '0xd54e53'
|
||||||
|
green: '0xb9ca4a'
|
||||||
|
yellow: '0xe6c547'
|
||||||
|
blue: '0x7aa6da'
|
||||||
|
magenta: '0xc397d8'
|
||||||
|
cyan: '0x70c0ba'
|
||||||
|
white: '0xffffff'
|
||||||
|
|
||||||
|
bright:
|
||||||
|
black: '0x666666'
|
||||||
|
red: '0xff3334'
|
||||||
|
green: '0x9ec400'
|
||||||
|
yellow: '0xe7c547'
|
||||||
|
blue: '0x7aa6da'
|
||||||
|
magenta: '0xb77ee0'
|
||||||
|
cyan: '0x54ced6'
|
||||||
|
white: '0xffffff'
|
||||||
|
|
||||||
|
# primary:
|
||||||
|
# background: '0x0a1010'
|
||||||
|
# foreground: '0xb6bcc4'
|
||||||
|
# cursor:
|
||||||
|
# text: '0x0a1010'
|
||||||
|
# cursor: '#074D40'
|
||||||
|
# normal:
|
||||||
|
# black: '0x0a1010'
|
||||||
|
# red: '0x4F374A'
|
||||||
|
# green: '0x085349'
|
||||||
|
# yellow: '0x096E4E'
|
||||||
|
# blue: '0x196C62'
|
||||||
|
# magenta: '0x298C55'
|
||||||
|
# cyan: '0x118D65'
|
||||||
|
# white: '0xb6bcc4'
|
||||||
|
# bright:
|
||||||
|
# black: '0x7f8389'
|
||||||
|
# red: '0x4F374A'
|
||||||
|
# green: '0x085349'
|
||||||
|
# yellow: '0x096E4E'
|
||||||
|
# blue: '0x196C62'
|
||||||
|
# magenta: '0x298C55'
|
||||||
|
# cyan: '0x118D65'
|
||||||
|
# white: '0xb6bcc4'
|
||||||
|
|
||||||
|
# Mouse bindings
|
||||||
|
#
|
||||||
|
# Mouse bindings are specified as a list of objects, much like the key
|
||||||
|
# bindings further below.
|
||||||
|
#
|
||||||
|
# To trigger mouse bindings when an application running within Alacritty captures the mouse, the
|
||||||
|
# `Shift` modifier is automatically added as a requirement.
|
||||||
|
#
|
||||||
|
# Each mouse binding will specify a:
|
||||||
|
#
|
||||||
|
# - `mouse`:
|
||||||
|
#
|
||||||
|
# - Middle
|
||||||
|
# - Left
|
||||||
|
# - Right
|
||||||
|
# - Numeric identifier such as `5`
|
||||||
|
#
|
||||||
|
# - `action` (see key bindings)
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods` (see key bindings)
|
||||||
|
mouse_bindings:
|
||||||
|
- { mouse: Middle, action: PasteSelection }
|
||||||
|
|
||||||
|
#ToggleBlockSelection }
|
||||||
|
#- { key: V, mods: Alt, mode: Vi, action: ToggleSemanticSele
|
||||||
|
# - A-Z
|
||||||
|
# - F1-F24
|
||||||
|
# - Key0-Key9
|
||||||
|
#
|
||||||
|
# A full list with available key codes can be found here:
|
||||||
|
# https://docs.rs/glutin/*/glutin/event/enum.VirtualKeyCode.html#variants
|
||||||
|
#
|
||||||
|
# Instead of using the name of the keys, the `key` field also supports using
|
||||||
|
# the scancode of the desired key. Scancodes have to be specified as a
|
||||||
|
# decimal number. This command will allow you to display the hex scancodes
|
||||||
|
# for certain keys:
|
||||||
|
#
|
||||||
|
# `showkey --scancodes`.
|
||||||
|
#
|
||||||
|
# Then exactly one of:
|
||||||
|
#
|
||||||
|
# - `chars`: Send a byte sequence to the running application
|
||||||
|
#
|
||||||
|
# The `chars` field writes the specified string to the terminal. This makes
|
||||||
|
# it possible to pass escape sequences. To find escape codes for bindings
|
||||||
|
# like `PageUp` (`"\x1b[5~"`), you can run the command `showkey -a` outside
|
||||||
|
# of tmux. Note that applications use terminfo to map escape sequences back
|
||||||
|
# to keys. It is therefore required to update the terminfo when changing an
|
||||||
|
# escape sequence.
|
||||||
|
#
|
||||||
|
# - `action`: Execute a predefined action
|
||||||
|
#
|
||||||
|
# - ToggleViMode
|
||||||
|
# - Copy
|
||||||
|
# - Paste
|
||||||
|
# - PasteSelection
|
||||||
|
# - IncreaseFontSize
|
||||||
|
# - DecreaseFontSize
|
||||||
|
# - ResetFontSize
|
||||||
|
# - ScrollPageUp
|
||||||
|
# - ScrollPageDown
|
||||||
|
# - ScrollLineUp
|
||||||
|
# - ScrollLineDown
|
||||||
|
# - ScrollToTop
|
||||||
|
# - ScrollToBottom
|
||||||
|
# - ClearHistory
|
||||||
|
# - Hide
|
||||||
|
# - Minimize
|
||||||
|
# - Quit
|
||||||
|
# - ToggleFullscreen
|
||||||
|
# - SpawnNewInstance
|
||||||
|
# - ClearLogNotice
|
||||||
|
# - ClearSelection
|
||||||
|
# - ReceiveChar
|
||||||
|
# - None
|
||||||
|
#
|
||||||
|
# (`mode: Vi` only):
|
||||||
|
# - Open
|
||||||
|
# - Up
|
||||||
|
# - Down
|
||||||
|
# - Left
|
||||||
|
# - Right
|
||||||
|
# - First
|
||||||
|
# - Last
|
||||||
|
# - FirstOccupied
|
||||||
|
# - High
|
||||||
|
# - Middle
|
||||||
|
# - Low
|
||||||
|
# - SemanticLeft
|
||||||
|
# - SemanticRight
|
||||||
|
# - SemanticLeftEnd
|
||||||
|
# - SemanticRightEnd
|
||||||
|
# - WordRight
|
||||||
|
# - WordLeft
|
||||||
|
# - WordRightEnd
|
||||||
|
# - WordLeftEnd
|
||||||
|
# - Bracket
|
||||||
|
# - ToggleNormalSelection
|
||||||
|
# - ToggleLineSelection
|
||||||
|
# - ToggleBlockSelection
|
||||||
|
# - ToggleSemanticSelection
|
||||||
|
#
|
||||||
|
# (macOS only):
|
||||||
|
# - ToggleSimpleFullscreen: Enters fullscreen without occupying another space
|
||||||
|
#
|
||||||
|
# (Linux/BSD only):
|
||||||
|
# - CopySelection: Copies into selection buffer
|
||||||
|
#
|
||||||
|
# - `command`: Fork and execute a specified command plus arguments
|
||||||
|
#
|
||||||
|
# The `command` field must be a map containing a `program` string and an
|
||||||
|
# `args` array of command line parameter strings. For example:
|
||||||
|
# `{ program: "alacritty", args: ["-e", "vttest"] }`
|
||||||
|
#
|
||||||
|
# And optionally:
|
||||||
|
#
|
||||||
|
# - `mods`: Key modifiers to filter binding actions
|
||||||
|
#
|
||||||
|
# - Command
|
||||||
|
# - Control
|
||||||
|
# - Option
|
||||||
|
# - Super
|
||||||
|
# - Shift
|
||||||
|
# - Alt
|
||||||
|
#
|
||||||
|
# Multiple `mods` can be combined using `|` like this:
|
||||||
|
# `mods: Control|Shift`.
|
||||||
|
# Whitespace and capitalization are relevant and must match the example.
|
||||||
|
#
|
||||||
|
# - `mode`: Indicate a binding for only specific terminal reported modes
|
||||||
|
#
|
||||||
|
# This is mainly used to send applications the correct escape sequences
|
||||||
|
# when in different modes.
|
||||||
|
#
|
||||||
|
# - AppCursor
|
||||||
|
# - AppKeypad
|
||||||
|
# - Alt
|
||||||
|
#
|
||||||
|
# A `~` operator can be used before a mode to apply the binding whenever
|
||||||
|
# the mode is *not* active, e.g. `~Alt`.
|
||||||
|
#
|
||||||
|
# Bindings are always filled by default, but will be replaced when a new
|
||||||
|
# binding with the same triggers is defined. To unset a default binding, it can
|
||||||
|
# be mapped to the `ReceiveChar` action. Alternatively, you can use `None` for
|
||||||
|
# a no-op if you do not wish to receive input characters for that binding.
|
||||||
|
#
|
||||||
|
# If the same trigger is assigned to multiple actions, all of them are executed
|
||||||
|
# at once.
|
||||||
|
key_bindings:
|
||||||
|
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
|
||||||
|
- { key: V, mods: Alt, action: Paste}
|
||||||
|
- { key: J, mods: Alt, action: IncreaseFontSize }
|
||||||
|
- { key: K, mods: Alt, action: DecreaseFontSize }
|
||||||
|
- { key: J, mods: Shift, action: ScrollLineUp}
|
||||||
|
- { key: K, mods: Shift, action: ScrollLineDown}
|
||||||
|
# { mouse: Middle, action: PasteSelection }
|
||||||
|
#- { key: Paste, action: Paste }
|
||||||
|
#- { key: Copy, action: Copy }
|
||||||
|
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||||
|
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
|
||||||
|
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
||||||
|
#- { key: PageDown, mods: Shift, mode: ~Alt, action: ScrollPageDown }
|
||||||
|
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
|
||||||
|
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
|
||||||
|
|
||||||
|
# Vi Mode
|
||||||
|
#- { key: Space, mods: Shift|Control, mode: Vi, action: ScrollToBottom }
|
||||||
|
#- { key: Space, mods: Shift|Control, action: ToggleViMode }
|
||||||
|
#- { key: Escape, mode: Vi, action: ClearSelection }
|
||||||
|
#- { key: I, mode: Vi, action: ScrollToBottom }
|
||||||
|
#- { key: I, mode: Vi, action: ToggleViMode }
|
||||||
|
#- { key: Y, mods: Control, mode: Vi, action: ScrollLineUp }
|
||||||
|
#- { key: E, mods: Control, mode: Vi, action: ScrollLineDown }
|
||||||
|
#- { key: G, mode: Vi, action: ScrollToTop }
|
||||||
|
#- { key: G, mods: Shift, mode: Vi, action: ScrollToBottom }
|
||||||
|
#- { key: B, mods: Control, mode: Vi, action: ScrollPageUp }
|
||||||
|
#- { key: F, mods: Control, mode: Vi, action: ScrollPageDown }
|
||||||
|
#- { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp }
|
||||||
|
#- { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown }
|
||||||
|
#- { key: Y, mode: Vi, action: Copy }
|
||||||
|
#- { key: Y, mode: Vi, action: ClearSelection }
|
||||||
|
#- { key: Copy, mode: Vi, action: ClearSelection }
|
||||||
|
#- { key: V, mode: Vi, action: ToggleNormalSelection }
|
||||||
|
#- { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection }
|
||||||
|
#- { key: V, mods: Control, mode: Vi, action: ction }
|
||||||
|
#- { key: Return, mode: Vi, action: Open }
|
||||||
|
#- { key: K, mode: Vi, action: Up }
|
||||||
|
#- { key: J, mode: Vi, action: Down }
|
||||||
|
#- { key: H, mode: Vi, action: Left }
|
||||||
|
#- { key: L, mode: Vi, action: Right }
|
||||||
|
#- { key: Up, mode: Vi, action: Up }
|
||||||
|
#- { key: Down, mode: Vi, action: Down }
|
||||||
|
#- { key: Left, mode: Vi, action: Left }
|
||||||
|
#- { key: Right, mode: Vi, action: Right }
|
||||||
|
#- { key: Key0, mode: Vi, action: First }
|
||||||
|
#- { key: Key4, mods: Shift, mode: Vi, action: Last }
|
||||||
|
#- { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied }
|
||||||
|
#- { key: H, mods: Shift, mode: Vi, action: High }
|
||||||
|
#- { key: M, mods: Shift, mode: Vi, action: Middle }
|
||||||
|
#- { key: L, mods: Shift, mode: Vi, action: Low }
|
||||||
|
#- { key: B, mode: Vi, action: SemanticLeft }
|
||||||
|
#- { key: W, mode: Vi, action: SemanticRight }
|
||||||
|
#- { key: E, mode: Vi, action: SemanticRightEnd }
|
||||||
|
#- { key: B, mods: Shift, mode: Vi, action: WordLeft }
|
||||||
|
#- { key: W, mods: Shift, mode: Vi, action: WordRight }
|
||||||
|
#- { key: E, mods: Shift, mode: Vi, action: WordRightEnd }
|
||||||
|
#- { key: Key5, mods: Shift, mode: Vi, action: Bracket }
|
||||||
|
|
||||||
|
# (Windows, Linux, and BSD only)
|
||||||
|
#- { key: V, mods: Control|Shift, action: Paste }
|
||||||
|
#- { key: C, mods: Control|Shift, action: Copy }
|
||||||
|
#- { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection }
|
||||||
|
#- { key: Insert, mods: Shift, action: PasteSelection }
|
||||||
|
#- { key: Key0, mods: Control, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Add, mods: Control, action: IncreaseFontSize }
|
||||||
|
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Control, action: DecreaseFontSize }
|
||||||
|
|
||||||
|
# (Windows only)
|
||||||
|
#- { key: Return, mods: Alt, action: ToggleFullscreen }
|
||||||
|
|
||||||
|
# (macOS only)
|
||||||
|
#- { key: K, mods: Command, mode: ~Vi, chars: "\x0c" }
|
||||||
|
#- { key: Key0, mods: Command, action: ResetFontSize }
|
||||||
|
#- { key: Equals, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Add, mods: Command, action: IncreaseFontSize }
|
||||||
|
#- { key: Minus, mods: Command, action: DecreaseFontSize }
|
||||||
|
#- { key: K, mods: Command, action: ClearHistory }
|
||||||
|
#- { key: V, mods: Command, action: Paste }
|
||||||
|
#- { key: C, mods: Command, action: Copy }
|
||||||
|
#- { key: C, mods: Command, mode: Vi, action: ClearSelection }
|
||||||
|
#- { key: H, mods: Command, action: Hide }
|
||||||
|
#- { key: M, mods: Command, action: Minimize }
|
||||||
|
#- { key: Q, mods: Command, action: Quit }
|
||||||
|
#- { key: W, mods: Command, action: Quit }
|
||||||
|
#- { key: N, mods: Command, action: SpawnNewInstance }
|
||||||
|
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
|
1246
.config/alacritty/kitty.conf
Normal file
1246
.config/alacritty/kitty.conf
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,8 @@
|
|||||||
# |___/
|
# |___/
|
||||||
|
|
||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
set $TERMINAL urxvt
|
set $TERMINAL alacritty
|
||||||
|
#set $TERMINAL urxvt
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
@ -25,10 +26,12 @@ bindsym $mod+Shift+Return exec "$TERMINAL --role=floating &"
|
|||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec --no-startup-id rofi -show drun -theme themes/app-launcher
|
#bindsym $mod+d exec --no-startup-id rofi -show drun -theme themes/app-launcher
|
||||||
bindsym $mod+i exec --no-startup-id rofi -show window -theme themes/app-launcher
|
bindsym $mod+d exec --no-startup-id rofi-appsmenu
|
||||||
|
bindsym $mod+i exec --no-startup-id rofi -show window -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi
|
||||||
bindsym $mod+a exec --no-startup-id ~/.config/rofi/scripts/traefik.sh
|
bindsym $mod+a exec --no-startup-id ~/.config/rofi/scripts/traefik.sh
|
||||||
bindsym $mod+c exec --no-startup-id rofi -show ssh -theme themes/app-launcher
|
bindsym $mod+Shift+o exec --no-startup-id rofi-vpn
|
||||||
|
bindsym $mod+c exec --no-startup-id rofi -show ssh -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi
|
||||||
|
|
||||||
set $workspacer ~/.config/i3/i3-workspacer.py
|
set $workspacer ~/.config/i3/i3-workspacer.py
|
||||||
|
|
||||||
@ -166,15 +169,21 @@ bindsym $mod+r mode "resize"
|
|||||||
# startup
|
# startup
|
||||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||||
|
|
||||||
|
# Attach workspaces to displays
|
||||||
|
exec --no-startup-id i3-msg "workspace 1, move workspace to output eDP1"
|
||||||
|
exec --no-startup-id i3-msg "workspace 2, move workspace to output eDP1"
|
||||||
|
exec --no-startup-id i3-msg "workspace 3, move workspace to output HDMI"
|
||||||
|
|
||||||
exec --no-startup-id i3-msg 'exec $TERMINAL; workspace 2; exec firefox;'
|
exec --no-startup-id i3-msg 'exec $TERMINAL; workspace 2; exec firefox;'
|
||||||
exec --no-startup-id feh --bg-scale ~/Wallpapers/seneca.jpg
|
exec --no-startup-id feh --bg-scale ~/Wallpapers/seneca.jpg
|
||||||
exec --no-startup-id ~/bin/autoconfgure_display.sh
|
exec --no-startup-id ~/bin/autoconfgure_display.sh
|
||||||
|
exec --no-startup-id picom --config ~/.config/i3/picom.conf -b
|
||||||
#exec --no-startup-id xset dpms 500
|
#exec --no-startup-id xset dpms 500
|
||||||
exec --no-startup-id nm-applet --sm-disable
|
exec --no-startup-id nm-applet --sm-disable
|
||||||
exec --no-startup-id pasystray
|
exec --no-startup-id pasystray
|
||||||
exec --no-startup-id joplin-desktop
|
exec --no-startup-id joplin-desktop
|
||||||
exec --no-startup-id clipit
|
exec --no-startup-id clipit
|
||||||
exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dim"
|
#exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dim"
|
||||||
exec --no-startup-id ~/bin/dunstwal
|
exec --no-startup-id ~/bin/dunstwal
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
@ -195,14 +204,15 @@ gaps inner 10
|
|||||||
hide_edge_borders both
|
hide_edge_borders both
|
||||||
for_window [class="^.*"] title_format "%title [%class]"
|
for_window [class="^.*"] title_format "%title [%class]"
|
||||||
for_window [class="^.*"] border pixel 0
|
for_window [class="^.*"] border pixel 0
|
||||||
for_window [class="Telegram"] border pixel 1
|
for_window [class="Telegram"] move scratchpad, border pixel 1
|
||||||
for_window [class="Mattermost"] border pixel 1
|
for_window [class="Mattermost"] move scratchpad, border pixel 1
|
||||||
for_window [window_role="floating"] floating enable
|
for_window [window_role="floating"] floating enable
|
||||||
for_window [class="QSyncthingTray"] floating enable
|
for_window [class="QSyncthingTray"] floating enable
|
||||||
for_window [class="Thunderbird" window_type="normal"] floating enable, resize set 1600 1050, border pixel 2
|
for_window [class="Thunderbird" window_type="normal"] move scratchpad, floating enable, resize set 1600 1050, border pixel 2
|
||||||
for_window [class="Nautilus"] floating enable
|
for_window [class="Nautilus"] floating enable
|
||||||
for_window [class="Gnome-calculator"] floating enable
|
for_window [class="Gnome-calculator"] floating enable
|
||||||
#for_window [class="Joplin"] resize set 1300 900, move scratchpad
|
for_window [class="zoom"] move scratchpad
|
||||||
|
#for_window [instance="joplin"] resize set 1300 900, move scratchpad, move position center
|
||||||
|
|
||||||
# keybinds
|
# keybinds
|
||||||
bindsym Mod1+Tab workspace back_and_forth
|
bindsym Mod1+Tab workspace back_and_forth
|
||||||
@ -216,17 +226,27 @@ bindsym $mod+p [class="Mattermost"] scratchpad show
|
|||||||
bindsym $mod+m [class="Cantata"] scratchpad show
|
bindsym $mod+m [class="Cantata"] scratchpad show
|
||||||
bindsym $mod+Shift+s [class="Joplin"] scratchpad show
|
bindsym $mod+Shift+s [class="Joplin"] scratchpad show
|
||||||
bindsym $mod+Shift+z [class="zoom"] scratchpad show
|
bindsym $mod+Shift+z [class="zoom"] scratchpad show
|
||||||
|
bindsym $mod+Shift+m [class="Thunderbird"] scratchpad show
|
||||||
|
|
||||||
bindsym $mod+Delete exec rofi -modi system:$HOME/.config/rofi/scripts/powermenu.sh -show system -theme themes/system-menu
|
bindsym $mod+Delete exec rofi -modi system:$HOME/.config/rofi/scripts/powermenu.sh -show system -theme themes/system-menu
|
||||||
bindsym $mod+shift+Delete exec betterlockscreen -l
|
bindsym $mod+shift+Delete exec betterlockscreen -l
|
||||||
|
|
||||||
# audio binds
|
# audio binds
|
||||||
bindsym XF86AudioMicMute exec --no-startup-id pulseaudio-ctl mute-input
|
#bindsym XF86AudioMicMute exec --no-startup-id pulseaudio-ctl mute-input
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +10% && pactl set-sink-mute 1 0
|
#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo +10% && pactl set-sink-mute 1 0
|
||||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -10% && pactl set-sink-mute 1 0
|
#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume alsa_output.pci-0000_00_1f.3.analog-stereo -10% && pactl set-sink-mute 1 0
|
||||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle
|
#bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute alsa_output.pci-0000_00_1f.3.analog-stereo toggle
|
||||||
|
|
||||||
# backlight binds
|
# backlight binds
|
||||||
bindsym XF86MonBrightnessDown exec --no-startup-id ~/bin/brightness.sh down
|
#bindsym XF86MonBrightnessDown exec --no-startup-id ~/bin/brightness.sh down
|
||||||
bindsym XF86MonBrightnessUp exec --no-startup-id ~/bin/brightness.sh up
|
#bindsym XF86MonBrightnessUp exec --no-startup-id ~/bin/brightness.sh up
|
||||||
|
|
||||||
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||||
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||||
|
bindsym XF86MonBrightnessUp exec xrandr --output eDP-1 --brightness .9 # increase screen brightness
|
||||||
|
bindsym XF86MonBrightnessDown exec xrandr --output eDP-1 --brightness .4 # decrease screen brightness
|
||||||
|
|
||||||
|
230
.config/i3/picom.conf
Normal file
230
.config/i3/picom.conf
Normal file
@ -0,0 +1,230 @@
|
|||||||
|
# Thank you code_nomad: http://9m.no/ꪯ鵞
|
||||||
|
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Backend
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Backend to use: "xrender" or "glx".
|
||||||
|
# GLX backend is typically much faster but depends on a sane driver.
|
||||||
|
backend = "glx";
|
||||||
|
#backend = "xrender"
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# GLX backend
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
glx-no-stencil = true;
|
||||||
|
|
||||||
|
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
|
||||||
|
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
||||||
|
# but a 20% increase when only 1/4 is.
|
||||||
|
# My tests on nouveau show terrible slowdown.
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
|
||||||
|
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
||||||
|
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
|
||||||
|
# May break VSync and is not available on some drivers.
|
||||||
|
# Overrides --glx-copy-from-front.
|
||||||
|
# glx-use-copysubbuffermesa = true;
|
||||||
|
|
||||||
|
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||||
|
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
||||||
|
# Recommended if it works.
|
||||||
|
# glx-no-rebind-pixmap = true;
|
||||||
|
|
||||||
|
# GLX backend: GLX buffer swap method we assume.
|
||||||
|
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
||||||
|
# undefined is the slowest and the safest, and the default value.
|
||||||
|
# copy is fastest, but may fail on some drivers,
|
||||||
|
# 2-6 are gradually slower but safer (6 is still faster than 0).
|
||||||
|
# Usually, double buffer means 2, triple buffer means 3.
|
||||||
|
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
|
||||||
|
# Useless with --glx-use-copysubbuffermesa.
|
||||||
|
# Partially breaks --resize-damage.
|
||||||
|
# Defaults to undefined.
|
||||||
|
#glx-swap-method = "undefined";
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Shadows
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows.
|
||||||
|
shadow = false;
|
||||||
|
# The blur radius for shadows. (default 12)
|
||||||
|
shadow-radius = 6;
|
||||||
|
# The left offset for shadows. (default -15)
|
||||||
|
shadow-offset-x = -5;
|
||||||
|
# The top offset for shadows. (default -15)
|
||||||
|
shadow-offset-y = -5;
|
||||||
|
# The translucency for shadows. (default .75)
|
||||||
|
shadow-opacity = 0.80;
|
||||||
|
|
||||||
|
log-level = "warn";
|
||||||
|
#change your username here
|
||||||
|
#log-file = "/home/erik/.config/compton.log";
|
||||||
|
|
||||||
|
# Set if you want different colour shadows
|
||||||
|
shadow-red = 0.0;
|
||||||
|
shadow-green = 0.0;
|
||||||
|
shadow-blue = 0.0;
|
||||||
|
|
||||||
|
# The shadow exclude options are helpful if you have shadows enabled. Due to the way compton draws its shadows, certain applications will have visual glitches
|
||||||
|
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
||||||
|
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
||||||
|
shadow-exclude = [
|
||||||
|
"! name~=''",
|
||||||
|
"name = 'Notification'",
|
||||||
|
"name = 'Plank'",
|
||||||
|
"name = 'Docky'",
|
||||||
|
"name = 'Kupfer'",
|
||||||
|
"name = 'xfce4-notifyd'",
|
||||||
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"class_g = 'Firefox' && argb",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
];
|
||||||
|
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
||||||
|
shadow-ignore-shaped = false;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Opacity
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
inactive-opacity = 1.0;
|
||||||
|
active-opacity = 1.0;
|
||||||
|
frame-opacity = 1;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0)
|
||||||
|
inactive-dim = 0.2;
|
||||||
|
# Do not let dimness adjust based on window opacity.
|
||||||
|
inactive-dim-fixed = true;
|
||||||
|
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||||
|
#blur-background = true;
|
||||||
|
# Blur background of opaque windows with transparent frames as well.
|
||||||
|
#blur-background-frame = true;
|
||||||
|
# Do not let blur radius adjust based on window opacity.
|
||||||
|
blur-background-fixed = false;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"class_g = 'Firefox'"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Fading
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Fade windows during opacity changes.
|
||||||
|
fading = true;
|
||||||
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
|
fade-delta = 4;
|
||||||
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
# Fade windows in/out when opening/closing
|
||||||
|
# no-fading-openclose = true;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Other
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Try to detect WM windows and mark them as active.
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
|
||||||
|
# Usually more reliable but depends on a EWMH-compliant WM.
|
||||||
|
use-ewmh-active-win = true;
|
||||||
|
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
|
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
||||||
|
# This prevents opacity being ignored for some apps.
|
||||||
|
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
|
||||||
|
detect-client-opacity = true;
|
||||||
|
|
||||||
|
# Specify refresh rate of the screen.
|
||||||
|
# If not specified or 0, compton will try detecting this with X RandR extension.
|
||||||
|
refresh-rate = 0;
|
||||||
|
|
||||||
|
# Vertical synchronization: match the refresh rate of the monitor
|
||||||
|
# this breaks transparency in virtualbox - put a "#" before next line to fix that
|
||||||
|
vsync = true;
|
||||||
|
|
||||||
|
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||||
|
# Reported to have no effect, though.
|
||||||
|
dbe = true;
|
||||||
|
|
||||||
|
# Limit compton to repaint at most once every 1 / refresh_rate second to boost performance.
|
||||||
|
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
||||||
|
# unless you wish to specify a lower refresh rate than the actual value.
|
||||||
|
#sw-opti = true;
|
||||||
|
|
||||||
|
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
||||||
|
# Known to cause flickering when redirecting/unredirecting windows.
|
||||||
|
unredir-if-possible = false;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
|
focus-exclude = [ ];
|
||||||
|
|
||||||
|
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
detect-transient = true;
|
||||||
|
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
||||||
|
detect-client-leader = true;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Window type settings
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.9; focus = true;};
|
||||||
|
dock = { shadow = false; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 0.9; }
|
||||||
|
dropdown_menu = { opacity = 0.9; }
|
||||||
|
};
|
||||||
|
|
||||||
|
######################
|
||||||
|
#
|
||||||
|
# XSync
|
||||||
|
# See: https://github.com/yshui/compton/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
|
||||||
|
#
|
||||||
|
######################
|
||||||
|
|
||||||
|
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
|
595
.config/polybar/README.md
Normal file
595
.config/polybar/README.md
Normal file
@ -0,0 +1,595 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
;==========================================================
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
||||||
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
||||||
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
||||||
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
||||||
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
||||||
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
||||||
|
;
|
||||||
|
;
|
||||||
|
; To learn more about how to configure Polybar
|
||||||
|
; go to https://github.com/jaagr/polybar
|
||||||
|
;
|
||||||
|
; The README contains alot of information
|
||||||
|
;
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
; read colors from pywal
|
||||||
|
[colors]
|
||||||
|
background = ${xrdb:color0:#222}
|
||||||
|
foreground = ${xrdb:color7:#222}
|
||||||
|
foreground-alt = ${xrdb:color6:#222}
|
||||||
|
background-alt = $(xrdb:color5:#222}
|
||||||
|
primary = ${xrdb:color1:#222}
|
||||||
|
secondary = ${xrdb:color2:#222}
|
||||||
|
alert = ${xrdb:color3:#222}
|
||||||
|
c8 = ${xrdb:color8:#222}
|
||||||
|
c9 = ${xrdb:color9:#222}
|
||||||
|
c10 = ${xrdb:color10:#222}
|
||||||
|
c11 = ${xrdb:color11:#222}
|
||||||
|
c12 = ${xrdb:color12:#222}
|
||||||
|
c13 = ${xrdb:color13:#222}
|
||||||
|
c14 = ${xrdb:color14:#222}
|
||||||
|
white = #fff
|
||||||
|
|
||||||
|
|
||||||
|
[bar/top]
|
||||||
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
|
width = 100%
|
||||||
|
height = 20
|
||||||
|
override-redirect=false
|
||||||
|
offset-x = 0
|
||||||
|
offset-y = 0
|
||||||
|
radius = 0
|
||||||
|
fixed-center = true
|
||||||
|
background = ${colors.primary}
|
||||||
|
foreground = ${colors.background}
|
||||||
|
|
||||||
|
line-size = 1
|
||||||
|
line-color = ${colors.c9}
|
||||||
|
|
||||||
|
border-size = 0
|
||||||
|
border-color = ${colors.background}
|
||||||
|
|
||||||
|
padding-left = 0
|
||||||
|
padding-right = 0
|
||||||
|
|
||||||
|
module-margin-left = 0
|
||||||
|
module-margin-right = 0
|
||||||
|
|
||||||
|
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=9;1
|
||||||
|
font-1 = RobotoMono Nerd Font:antialias=true:size=12;2
|
||||||
|
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
||||||
|
font-3 = RobotoMono Nerd Font:antialias=true:size=18;0
|
||||||
|
|
||||||
|
; modules-left = s4 i3 s1 xwindow s5
|
||||||
|
; modules-center =
|
||||||
|
; modules-right = s4 cpu s1 memory s1 temperature s1 date s5
|
||||||
|
|
||||||
|
modules-left = i3
|
||||||
|
modules-center = xwindow
|
||||||
|
modules-right = cpu memory temperature date
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
[bar/bottom]
|
||||||
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
|
width = 100%
|
||||||
|
height = 20
|
||||||
|
offset-x = 0
|
||||||
|
offset-y = 0
|
||||||
|
radius = 0.0
|
||||||
|
fixed-center = false
|
||||||
|
background = ${colors.primary}
|
||||||
|
foreground = ${colors.background}
|
||||||
|
bottom=true
|
||||||
|
line-size = 0
|
||||||
|
line-color = #f00
|
||||||
|
|
||||||
|
border-size = 0
|
||||||
|
border-color = ${colors.background}
|
||||||
|
|
||||||
|
padding-left = 0
|
||||||
|
padding-right = 0
|
||||||
|
|
||||||
|
module-margin-left = 2
|
||||||
|
module-margin-right = 2
|
||||||
|
|
||||||
|
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=10;1
|
||||||
|
font-1 = RobotoMono Nerd Font:antialias=true:size=4;2
|
||||||
|
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
||||||
|
font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
|
||||||
|
|
||||||
|
; modules-left = s4 battery s3 s4 wlan s3 s4 weather s5
|
||||||
|
; modules-center = s4 filesystem s5
|
||||||
|
; modules-right = s4 powermenu s1 pulseaudio s3
|
||||||
|
|
||||||
|
modules-left = battery wlan weather
|
||||||
|
modules-center = mpd pm2_5
|
||||||
|
modules-right =
|
||||||
|
|
||||||
|
tray-position = right
|
||||||
|
tray-padding = 0
|
||||||
|
tray-background = ${colors.primary}
|
||||||
|
|
||||||
|
wm-restack = i3
|
||||||
|
;override-redirect = true
|
||||||
|
|
||||||
|
;scroll-up = bspwm-desknext
|
||||||
|
;scroll-down = bspwm-deskprev
|
||||||
|
|
||||||
|
;scroll-up = i3wm-wsnext
|
||||||
|
;scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
|
||||||
|
[module/xwindow]
|
||||||
|
type = internal/xwindow
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
;format-foreground = ${colors.foreground}
|
||||||
|
label = %title:0:90:...%
|
||||||
|
|
||||||
|
[module/xkeyboard]
|
||||||
|
type = internal/xkeyboard
|
||||||
|
blacklist-0 = num lock
|
||||||
|
|
||||||
|
format-prefix = "Key:"
|
||||||
|
format-prefix-foreground = ${colors.foreground-alt}
|
||||||
|
format-prefix-underline = ${colors.secondary}
|
||||||
|
|
||||||
|
label-layout = %layout%
|
||||||
|
label-layout-underline = ${colors.secondary}
|
||||||
|
|
||||||
|
label-indicator-padding = 2
|
||||||
|
label-indicator-margin = 1
|
||||||
|
label-indicator-background = ${colors.secondary}
|
||||||
|
label-indicator-underline = ${colors.secondary}
|
||||||
|
|
||||||
|
[module/filesystem]
|
||||||
|
type = internal/fs
|
||||||
|
interval = 25
|
||||||
|
mount-0 = /
|
||||||
|
|
||||||
|
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
||||||
|
label-unmounted = %mountpoint% not mounted
|
||||||
|
label-unmounted-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
|
||||||
|
[module/i3]
|
||||||
|
type = internal/i3
|
||||||
|
format = <label-state> <label-mode>
|
||||||
|
format-font
|
||||||
|
index-sort = true
|
||||||
|
wrapping-scroll = false
|
||||||
|
|
||||||
|
; Only show workspaces on the same output as the bar
|
||||||
|
pin-workspaces = false
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
|
||||||
|
ws-icon-0 = 1;
|
||||||
|
ws-icon-1 = 2;
|
||||||
|
ws-icon-2 = 3;
|
||||||
|
ws-icon-3 = 4;
|
||||||
|
ws-icon-4 = 5;
|
||||||
|
ws-icon-5 = 6;
|
||||||
|
ws-icon-6 = 7;
|
||||||
|
ws-icon-7 = 8;
|
||||||
|
ws-icon-8 = 9;
|
||||||
|
ws-icon-default = I
|
||||||
|
|
||||||
|
|
||||||
|
label-mode-foreground = #000
|
||||||
|
label-mode-background = ${colors.primary}
|
||||||
|
label-mode-padding = 2
|
||||||
|
|
||||||
|
; focused = Active workspace on focused monitor
|
||||||
|
label-focused = (%name%)%icon%
|
||||||
|
label-focused-background = ${colors.primary}
|
||||||
|
label-focused-foreground = #000
|
||||||
|
label-focused-underline = ${colors.alert}
|
||||||
|
label-focused-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
; unfocused = Inactive workspace on any monitor
|
||||||
|
label-unfocused = (%name%)%icon%
|
||||||
|
label-unfocused-foreground = ${colors.foreground}
|
||||||
|
label-unfocused-underline = ${colors.secondary}
|
||||||
|
label-unfocused-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
; visible = Visible workspace on any monitor
|
||||||
|
label-visible = (%name%)%icon%
|
||||||
|
label-visible-background = ${self.label-focused-background}
|
||||||
|
label-visible-foreground = #fff
|
||||||
|
label-visible-underline = ${self.label-focused-underline}
|
||||||
|
label-visible-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
label-urgent = (%name%)%icon%
|
||||||
|
label-urgent-background = ${colors.primary}
|
||||||
|
label-urgent-foreground = ${colors.foreground}
|
||||||
|
label-urgent-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
[module/mpd]
|
||||||
|
type = internal/mpd
|
||||||
|
format-online = <label-song> <icon-prev> <icon-stop> <icon-play> <icon-next>
|
||||||
|
|
||||||
|
|
||||||
|
label-online-background = ${colors.foreground}
|
||||||
|
|
||||||
|
toggle-on-foreground = ${colors.foreground}
|
||||||
|
toggle-off-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
format-online-background = ${colors.primary}
|
||||||
|
format-offline-background = ${colors.primary}
|
||||||
|
|
||||||
|
;format-online-foreground = ${colors.foreground}
|
||||||
|
;format-offline-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
icon-play =
|
||||||
|
icon-pause =
|
||||||
|
icon-stop =
|
||||||
|
icon-prev = 玲
|
||||||
|
icon-next = 怜
|
||||||
|
|
||||||
|
|
||||||
|
label-song-maxlen = 60
|
||||||
|
label-song-ellipsis = true
|
||||||
|
|
||||||
|
[module/xbacklight]
|
||||||
|
type = internal/xbacklight
|
||||||
|
|
||||||
|
format = <label> <bar>
|
||||||
|
label =" ﯦ "
|
||||||
|
label-foreground=${colors.background}
|
||||||
|
|
||||||
|
label-padding =1
|
||||||
|
;fbe6
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
|
||||||
|
bar-width = 10
|
||||||
|
bar-indicator =
|
||||||
|
bar-indicator-foreground = ${colors.foreground}
|
||||||
|
;#fff
|
||||||
|
bar-indicator-font = 2
|
||||||
|
bar-fill = ""
|
||||||
|
bar-fill-font = 2
|
||||||
|
bar-fill-foreground = ${colors.background}
|
||||||
|
bar-fill-padding-left = 1
|
||||||
|
;#9f78e1
|
||||||
|
|
||||||
|
bar-empty = ""
|
||||||
|
bar-empty-font = 2
|
||||||
|
bar-empty-foreground = ${colors.foreground}
|
||||||
|
bar-empty-padding-right = 1
|
||||||
|
|
||||||
|
[module/backlight-acpi]
|
||||||
|
inherit = module/xbacklight
|
||||||
|
type = internal/backlight
|
||||||
|
card = intel_backlight
|
||||||
|
|
||||||
|
[module/cpu]
|
||||||
|
format=<label>
|
||||||
|
|
||||||
|
label-padding =1
|
||||||
|
type = internal/cpu
|
||||||
|
interval = 2
|
||||||
|
format-prefix = " "
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
;format-underline = ${colors.primary}
|
||||||
|
;; note that this is how to make underline go away
|
||||||
|
;#f90000
|
||||||
|
label = %percentage-sum%
|
||||||
|
|
||||||
|
[module/spotify]
|
||||||
|
|
||||||
|
type = custom/script
|
||||||
|
interval = 3
|
||||||
|
format-prefix="%{T1}%{T-} "
|
||||||
|
format <label>
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
exec = python /home/paramah/.config/polybar/polybar-spotify/spotify_status.py -f '{song} by {artist}'
|
||||||
|
|
||||||
|
[module/pm2_5]
|
||||||
|
|
||||||
|
type = custom/script
|
||||||
|
interval = 3
|
||||||
|
format-prefix="%{T1}%{T-} "
|
||||||
|
format <label>
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
exec = /home/paramah/bin/czujnik.sh |grep pm2_5
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
interval = 2
|
||||||
|
format-prefix = " "
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
;format-underline = ${colors.primary}
|
||||||
|
;;
|
||||||
|
|
||||||
|
label-padding =1
|
||||||
|
;#4bffdc
|
||||||
|
label = %gb_free%
|
||||||
|
|
||||||
|
[module/wlan]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlp6s0
|
||||||
|
interval = 0.5
|
||||||
|
|
||||||
|
format-connected-prefix="直| "
|
||||||
|
format-connected = <label-connected>
|
||||||
|
format-connected-underline = #9f78e1
|
||||||
|
label-connected = %essid%
|
||||||
|
;label-connected = %local_ip%|%essid%| %upspeed% %downspeed%
|
||||||
|
format-connected-background=${colors.primary}
|
||||||
|
|
||||||
|
format-disconnected =
|
||||||
|
;format-disconnected = <label-disconnected>
|
||||||
|
;format-disconnected-underline = ${self.format-connected-underline}
|
||||||
|
;label-disconnected = %ifname% disconnected
|
||||||
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
ramp-signal-0 =
|
||||||
|
ramp-signal-1 =
|
||||||
|
ramp-signal-2 =
|
||||||
|
ramp-signal-3 =
|
||||||
|
ramp-signal-4 =
|
||||||
|
ramp-signal-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/eth]
|
||||||
|
type = internal/network
|
||||||
|
interface = wlp59s0
|
||||||
|
interval = 3.0
|
||||||
|
|
||||||
|
format-connected-underline = #55aa55
|
||||||
|
format-connected-prefix = " "
|
||||||
|
format-connected-prefix-foreground = ${colors.primary}
|
||||||
|
label-connected = %local_ip%
|
||||||
|
|
||||||
|
format-disconnected =
|
||||||
|
;format-disconnected = <label-disconnected>
|
||||||
|
;format-disconnected-underline = ${self.format-connected-underline}
|
||||||
|
;label-disconnected = %ifname% disconnecte@maciej.swierczek owszem gógl d
|
||||||
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
|
[module/date]
|
||||||
|
type = internal/date
|
||||||
|
interval = 5
|
||||||
|
|
||||||
|
date =
|
||||||
|
date-alt = " %Y-%m-%d"
|
||||||
|
|
||||||
|
time = %H:%M
|
||||||
|
time-alt = %H:%M:%S
|
||||||
|
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix =" "
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
;format-underline = ${colors.primary}
|
||||||
|
;#0a6cf5
|
||||||
|
|
||||||
|
label = %date% %time%
|
||||||
|
label-padding = 1
|
||||||
|
|
||||||
|
[module/pulseaudio]
|
||||||
|
type = internal/pulseaudio
|
||||||
|
|
||||||
|
sink = alsa_output.pci-0000_00_1f.3.analog-stereo
|
||||||
|
|
||||||
|
use-ui-max = true
|
||||||
|
|
||||||
|
format-volume = <label-volume> <bar-volume>
|
||||||
|
label-volume = 墳 %percentage%%
|
||||||
|
label-volume-foreground = ${colors.background}
|
||||||
|
format-volume-background = ${colors.primary}
|
||||||
|
|
||||||
|
label-muted ="婢 "
|
||||||
|
label-muted-foreground = ${colors.background}
|
||||||
|
format-muted-background = ${colors.primary}
|
||||||
|
|
||||||
|
bar-volume-width = 11
|
||||||
|
bar-volume-foreground-0 = ${colors.background}
|
||||||
|
;bar-volume-foreground-1 = #55aa55
|
||||||
|
;bar-volume-foreground-2 = #55aa55
|
||||||
|
;bar-volume-foreground-3 = #55aa55
|
||||||
|
;bar-volume-foreground-4 = #55aa55
|
||||||
|
;bar-volume-foreground-5 = #f5a70a
|
||||||
|
;bar-volume-foreground-6 = #ff5555
|
||||||
|
bar-volume-gradient = false
|
||||||
|
bar-volume-indicator =
|
||||||
|
bar-volume-indicator-font = 2
|
||||||
|
bar-volume-fill = ""
|
||||||
|
bar-volume-fill-font = 2
|
||||||
|
|
||||||
|
bar-volume-empty = ""
|
||||||
|
bar-volume-empty-font = 2
|
||||||
|
bar-volume-empty-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
click-right = pavucontrol &
|
||||||
|
|
||||||
|
[module/alsa]
|
||||||
|
type = internal/alsa
|
||||||
|
master-soundcard = default
|
||||||
|
speaker-soundcard = default
|
||||||
|
headphone-soundcard = default
|
||||||
|
master-mixer = Master
|
||||||
|
mapped = true
|
||||||
|
|
||||||
|
format-volume = <ramp-volume> <label-volume>
|
||||||
|
label-volume = VOL
|
||||||
|
label-volume-foreground = ${colors.foreground}
|
||||||
|
label-volume-background = ${colors.background}
|
||||||
|
|
||||||
|
|
||||||
|
label-muted = muted
|
||||||
|
label-muted-foreground = ${colors.foreground}
|
||||||
|
label-muted-background = ${colors.background}
|
||||||
|
|
||||||
|
; Only applies if <ramp-volume> is used
|
||||||
|
ramp-volume-0 = 0
|
||||||
|
ramp-volume-1 = 1
|
||||||
|
ramp-volume-2 = 2
|
||||||
|
|
||||||
|
; If defined, it will replace <ramp-volume> when
|
||||||
|
; headphones are plugged in to `headphone_control_numid`
|
||||||
|
; If undefined, <ramp-volume> will be used for both
|
||||||
|
; Only applies if <ramp-volume> is used
|
||||||
|
ramp-headphones-0 =
|
||||||
|
ramp-headphones-1 =
|
||||||
|
|
||||||
|
bar-volume-width = 10
|
||||||
|
bar-volume-foreground-0 = #55aa55
|
||||||
|
bar-volume-foreground-1 = #55aa55
|
||||||
|
bar-volume-foreground-2 = #55aa55
|
||||||
|
bar-volume-foreground-3 = #55aa55
|
||||||
|
bar-volume-foreground-4 = #55aa55
|
||||||
|
bar-volume-foreground-5 = #f5a70a
|
||||||
|
bar-volume-foreground-6 = #ff5555
|
||||||
|
bar-volume-gradient = false
|
||||||
|
bar-volume-indicator = |
|
||||||
|
bar-volume-indicator-font = 2
|
||||||
|
bar-volume-fill = ─
|
||||||
|
bar-volume-fill-font = 2
|
||||||
|
bar-volume-empty = ─
|
||||||
|
bar-volume-empty-font = 2
|
||||||
|
bar-volume-empty-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
prefix="BAT"
|
||||||
|
type = internal/battery
|
||||||
|
battery = BAT0
|
||||||
|
adapter = AC
|
||||||
|
full-at = 98
|
||||||
|
format-charging = <animation-charging> <label-charging>
|
||||||
|
;format-charging-underline = ${colors.primary}
|
||||||
|
;#ffb52a
|
||||||
|
|
||||||
|
format-charging-background = ${colors.primary}
|
||||||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
|
;format-discharging-underline = ${self.format-charging-underline}
|
||||||
|
format-discharging-background = ${colors.primary}
|
||||||
|
|
||||||
|
format-full-prefix = " : "
|
||||||
|
format-full-prefix-foreground = ${colors.background}
|
||||||
|
format-full-background = ${colors.primary}
|
||||||
|
;format-full-underline = ${self.format-charging-underline}
|
||||||
|
label-charging-passing =1
|
||||||
|
label-discharging-padding =1
|
||||||
|
|
||||||
|
ramp-capacity-0 =" "
|
||||||
|
ramp-capacity-1 = " "
|
||||||
|
ramp-capacity-2 = " "
|
||||||
|
ramp-capacity-padding = 1
|
||||||
|
;ramp-capacity-0 =
|
||||||
|
;ramp-capacity-1 =
|
||||||
|
;ramp-capacity-2 =
|
||||||
|
ramp-capacity-foreground = ${colors.background}
|
||||||
|
|
||||||
|
animation-charging-0 =
|
||||||
|
animation-charging-1 =
|
||||||
|
animation-charging-2 =
|
||||||
|
animation-charging-foreground = ${colors.foreground-alt}
|
||||||
|
animation-charging-framerate = 750
|
||||||
|
|
||||||
|
animation-discharging-0 =
|
||||||
|
animation-discharging-1 =
|
||||||
|
animation-discharging-2 =
|
||||||
|
animation-discharging-foreground = ${colors.foreground-alt}
|
||||||
|
animation-discharging-framerate = 750
|
||||||
|
|
||||||
|
[module/temperature]
|
||||||
|
type = internal/temperature
|
||||||
|
thermal-zone = 0
|
||||||
|
warn-temperature = 50
|
||||||
|
|
||||||
|
format = <ramp> <label>
|
||||||
|
;format-underline = ${colors.primary}
|
||||||
|
;#f50a4d
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
|
||||||
|
label-padding =1
|
||||||
|
label-warn-padding = 1
|
||||||
|
format-warn = <ramp> <label-warn>
|
||||||
|
;format-warn-underline = ${self.format-underline}
|
||||||
|
format-warn-background= ${colors.primary}
|
||||||
|
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input
|
||||||
|
label = %temperature-c%
|
||||||
|
label-warn = %temperature-c%
|
||||||
|
label-warn-foreground = ${colors.background}
|
||||||
|
|
||||||
|
ramp-0 = " "
|
||||||
|
ramp-1 = " "
|
||||||
|
ramp-2 =" "
|
||||||
|
|
||||||
|
ramp-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/powermenu]
|
||||||
|
type = custom/menu
|
||||||
|
|
||||||
|
expand-right = true
|
||||||
|
|
||||||
|
format-spacing = 0
|
||||||
|
|
||||||
|
label-open =" "
|
||||||
|
label-open-foreground = ${colors.background}
|
||||||
|
label-close =" x"
|
||||||
|
label-close-foreground = ${colors.background}
|
||||||
|
label-separator = |
|
||||||
|
label-separator-foreground = ${colors.foreground-alt}
|
||||||
|
label-separator-background = ${colors.primary}
|
||||||
|
label-open-background= ${colors.primary}
|
||||||
|
label-close-background= ${colors.primary}
|
||||||
|
|
||||||
|
|
||||||
|
menu-0-0 =
|
||||||
|
menu-0-0-background = ${colors.primary}
|
||||||
|
menu-0-0-foreground = ${colors.background}
|
||||||
|
menu-0-0-exec = thunderbird
|
||||||
|
menu-0-1 =
|
||||||
|
menu-0-1-background = ${colors.primary}
|
||||||
|
menu-0-1-foreground = ${colors.background}
|
||||||
|
menu-0-1-exec = nautilus
|
||||||
|
|
||||||
|
menu-1-0 = cancel
|
||||||
|
menu-1-0-background = ${colors.primary}
|
||||||
|
menu-1-0-foreground = ${colors.background}
|
||||||
|
menu-1-0-exec = menu-open-0
|
||||||
|
menu-1-1 = reboot
|
||||||
|
menu-1-1-exec = sudo reboot
|
||||||
|
|
||||||
|
menu-2-0 = power off
|
||||||
|
menu-2-0-background = ${colors.primary}
|
||||||
|
menu-2-0-foreground = ${colors.background}
|
||||||
|
menu-2-0-exec = sudo poweroff
|
||||||
|
menu-2-1 = cancel
|
||||||
|
menu-2-1-exec = menu-open-0
|
||||||
|
|
||||||
|
[module/weather]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/polybar-weather/openweathermap-detailed.sh
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[settings]
|
||||||
|
screenchange-reload = true
|
||||||
|
;compositing-background = xor
|
||||||
|
;compositing-background = screen
|
||||||
|
compositing-foreground = source
|
||||||
|
compositing-border = over
|
||||||
|
pseudo-transparency = true
|
||||||
|
|
||||||
|
[global/wm]
|
||||||
|
margin-top = 0
|
||||||
|
margin-bottom = 0
|
||||||
|
|
||||||
|
; vim:ft=dosini
|
||||||
|
|
||||||
|
```
|
@ -32,27 +32,26 @@ c11 = ${xrdb:color11:#222}
|
|||||||
c12 = ${xrdb:color12:#222}
|
c12 = ${xrdb:color12:#222}
|
||||||
c13 = ${xrdb:color13:#222}
|
c13 = ${xrdb:color13:#222}
|
||||||
c14 = ${xrdb:color14:#222}
|
c14 = ${xrdb:color14:#222}
|
||||||
|
white = #fff
|
||||||
|
|
||||||
[bar/example]
|
|
||||||
|
[bar/top]
|
||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 20
|
height = 20
|
||||||
;override-redirect=true
|
override-redirect=false
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
offset-y = 3
|
offset-y = 0
|
||||||
;wm-restack=i3
|
radius = 0
|
||||||
radius = 0.0
|
fixed-center = true
|
||||||
fixed-center = false
|
background = ${colors.primary}
|
||||||
;separator=
|
|
||||||
background = ${colors.background}
|
|
||||||
foreground = ${colors.background}
|
foreground = ${colors.background}
|
||||||
|
|
||||||
line-size = 3
|
line-size = 1
|
||||||
line-color = ${colors.c9}
|
line-color = ${colors.c9}
|
||||||
|
|
||||||
border-size = 5
|
border-size = 0
|
||||||
border-color = ${colors.background}
|
border-color = ${colors.background}
|
||||||
;#00000000
|
|
||||||
|
|
||||||
padding-left = 0
|
padding-left = 0
|
||||||
padding-right = 0
|
padding-right = 0
|
||||||
@ -60,26 +59,14 @@ padding-right = 0
|
|||||||
module-margin-left = 0
|
module-margin-left = 0
|
||||||
module-margin-right = 0
|
module-margin-right = 0
|
||||||
|
|
||||||
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=10;1
|
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=9;1
|
||||||
font-1 = RobotoMono Nerd Font:antialias=true:size=6;2
|
font-1 = RobotoMono Nerd Font:antialias=true:size=12;2
|
||||||
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
||||||
modules-left = s4 i3 s1 xwindow s5
|
font-3 = RobotoMono Nerd Font:antialias=true:size=18;0
|
||||||
modules-center =
|
|
||||||
modules-right = s4 cpu s1 memory s1 temperature s1 date s5
|
|
||||||
|
|
||||||
;tray-position = right
|
modules-left = i3
|
||||||
;tray-padding = 0
|
modules-center = xwindow
|
||||||
;tray-background = #0063ff
|
modules-right = cpu memory temperature date
|
||||||
|
|
||||||
;wm-restack = bspwm
|
|
||||||
wm-restack = i3
|
|
||||||
;override-redirect = true
|
|
||||||
background
|
|
||||||
;scroll-up = bspwm-desknext
|
|
||||||
;scroll-down = bspwm-deskprev
|
|
||||||
|
|
||||||
;scroll-up = i3wm-wsnext
|
|
||||||
;scroll-down = i3wm-wsprev
|
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
@ -88,46 +75,42 @@ cursor-scroll = ns-resize
|
|||||||
;monitor = ${env:MONITOR:HDMI-1}
|
;monitor = ${env:MONITOR:HDMI-1}
|
||||||
width = 100%
|
width = 100%
|
||||||
height = 20
|
height = 20
|
||||||
;override-redirect=true
|
|
||||||
offset-x = 0
|
offset-x = 0
|
||||||
offset-y = 3
|
offset-y = 0
|
||||||
;wm-restack=i3
|
|
||||||
radius = 0.0
|
radius = 0.0
|
||||||
fixed-center = false
|
fixed-center = false
|
||||||
;separator=
|
background = ${colors.primary}
|
||||||
background = ${colors.background}
|
|
||||||
; #00000000
|
|
||||||
;${colors.background}
|
|
||||||
foreground = ${colors.background}
|
foreground = ${colors.background}
|
||||||
bottom=true
|
bottom=true
|
||||||
line-size = 0
|
line-size = 0
|
||||||
line-color = #f00
|
line-color = #f00
|
||||||
|
|
||||||
border-size = 5
|
border-size = 0
|
||||||
border-color = ${colors.background}
|
border-color = ${colors.background}
|
||||||
;#00000000
|
|
||||||
|
|
||||||
padding-left = 0
|
padding-left = 0
|
||||||
padding-right = 0
|
padding-right = 0
|
||||||
|
|
||||||
module-margin-left = 0
|
module-margin-left = 2
|
||||||
module-margin-right = 0
|
module-margin-right = 2
|
||||||
|
|
||||||
font-0 = RobotoMono Nerd Font :antialias=true:pixelsize=10;1
|
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=10;1
|
||||||
font-1 = RobotoMono Nerd Font:antialias=true:size=4;2
|
font-1 = RobotoMono Nerd Font:antialias=true:size=4;2
|
||||||
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
|
||||||
font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
|
font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
|
||||||
|
|
||||||
modules-left = s4 battery s3 s4 wlan s3 s4 weather s5
|
; modules-left = s4 battery s3 s4 wlan s3 s4 weather s5
|
||||||
modules-center = s4 mpd s5
|
; modules-center = s4 filesystem s5
|
||||||
; pulseaudio
|
; modules-right = s4 powermenu s1 pulseaudio s3
|
||||||
modules-right = s4 powermenu s1 pulseaudio s3
|
|
||||||
|
modules-left = battery wlan weather arch
|
||||||
|
modules-center = mpd
|
||||||
|
modules-right =
|
||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 0
|
tray-padding = 1
|
||||||
tray-background = ${colors.background}
|
tray-background = ${colors.primary}
|
||||||
|
|
||||||
;wm-restack = bspwm
|
|
||||||
wm-restack = i3
|
wm-restack = i3
|
||||||
;override-redirect = true
|
;override-redirect = true
|
||||||
|
|
||||||
@ -141,8 +124,6 @@ cursor-click = pointer
|
|||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
format-background = ${colors.primary}
|
format-background = ${colors.primary}
|
||||||
@ -165,147 +146,67 @@ label-indicator-margin = 1
|
|||||||
label-indicator-background = ${colors.secondary}
|
label-indicator-background = ${colors.secondary}
|
||||||
label-indicator-underline = ${colors.secondary}
|
label-indicator-underline = ${colors.secondary}
|
||||||
|
|
||||||
[module/s1]
|
|
||||||
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
;#00000000
|
|
||||||
content-foreground = ${colors.primary}
|
|
||||||
|
|
||||||
[module/s2]
|
|
||||||
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}"
|
|
||||||
content-background=${bar/example.background}
|
|
||||||
content-foreground=${colors.primary}
|
|
||||||
|
|
||||||
[module/s3]
|
|
||||||
type=custom/text
|
|
||||||
content="%{T3}%{T-}"
|
|
||||||
content-background=${bar/example.background}
|
|
||||||
content-foreground=${colors.primary}
|
|
||||||
|
|
||||||
[module/s4]
|
|
||||||
type=custom/text
|
|
||||||
content="%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${colors.primary}
|
|
||||||
|
|
||||||
[module/s5]
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${colors.primary}
|
|
||||||
|
|
||||||
[module/s6]
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${bar/example.border-color}
|
|
||||||
|
|
||||||
|
|
||||||
[module/s7]
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${bar/example.border-color}
|
|
||||||
|
|
||||||
|
|
||||||
[module/s8]
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${color.primary}
|
|
||||||
|
|
||||||
|
|
||||||
[module/s9]
|
|
||||||
type = custom/text
|
|
||||||
content = "%{T3}%{T-}"
|
|
||||||
content-background = ${bar/example.background}
|
|
||||||
content-foreground = ${bar/example.border-color}
|
|
||||||
|
|
||||||
[module/filesystem]
|
[module/filesystem]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
interval = 25
|
interval = 25
|
||||||
|
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
|
|
||||||
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
|
||||||
label-unmounted = %mountpoint% not mounted
|
label-unmounted = %mountpoint% not mounted
|
||||||
label-unmounted-foreground = ${colors.foreground-alt}
|
label-unmounted-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
[module/bspwm]
|
|
||||||
type = internal/bspwm
|
|
||||||
|
|
||||||
label-focused = %index%
|
|
||||||
label-focused-background = ${colors.background-alt}
|
|
||||||
label-focused-underline= ${colors.primary}
|
|
||||||
label-focused-padding = 2
|
|
||||||
|
|
||||||
label-occupied = %index%
|
|
||||||
label-occupied-padding = 2
|
|
||||||
|
|
||||||
label-urgent = %index%!
|
|
||||||
label-urgent-background = ${colors.alert}
|
|
||||||
label-urgent-padding = 2
|
|
||||||
|
|
||||||
label-empty = %index%
|
|
||||||
label-empty-foreground = ${colors.foreground-alt}
|
|
||||||
label-empty-padding = 2
|
|
||||||
|
|
||||||
; Separator in between workspaces
|
|
||||||
label-separator = |
|
|
||||||
|
|
||||||
[module/i3]
|
[module/i3]
|
||||||
type = internal/i3
|
type = internal/i3
|
||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
|
format-font
|
||||||
index-sort = true
|
index-sort = true
|
||||||
wrapping-scroll = false
|
wrapping-scroll = false
|
||||||
|
|
||||||
; Only show workspaces on the same output as the bar
|
; Only show workspaces on the same output as the bar
|
||||||
pin-workspaces =false
|
pin-workspaces = false
|
||||||
;format-background = ${colors.background}
|
format-background = ${colors.primary}
|
||||||
|
|
||||||
label-mode-padding = 0
|
|
||||||
label-mode-foreground = ${colors.foreground}
|
|
||||||
;#000
|
|
||||||
label-mode-background = ${colors.secondary}
|
|
||||||
|
|
||||||
; focused = Active workspace on focused monitor
|
|
||||||
label-focused =
|
|
||||||
;%icon%
|
|
||||||
label-focused-background = ${colors.primary}
|
|
||||||
;${module/bspwm.label-focused-background}
|
|
||||||
label-focused-underline = #00000000
|
|
||||||
;${module/bspwm.label-focused-underline}
|
|
||||||
label-focused-padding = ${module/bspwm.label-focused-padding}
|
|
||||||
;label-focused-format = ${colors.foreground}
|
|
||||||
label-focused-foreground= ${colors.background}
|
|
||||||
; unfocused = Inactive workspace on any monitor
|
|
||||||
label-unfocused =
|
|
||||||
;%icon%
|
|
||||||
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
|
|
||||||
label-unfocused-background = ${colors.primary}
|
|
||||||
|
|
||||||
ws-icon-0 = 1;
|
ws-icon-0 = 1;
|
||||||
ws-icon-1 = 2;
|
ws-icon-1 = 2;
|
||||||
;ws-icon-2 = 3;3
|
ws-icon-2 = 3;
|
||||||
;ws-icon-3 = 4;4
|
ws-icon-3 = 4;
|
||||||
;ws-icon-4 = 5;5
|
ws-icon-4 = 5;
|
||||||
|
ws-icon-5 = 6;
|
||||||
|
ws-icon-6 = 7;
|
||||||
|
ws-icon-7 = 8;
|
||||||
|
ws-icon-8 = 9;
|
||||||
|
ws-icon-default = I
|
||||||
|
|
||||||
|
|
||||||
|
label-mode-foreground = #000
|
||||||
|
label-mode-background = ${colors.primary}
|
||||||
|
label-mode-padding = 2
|
||||||
|
|
||||||
|
; focused = Active workspace on focused monitor
|
||||||
|
label-focused = (%name%)%icon%
|
||||||
|
label-focused-background = ${colors.primary}
|
||||||
|
label-focused-foreground = #000
|
||||||
|
label-focused-underline = ${colors.alert}
|
||||||
|
label-focused-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
; unfocused = Inactive workspace on any monitor
|
||||||
|
label-unfocused = (%name%)%icon%
|
||||||
|
label-unfocused-foreground = ${colors.foreground}
|
||||||
|
label-unfocused-underline = ${colors.secondary}
|
||||||
|
label-unfocused-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
|
; visible = Visible workspace on any monitor
|
||||||
|
label-visible = (%name%)%icon%
|
||||||
label-visible-background = ${self.label-focused-background}
|
label-visible-background = ${self.label-focused-background}
|
||||||
|
label-visible-foreground = #fff
|
||||||
label-visible-underline = ${self.label-focused-underline}
|
label-visible-underline = ${self.label-focused-underline}
|
||||||
label-visible-padding = ${self.label-focused-padding}
|
label-visible-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
; urgent = Workspace with urgency hint set
|
|
||||||
label-urgent = %index%
|
|
||||||
label-urgent-background = ${module/bspwm.label-urgent-background}
|
|
||||||
label-urgent-padding = ${module/bspwm.label-urgent-padding}
|
|
||||||
|
|
||||||
; Separator in between workspaces
|
|
||||||
label-separator =
|
|
||||||
|
|
||||||
|
label-urgent = (%name%)%icon%
|
||||||
|
label-urgent-background = ${colors.primary}
|
||||||
|
label-urgent-foreground = ${colors.foreground}
|
||||||
|
label-urgent-padding = ${self.label-mode-padding}
|
||||||
|
|
||||||
[module/mpd]
|
[module/mpd]
|
||||||
type = internal/mpd
|
type = internal/mpd
|
||||||
@ -388,6 +289,7 @@ format <label>
|
|||||||
format-background = ${colors.primary}
|
format-background = ${colors.primary}
|
||||||
exec = python /home/paramah/.config/polybar/polybar-spotify/spotify_status.py -f '{song} by {artist}'
|
exec = python /home/paramah/.config/polybar/polybar-spotify/spotify_status.py -f '{song} by {artist}'
|
||||||
|
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
interval = 2
|
interval = 2
|
||||||
@ -473,7 +375,7 @@ label-volume = 墳 %percentage%%
|
|||||||
label-volume-foreground = ${colors.background}
|
label-volume-foreground = ${colors.background}
|
||||||
format-volume-background = ${colors.primary}
|
format-volume-background = ${colors.primary}
|
||||||
|
|
||||||
label-muted ="婢 %{T2}%{T-}"
|
label-muted ="婢 "
|
||||||
label-muted-foreground = ${colors.background}
|
label-muted-foreground = ${colors.background}
|
||||||
format-muted-background = ${colors.primary}
|
format-muted-background = ${colors.primary}
|
||||||
|
|
||||||
@ -593,16 +495,13 @@ thermal-zone = 0
|
|||||||
warn-temperature = 50
|
warn-temperature = 50
|
||||||
|
|
||||||
format = <ramp> <label>
|
format = <ramp> <label>
|
||||||
;format-underline = ${colors.primary}
|
|
||||||
;#f50a4d
|
|
||||||
format-background = ${colors.primary}
|
format-background = ${colors.primary}
|
||||||
|
|
||||||
label-padding =1
|
label-padding =1
|
||||||
label-warn-padding = 1
|
label-warn-padding = 1
|
||||||
format-warn = <ramp> <label-warn>
|
format-warn = <ramp> <label-warn>
|
||||||
;format-warn-underline = ${self.format-underline}
|
|
||||||
format-warn-background= ${colors.primary}
|
format-warn-background= ${colors.primary}
|
||||||
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input
|
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon5/temp1_input
|
||||||
label = %temperature-c%
|
label = %temperature-c%
|
||||||
label-warn = %temperature-c%
|
label-warn = %temperature-c%
|
||||||
label-warn-foreground = ${colors.background}
|
label-warn-foreground = ${colors.background}
|
||||||
@ -660,6 +559,26 @@ exec = ~/.config/polybar/polybar-weather/openweathermap-detailed.sh
|
|||||||
format-background = ${colors.primary}
|
format-background = ${colors.primary}
|
||||||
format-prefix-foreground = ${colors.background}
|
format-prefix-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/arch]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/polybar-network-update/updates-arch-combined.sh
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/syngeos]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/syngeos-sensor/sensor.sh
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
format-prefix-foreground = ${colors.background}
|
||||||
|
|
||||||
|
[module/pm25]
|
||||||
|
type = custom/script
|
||||||
|
interval = 3
|
||||||
|
format-background = ${colors.primary}
|
||||||
|
exec = /home/paramah/bin/czujnik.sh |grep pm2_5 |awk '{print $2 $3}' |tr -d \"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[settings]
|
[settings]
|
||||||
screenchange-reload = true
|
screenchange-reload = true
|
||||||
;compositing-background = xor
|
;compositing-background = xor
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
killall -q polybar
|
killall -q polybar
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
polybar example &
|
polybar top &
|
||||||
polybar bottom &
|
polybar bottom &
|
||||||
|
|
||||||
|
5
.config/polybar/syngeos-sensor/sensor.sh
Executable file
5
.config/polybar/syngeos-sensor/sensor.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
DATA=$(http https://api.syngeos.pl/api/public/data/device/1554 |jq '.sensors |.[] | { (.name): (.unit + " " + (.data[0].value|tostring)) }'|grep pm2_5 |awk '{print $2 $3}' |tr -d \")
|
||||||
|
|
||||||
|
echo $DATA
|
@ -8,3 +8,4 @@ configuration {
|
|||||||
display-drun: "apps";
|
display-drun: "apps";
|
||||||
columns: 2;
|
columns: 2;
|
||||||
}
|
}
|
||||||
|
@import "/usr/share/rofi/themes/Arc-Dark.rasi"
|
||||||
|
@ -3,5 +3,5 @@
|
|||||||
TRAEFIK="http://traefik.docker.localhost"
|
TRAEFIK="http://traefik.docker.localhost"
|
||||||
DOMAIN="docker.localhost"
|
DOMAIN="docker.localhost"
|
||||||
SERVICES=$(curl ${TRAEFIK}/api/http/routers |jq ".[].rule" |grep "${DOMAIN}" |awk -F\` '{print $2}')
|
SERVICES=$(curl ${TRAEFIK}/api/http/routers |jq ".[].rule" |grep "${DOMAIN}" |awk -F\` '{print $2}')
|
||||||
SELECTION=$(echo -e "$SERVICES" | uniq -u | rofi -dmenu -p "Select traefik service: " -theme ~/.config/rofi/themes/app-launcher)
|
SELECTION=$(echo -e "$SERVICES" | uniq -u | rofi -dmenu -p "Select traefik service: " -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi)
|
||||||
[ ! -z "$SELECTION" ] && xdg-open "http://${SELECTION}"
|
[ ! -z "$SELECTION" ] && xdg-open "http://${SELECTION}"
|
||||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,3 +20,4 @@ nbproject
|
|||||||
bin/__pycache__/
|
bin/__pycache__/
|
||||||
.config/rofi/scripts/__pycache__/
|
.config/rofi/scripts/__pycache__/
|
||||||
.phpintel/
|
.phpintel/
|
||||||
|
.envrc
|
||||||
|
30
.zshrc
30
.zshrc
@ -30,6 +30,7 @@ export PATH=$PATH:$HOME/.captain/bin
|
|||||||
|
|
||||||
#Home bin (last always!)
|
#Home bin (last always!)
|
||||||
export PATH="/home/paramah/go/bin:$PATH"
|
export PATH="/home/paramah/go/bin:$PATH"
|
||||||
|
export PATH="/var/lib/snapd/snap/bin:$PATH"
|
||||||
export PATH="/home/paramah/bin:$PATH"
|
export PATH="/home/paramah/bin:$PATH"
|
||||||
|
|
||||||
#symfony
|
#symfony
|
||||||
@ -38,7 +39,9 @@ export PATH="$HOME/.symfony/bin:$PATH"
|
|||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
ZSH_THEME="powerlevel9k/powerlevel9k"
|
ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs_joined virtualenv nodeenv)
|
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs_joined virtualenv nodeenv terraform)
|
||||||
|
|
||||||
|
PROMPT=$'%{$fg[white]%}$(tf_prompt_info)%{$reset_color%} '
|
||||||
|
|
||||||
export CHROME_BIN=/usr/bin/chromium
|
export CHROME_BIN=/usr/bin/chromium
|
||||||
|
|
||||||
@ -55,6 +58,7 @@ plugins=(
|
|||||||
fzf
|
fzf
|
||||||
git-flow-completion
|
git-flow-completion
|
||||||
go
|
go
|
||||||
|
terraform
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -63,7 +67,8 @@ source ~/.zplug/init.zsh
|
|||||||
|
|
||||||
zplug 'ytet5uy4/fzf-widgets'
|
zplug 'ytet5uy4/fzf-widgets'
|
||||||
zplug 'zsh-users/zaw'
|
zplug 'zsh-users/zaw'
|
||||||
#zplug 'voronkovich/project.plugin.zsh'
|
zplug "pbar1/zsh-terraform"
|
||||||
|
zplug 'voronkovich/project.plugin.zsh'
|
||||||
|
|
||||||
|
|
||||||
# Map widgets to key
|
# Map widgets to key
|
||||||
@ -197,6 +202,25 @@ theme () {
|
|||||||
(feh --bg-scale $WALLPAPER)
|
(feh --bg-scale $WALLPAPER)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
alias tf=terraform
|
||||||
|
alias tfw="terraform workspace"
|
||||||
|
|
||||||
|
tfv(){
|
||||||
|
terraform validate -var-file=vars/$(terraform workspace show).tfvars
|
||||||
|
}
|
||||||
|
|
||||||
|
tfp(){
|
||||||
|
terraform plan -var-file=vars/$(terraform workspace show).tfvars
|
||||||
|
}
|
||||||
|
|
||||||
|
tfa(){
|
||||||
|
terraform apply -var-file=vars/$(terraform workspace show).tfvars
|
||||||
|
}
|
||||||
|
|
||||||
|
tfc(){
|
||||||
|
terraform console -var-file=vars/$(terraform workspace show).tfvars
|
||||||
|
}
|
||||||
|
|
||||||
autoload -U +X bashcompinit && bashcompinit
|
autoload -U +X bashcompinit && bashcompinit
|
||||||
complete -o nospace -C /usr/bin/vault vault
|
complete -o nospace -C /usr/bin/vault vault
|
||||||
|
|
||||||
@ -212,3 +236,5 @@ xset b off
|
|||||||
source <(hcloud completion zsh)
|
source <(hcloud completion zsh)
|
||||||
#eval "$(starship init zsh)"
|
#eval "$(starship init zsh)"
|
||||||
#neofetch
|
#neofetch
|
||||||
|
#
|
||||||
|
eval "$(_JZ_COMPLETE=source_zsh jz)"
|
||||||
|
@ -37,13 +37,13 @@ Plug 'kristijanhusak/vim-carbon-now-sh'
|
|||||||
|
|
||||||
Plug 'sbdchd/neoformat'
|
Plug 'sbdchd/neoformat'
|
||||||
Plug 'neomake/neomake'
|
Plug 'neomake/neomake'
|
||||||
Plug 'ludovicchabant/vim-gutentags'
|
" Plug 'ludovicchabant/vim-gutentags'
|
||||||
Plug 'junegunn/fzf'
|
Plug 'junegunn/fzf'
|
||||||
Plug 'ncm2/ncm2'
|
Plug 'ncm2/ncm2'
|
||||||
Plug 'roxma/nvim-yarp'
|
Plug 'roxma/nvim-yarp'
|
||||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
Plug 'KabbAmine/zeavim.vim'
|
" Plug 'KabbAmine/zeavim.vim'
|
||||||
Plug 'tpope/vim-commentary'
|
" Plug 'tpope/vim-commentary'
|
||||||
Plug 'Shougo/vimproc.vim', {'do' : 'make'}
|
Plug 'Shougo/vimproc.vim', {'do' : 'make'}
|
||||||
Plug 'wincent/ferret'
|
Plug 'wincent/ferret'
|
||||||
Plug 'moll/vim-bbye'
|
Plug 'moll/vim-bbye'
|
||||||
@ -120,7 +120,10 @@ Plug 'Quramy/tsuquyomi'
|
|||||||
Plug 'fatih/vim-hclfmt'
|
Plug 'fatih/vim-hclfmt'
|
||||||
Plug 'hashivim/vim-terraform'
|
Plug 'hashivim/vim-terraform'
|
||||||
Plug 'hashivim/vim-consul'
|
Plug 'hashivim/vim-consul'
|
||||||
Plug 'b4b4r07/vim-hcl'
|
" Plug 'b4b4r07/vim-hcl'
|
||||||
|
Plug 'vim-syntastic/syntastic'
|
||||||
|
Plug 'juliosueiras/vim-terraform-completion'
|
||||||
|
|
||||||
|
|
||||||
" Salt-Stack (.:REACTIVATE:.)
|
" Salt-Stack (.:REACTIVATE:.)
|
||||||
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
Reference in New Issue
Block a user