Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0bd9be985a | ||
|
|
ed15254969 |
No files matched your search
@@ -13,12 +13,14 @@ set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:monospace 8
|
||||
font monospace 8
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
|
||||
exec --no-startup-id feh --bg-fill $HOME/walls/akira.png
|
||||
|
||||
# Start XDG autostart .desktop files using dex. See also
|
||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||
exec --no-startup-id dex --autostart --environment i3
|
||||
@@ -30,19 +32,19 @@ exec --no-startup-id dex --autostart --environment i3
|
||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
||||
|
||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||
# startup apps
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id mullvad-vpn
|
||||
exec --no-startup-id alttab -w 1 -fg "#c5c8c6" -bg "#1d1f21" -frame "#fc595f" -t 128x150 -i 128x64
|
||||
exec --no-startup-id gammastep -l 42.035770:-88.102383
|
||||
exec --no-startup-id musicpresence
|
||||
|
||||
# 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 --no-startup-id brightnessctl set +10%
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl set 10%-
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%- && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-mute @DEFAULT_AUDIO_SOURCE@ toggle && $refresh_i3status
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
@@ -58,7 +60,7 @@ bindsym $mod+Return exec terminology
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
||||
bindsym $mod+d exec --no-startup-id rofi -show drun
|
||||
# A more modern dmenu replacement is rofi:
|
||||
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||
@@ -115,6 +117,8 @@ bindsym $mod+a focus parent
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
bindsym $mod+Shift+x exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
|
||||
|
||||
# Define names for default workspaces for which we configure key bindings later on.
|
||||
# We use variables to avoid repeating the names in multiple places.
|
||||
set $ws1 "1"
|
||||
@@ -184,10 +188,38 @@ mode "resize" {
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
default_border pixel 0
|
||||
default_floating_border pixel 0
|
||||
for_window [class="^.*"] border pixel 1
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
exec --no-startup-id evasbar
|
||||
default_border pixel 1
|
||||
default_floating_border pixel 1
|
||||
|
||||
# class border background text indicator child_border
|
||||
client.focused #fc595f #d3494e #f5f5f5 #ff443e #fc595f
|
||||
client.focused_inactive #832e31 #252525 #a1b0b8 #832e31 #832e31
|
||||
client.unfocused #252525 #151515 #5d6f71 #252525 #252525
|
||||
client.urgent #df9395 #832e31 #f5f5f5 #df9395 #df9395
|
||||
client.placeholder #151515 #151515 #5d6f71 #151515 #151515
|
||||
client.background #151515
|
||||
|
||||
gaps inner 5
|
||||
gaps outer 5
|
||||
|
||||
# -- Bar (i3bar / i3status) ----------------------------------
|
||||
bar {
|
||||
font pango:DejaVuSansM Nerd Font Mono 7
|
||||
status_command i3status-rs $HOME/.config/i3status-rs/config.toml
|
||||
position top
|
||||
|
||||
colors {
|
||||
background #151515
|
||||
statusline #a1b0b8
|
||||
separator #5d6f71
|
||||
|
||||
# class border background text
|
||||
focused_workspace #fc595f #d3494e #f5f5f5
|
||||
active_workspace #a63c40 #832e31 #f5f5f5
|
||||
inactive_workspace #252525 #252525 #a1b0b8
|
||||
urgent_workspace #df9395 #832e31 #f5f5f5
|
||||
binding_mode #df9395 #a63c40 #f5f5f5
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,118 @@
|
||||
# i3status-rust config.toml
|
||||
# Place at: ~/.config/i3status-rust/config.toml
|
||||
# Docs: https://github.com/greshake/i3status-rust/blob/master/doc/blocks.md
|
||||
#
|
||||
# Requires a Nerd Font or Font Awesome 6 for icons.
|
||||
# Set in your i3 bar config, e.g.:
|
||||
# font pango:JetBrainsMono Nerd Font 10
|
||||
|
||||
[theme]
|
||||
theme = "plain"
|
||||
|
||||
[theme.overrides]
|
||||
idle_bg = "#1d1f21"
|
||||
idle_fg = "#c5c8c6"
|
||||
info_bg = "#1d1f21"
|
||||
info_fg = "#81a2be" # blue
|
||||
good_bg = "#1d1f21"
|
||||
good_fg = "#b5bd68" # green
|
||||
warning_bg = "#1d1f21"
|
||||
warning_fg = "#f0c674" # yellow
|
||||
critical_bg = "#cc6666" # red bg for critical alerts
|
||||
critical_fg = "#1d1f21"
|
||||
separator_bg = "#1d1f21"
|
||||
separator_fg = "#373b41"
|
||||
# Other built-in themes: plain, solarized-dark, modern, bad-wolf, native, dracula, nord
|
||||
|
||||
[icons]
|
||||
icons = "awesome6"
|
||||
# Fallback if you don't have a Nerd Font: icons = "none"
|
||||
|
||||
# ── Focused window title ──────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "focused_window"
|
||||
|
||||
# ── CPU utilization ───────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
format = " $utilization "
|
||||
format_alt = " $frequency " # Left-click to toggle
|
||||
|
||||
# ── CPU temperature ───────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
interval = 5
|
||||
format = " $icon $max "
|
||||
# Run `sensors` to find your chip name and adjust below if needed:
|
||||
# chip = "*-isa-*"
|
||||
warning = 60.0
|
||||
|
||||
# ── Memory ────────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "memory"
|
||||
format = " $icon $mem_used_percents "
|
||||
format_alt = " $icon_swap $swap_used_percents " # Left-click to toggle
|
||||
|
||||
# ── Disk space ────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "disk_space"
|
||||
path = "/"
|
||||
info_type = "available"
|
||||
alert_unit = "GB"
|
||||
alert = 10.0
|
||||
warning = 20.0
|
||||
format = " $icon $available "
|
||||
|
||||
# ── Network ───────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "net"
|
||||
format = " $icon {$speed_down $speed_up|Disconnected} "
|
||||
interval = 2
|
||||
|
||||
[[block]]
|
||||
block = "vpn"
|
||||
driver = "mullvad"
|
||||
interval = 5
|
||||
format_connected = " vpn: "
|
||||
format_disconnected = " vpn: "
|
||||
state_connected = "good"
|
||||
state_disconnected = "warning"
|
||||
|
||||
# ── Bluetooth ─────────────────────────────────────────────────────────────────
|
||||
# Uncomment and set your device MAC once you have a paired device:
|
||||
# [[block]]
|
||||
# block = "bluetooth"
|
||||
# mac = "XX:XX:XX:XX:XX:XX"
|
||||
# format = " $icon {$name|} "
|
||||
|
||||
# ── Spotify ───────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "music"
|
||||
interface_name_exclude = [".*kdeconnect.*", "mpd"]
|
||||
format = " $icon {$combo.str(max_w:60) $play |}"
|
||||
format_alt = " $icon {$title.str(max_w:25)|no track} " # Left-click to toggle
|
||||
# Scroll on block to seek, right-click to go to next track
|
||||
|
||||
# ── Volume ────────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "sound"
|
||||
format = " $icon $volume "
|
||||
# Left-click: mute/unmute | Scroll: change volume
|
||||
|
||||
# ── Battery ───────────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 10
|
||||
format = " $icon $percentage {$time |}"
|
||||
empty_format = " $icon Empty "
|
||||
missing_format = "" # Hides the block entirely if no battery is present
|
||||
full_threshold = 99
|
||||
|
||||
# ── Date and time ─────────────────────────────────────────────────────────────
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
[block.format]
|
||||
full = " $timestamp.datetime(f:'%m/%d %I:%M %P') "
|
||||
short = " $timestamp.datetime(f:'%Y-%m-%d') "
|
||||
@@ -1,48 +0,0 @@
|
||||
theme = "plain"
|
||||
icons = "none"
|
||||
|
||||
[theme.overrides]
|
||||
idle_bg = "#1e1e1e"
|
||||
idle_fg = "#b8b8b8"
|
||||
|
||||
info_bg = "#1e1e1e"
|
||||
info_fg = "#b8b8b8"
|
||||
|
||||
good_bg = "#1e1e1e"
|
||||
good_fg = "#b8b8b8"
|
||||
|
||||
warning_bg = "#1e1e1e"
|
||||
warning_fg = "#d7af87"
|
||||
|
||||
critical_bg = "#1e1e1e"
|
||||
critical_fg = "#d78787"
|
||||
|
||||
separator = " "
|
||||
separator_bg = "#1e1e1e"
|
||||
separator_fg = "#1e1e1e"
|
||||
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 2
|
||||
format = "cpu $utilization"
|
||||
warning = 70
|
||||
critical = 90
|
||||
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
interval = 2
|
||||
format = "mem $mem_used_percents.eng(w:2)"
|
||||
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
format = "vol $volume"
|
||||
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "$timestamp.datetime(f:'%H:%M')"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
|
||||
@theme "./tommorow_night_burns.rasi"
|
||||
@@ -0,0 +1,127 @@
|
||||
/**
|
||||
* Tomorrow Night Burns — Rofi Theme
|
||||
* Font: DejaVuSansMono Nerd Font Mono 7
|
||||
*/
|
||||
|
||||
* {
|
||||
/* ── Palette ─────────────────────────────────── */
|
||||
bg0: #1d1f21; /* base background */
|
||||
bg1: #282a2e; /* current line / alt row */
|
||||
bg2: #373b41; /* selection / highlight bg */
|
||||
fg0: #c5c8c6; /* primary text */
|
||||
fg1: #969896; /* comment / subtle */
|
||||
red: #cc6666;
|
||||
orange: #cc6666; /* the "burns" accent */
|
||||
yellow: #832e31;
|
||||
green: #b5bd68;
|
||||
teal: #8abeb7;
|
||||
blue: #81a2be;
|
||||
purple: #b294bb;
|
||||
|
||||
font: "DejaVuSansM Nerd Font Mono 7";
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
}
|
||||
|
||||
/* ── Window ────────────────────────────────────────── */
|
||||
window {
|
||||
background-color: @bg0;
|
||||
border: 1px solid;
|
||||
border-color: @orange;
|
||||
border-radius: 0px;
|
||||
padding: 0px;
|
||||
width: 30%;
|
||||
}
|
||||
|
||||
/* ── Layout ────────────────────────────────────────── */
|
||||
mainbox {
|
||||
background-color: transparent;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
children: [ inputbar, listview, message ];
|
||||
}
|
||||
|
||||
/* ── Input bar ─────────────────────────────────────── */
|
||||
inputbar {
|
||||
background-color: @bg1;
|
||||
border: 0px 0px 1px 0px;
|
||||
border-color: @bg2;
|
||||
padding: 6px 8px;
|
||||
spacing: 4px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
background-color: transparent;
|
||||
text-color: @orange;
|
||||
}
|
||||
|
||||
entry {
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
cursor-color: @orange;
|
||||
placeholder: " search";
|
||||
placeholder-color: @fg1;
|
||||
}
|
||||
|
||||
/* ── List ──────────────────────────────────────────── */
|
||||
listview {
|
||||
background-color: transparent;
|
||||
padding: 4px;
|
||||
spacing: 1px;
|
||||
scrollbar: false;
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: transparent;
|
||||
border-radius: 0px;
|
||||
padding: 3px 6px;
|
||||
spacing: 6px;
|
||||
orientation: horizontal;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
background-color: transparent;
|
||||
size: 1em;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: transparent;
|
||||
text-color: inherit;
|
||||
highlight: bold #ff443e;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
/* normal rows */
|
||||
element normal.normal { background-color: transparent; text-color: @fg0; }
|
||||
element normal.urgent { background-color: transparent; text-color: @red; }
|
||||
element normal.active { background-color: transparent; text-color: @green; }
|
||||
|
||||
/* selected row */
|
||||
element selected.normal { background-color: @bg2; text-color: @orange; }
|
||||
element selected.urgent { background-color: @bg2; text-color: @red; }
|
||||
element selected.active { background-color: @bg2; text-color: @teal; }
|
||||
|
||||
/* alternate rows */
|
||||
element alternate.normal { background-color: @bg1; text-color: @fg0; }
|
||||
element alternate.urgent { background-color: @bg1; text-color: @red; }
|
||||
element alternate.active { background-color: @bg1; text-color: @green; }
|
||||
|
||||
/* ── Message / error bar ───────────────────────────── */
|
||||
message {
|
||||
background-color: @bg1;
|
||||
border: 1px 0px 0px 0px;
|
||||
border-color: @bg2;
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
background-color: transparent;
|
||||
text-color: @yellow;
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user