mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
meta: Remove unused packages
- code: No plans to use anything that isn't neovim. - picom: Don't need anymore thanks to Hyprland. - polybar: X11-only. yambar/waybar work as alternatives. - tint2: X11-only. Functionality can be replicated with waybar. - xinit: No need when using Wayland.
This commit is contained in:
parent
5e5f64dc80
commit
a8f7f8702e
@ -1,33 +0,0 @@
|
|||||||
// New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
// Copyright (C) 2018 Donovan Glover
|
|
||||||
{
|
|
||||||
// Look and feel
|
|
||||||
"workbench.colorTheme": "Community Material Theme Ocean",
|
|
||||||
|
|
||||||
// Always start with the previous workspace
|
|
||||||
"workbench.startupEditor": "newUntitledFile",
|
|
||||||
|
|
||||||
// Confirmations
|
|
||||||
"explorer.confirmDelete": false,
|
|
||||||
"explorer.confirmDragAndDrop": false,
|
|
||||||
|
|
||||||
// Toggle the menu bar with alt
|
|
||||||
"window.menuBarVisibility": "toggle",
|
|
||||||
|
|
||||||
// Disable the enabled-by-default telemetry
|
|
||||||
"telemetry.enableTelemetry": false,
|
|
||||||
"telemetry.enableCrashReporter": false,
|
|
||||||
|
|
||||||
// Prefer yarn over npm
|
|
||||||
"eslint.packageManager": "yarn",
|
|
||||||
|
|
||||||
// neovim inside vscode
|
|
||||||
"vscode-neovim.neovimExecutablePaths.linux": "/usr/bin/nvim",
|
|
||||||
|
|
||||||
// Icon theme
|
|
||||||
"workbench.iconTheme": "eq-material-theme-icons",
|
|
||||||
|
|
||||||
// Font family
|
|
||||||
"editor.fontFamily": "'Hack Nerd Font', 'Droid Sans Mono', 'monospace', monospace"
|
|
||||||
}
|
|
||||||
// vim:syn=javascript
|
|
@ -1,27 +0,0 @@
|
|||||||
# Code
|
|
||||||
|
|
||||||
> NOTE: As of 2021, I have no interest in the (vs)code text editor. Although the out-of-the-box features are nice and all, trying to emulate vim-like functionality was more pain than it was worth (even after using [vscode-neovim][vscode-neovim]). Additionally, the battery drain is unreal compared to running an equivalent [neovim](/neovim) experience.
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
> If you want (vs)code to honor [pywal](/wal) color schemes, use [vscode-wal][vscode-wal].
|
|
||||||
|
|
||||||
[Code][code] is an open source build of [a popular][vscode] GUI text editor.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
Code can be used to:
|
|
||||||
|
|
||||||
- Navigate graphical file trees entirely with the mouse
|
|
||||||
- Provide an editor for non-vim users as needed
|
|
||||||
- Perform a myriad of common command line operations through a point-click GUI
|
|
||||||
|
|
||||||
You should not use Code if:
|
|
||||||
|
|
||||||
- You want to learn how compilers, git, find, grep, and other software work
|
|
||||||
- You want to learn [vim](/vim), the standard text editor
|
|
||||||
|
|
||||||
[code]: https://www.archlinux.org/packages/community/x86_64/code/
|
|
||||||
[vscode]: https://github.com/Microsoft/vscode
|
|
||||||
[vscode-neovim]: https://github.com/asvetliakov/vscode-neovim
|
|
||||||
[vscode-wal]: https://github.com/bluedrack/vscode-wal
|
|
@ -1,73 +0,0 @@
|
|||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2017-2018 Donovan Glover
|
|
||||||
|
|
||||||
# Fix screen tearing
|
|
||||||
backend = "glx"
|
|
||||||
vsync = true
|
|
||||||
|
|
||||||
# Enable shadows (very important, as this makes everything look really nice)
|
|
||||||
shadow = true
|
|
||||||
|
|
||||||
# Disable shadow on docks like polybar
|
|
||||||
no-dock-shadow = true
|
|
||||||
|
|
||||||
# Disable shadow on hacksaw
|
|
||||||
shadow-exclude = [
|
|
||||||
"name = 'hacksaw'"
|
|
||||||
]
|
|
||||||
|
|
||||||
# Make some applications translucent.
|
|
||||||
# An easy way to get the class name of a window is with the following:
|
|
||||||
# sleep 5; xdotool getwindowclassname (xdotool getactivewindow)
|
|
||||||
opacity-rule = [
|
|
||||||
"99:role = 'GtkFileChooserDialog'",
|
|
||||||
"90:class_g = 'Polybar'",
|
|
||||||
"50:class_g = 'dzen'",
|
|
||||||
"90:class_g = 'Tint2'",
|
|
||||||
"90:class_g = 'Thunar'",
|
|
||||||
"90:class_g = 'Logseq'",
|
|
||||||
"90:class_g = 'code-oss'",
|
|
||||||
"99:class_g = 'Org.gnome.Nautilus'"
|
|
||||||
]
|
|
||||||
|
|
||||||
# Don't fade in polybar when showing it
|
|
||||||
fade-exclude = [
|
|
||||||
"class_g = 'Polybar'"
|
|
||||||
]
|
|
||||||
|
|
||||||
# Disable shadow for drag-and-drop functionality
|
|
||||||
wintypes: {
|
|
||||||
dnd = {
|
|
||||||
shadow = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Fade windows when you open and close them, as well as change workspaces
|
|
||||||
fading = true
|
|
||||||
|
|
||||||
# Shadow settings
|
|
||||||
shadow-radius = 8
|
|
||||||
shadow-opacity = 0.25
|
|
||||||
|
|
||||||
# Shadow offset (-10 for HiDPI, -5 otherwise)
|
|
||||||
shadow-offset-x = -5
|
|
||||||
shadow-offset-y = -5
|
|
||||||
|
|
||||||
# Fade settings
|
|
||||||
fade-in-step = 0.08
|
|
||||||
fade-out-step = 0.09
|
|
||||||
fade-delta = 10
|
|
||||||
|
|
||||||
# Add transparency to bspwm borders
|
|
||||||
#frame-opacity = 0.5
|
|
||||||
|
|
||||||
# Fix flickering issue by drawing whole screen every time
|
|
||||||
# See: https://github.com/yshui/picom/issues/578
|
|
||||||
use-damage = false
|
|
||||||
|
|
||||||
blur: {
|
|
||||||
method = "dual_kawase";
|
|
||||||
strength = 7;
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:ft=dosini
|
|
@ -1,18 +0,0 @@
|
|||||||
# picom
|
|
||||||
|
|
||||||
[picom][picom] is a desktop compositor for X11.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
picom can be used to:
|
|
||||||
|
|
||||||
- Reduce screen tear in certain environments
|
|
||||||
- Add elementary animations such as fading to your desktop
|
|
||||||
- Add shadows to your desktop
|
|
||||||
|
|
||||||
You should not use picom if:
|
|
||||||
|
|
||||||
- Your window manager or desktop environment already has a compositor
|
|
||||||
- You are not using X11
|
|
||||||
|
|
||||||
[picom]: https://github.com/yshui/picom
|
|
@ -1,134 +0,0 @@
|
|||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2017-2022 Donovan Glover
|
|
||||||
|
|
||||||
[color]
|
|
||||||
background = ${xrdb:background}
|
|
||||||
red = ${xrdb:color1}
|
|
||||||
green = ${xrdb:color2}
|
|
||||||
yellow = ${xrdb:color3}
|
|
||||||
blue = ${xrdb:color4}
|
|
||||||
magenta = ${xrdb:color5}
|
|
||||||
cyan = ${xrdb:color6}
|
|
||||||
text = ${xrdb:color7}
|
|
||||||
background-alt = ${xrdb:color8}
|
|
||||||
|
|
||||||
[bar/main]
|
|
||||||
modules-left = bspwm
|
|
||||||
modules-center = window
|
|
||||||
modules-right = volume wifi date time battery
|
|
||||||
|
|
||||||
monitor = ${env:MONITOR:}
|
|
||||||
wm-restack = bspwm
|
|
||||||
include-file = $HOME/.cache/polybar/config
|
|
||||||
|
|
||||||
foreground = ${color.background-alt}
|
|
||||||
background = ${color.background}
|
|
||||||
border-color = ${color.text}
|
|
||||||
|
|
||||||
font-0 = "Maple Mono:style=Bold:size=9"
|
|
||||||
font-1 = "Noto Sans CJK JP:size=9"
|
|
||||||
font-2 = "Font Awesome 6 Free:style=Solid:size=9"
|
|
||||||
font-3 = "Font Awesome 6 Free:style=Regular:size=9"
|
|
||||||
font-4 = "Font Awesome 6 Brands:style=Regular:size=9"
|
|
||||||
|
|
||||||
padding-left = 1
|
|
||||||
padding-right = 2
|
|
||||||
module-margin = 1
|
|
||||||
|
|
||||||
[module/bspwm]
|
|
||||||
type = internal/bspwm
|
|
||||||
pin-workspaces = true
|
|
||||||
format = <label-state> <label-mode>
|
|
||||||
|
|
||||||
label-monocle = monocle mode
|
|
||||||
label-locked = Locked
|
|
||||||
label-private = Private
|
|
||||||
label-sticky = Sticky
|
|
||||||
|
|
||||||
label-monocle-padding = 1
|
|
||||||
label-locked-padding = 1
|
|
||||||
label-private-padding = 1
|
|
||||||
label-sticky-padding = 1
|
|
||||||
|
|
||||||
label-monocle-foreground = ${color.yellow}
|
|
||||||
|
|
||||||
label-focused-padding = 1
|
|
||||||
label-urgent-padding = 1
|
|
||||||
label-occupied-padding = 1
|
|
||||||
label-empty-padding = 1
|
|
||||||
|
|
||||||
label-focused-foreground = ${color.text}
|
|
||||||
label-urgent-foreground = ${color.yellow}
|
|
||||||
|
|
||||||
# Replicate workspace functionality of sway
|
|
||||||
label-empty =
|
|
||||||
|
|
||||||
[module/cpu]
|
|
||||||
type = internal/cpu
|
|
||||||
label = %percentage%%
|
|
||||||
|
|
||||||
[module/ram]
|
|
||||||
type = internal/memory
|
|
||||||
label = %gb_used%
|
|
||||||
|
|
||||||
[module/date]
|
|
||||||
type = internal/date
|
|
||||||
date = %d.%m.%y
|
|
||||||
#date = %B %d, %Y
|
|
||||||
#date = %A
|
|
||||||
|
|
||||||
[module/time]
|
|
||||||
type = internal/date
|
|
||||||
date = %H:%M
|
|
||||||
|
|
||||||
[module/battery]
|
|
||||||
type = internal/battery
|
|
||||||
battery = BAT0
|
|
||||||
adapter = AC
|
|
||||||
full-at = 98
|
|
||||||
time-format = %H:%M
|
|
||||||
format-charging = <animation-charging> <label-charging>
|
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
|
||||||
format-full = <label-full>
|
|
||||||
label-charging = %percentage%%
|
|
||||||
label-discharging = %percentage%%
|
|
||||||
label-full = %percentage%%
|
|
||||||
ramp-capacity-0 =
|
|
||||||
ramp-capacity-1 =
|
|
||||||
ramp-capacity-2 =
|
|
||||||
ramp-capacity-3 =
|
|
||||||
ramp-capacity-4 =
|
|
||||||
animation-charging-0 =
|
|
||||||
animation-charging-1 =
|
|
||||||
animation-charging-2 =
|
|
||||||
animation-charging-3 =
|
|
||||||
animation-charging-4 =
|
|
||||||
animation-charging-framerate = 1000
|
|
||||||
|
|
||||||
[module/mpd]
|
|
||||||
type = internal/mpd
|
|
||||||
format-offline = No song is currently playing.
|
|
||||||
label-song-maxlen = 100
|
|
||||||
label-song-ellipsis = true
|
|
||||||
format-online = <label-song>
|
|
||||||
|
|
||||||
[module/wifi]
|
|
||||||
type = internal/network
|
|
||||||
interface-type = wireless
|
|
||||||
format-connected = <label-connected>
|
|
||||||
format-disconnected = <label-disconnected>
|
|
||||||
|
|
||||||
label-connected = %upspeed% %downspeed%
|
|
||||||
label-disconnected = not connected
|
|
||||||
|
|
||||||
[module/volume]
|
|
||||||
type = internal/pulseaudio
|
|
||||||
label-volume = %percentage%%
|
|
||||||
label-muted = Off
|
|
||||||
|
|
||||||
[module/window]
|
|
||||||
type = internal/xwindow
|
|
||||||
label-maxlen = 100
|
|
||||||
label-empty = /usr/bin/bspwm
|
|
||||||
|
|
||||||
; vim:ft=dosini
|
|
@ -1,58 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2017-2018 Donovan Glover
|
|
||||||
|
|
||||||
POLYBAR_DPI=$(xrdb -query | grep Xft.dpi | cut -f 2)
|
|
||||||
POLYBAR_SCALE=$(($POLYBAR_DPI / 96))
|
|
||||||
|
|
||||||
# Terminate any previous instances of polybar
|
|
||||||
killall -q polybar
|
|
||||||
|
|
||||||
bspc_config() {
|
|
||||||
bspc config top_padding $1 &
|
|
||||||
bspc config border_width $2 &
|
|
||||||
bspc config window_gap $3 &
|
|
||||||
}
|
|
||||||
|
|
||||||
# Set defaults
|
|
||||||
POLYBAR_HEIGHT=$((30 * $POLYBAR_SCALE))
|
|
||||||
HOST_WIDTH=$(bspc query -T -m | jq '.rectangle.width')
|
|
||||||
|
|
||||||
# Make the bar float
|
|
||||||
if [ "$1" == "float" ]; then
|
|
||||||
POLYBAR_BORDER_SIZE=$((1 * $POLYBAR_SCALE)) # Later set to bspwm's border_width
|
|
||||||
POLYBAR_OFFSET_XY=$((30 * $POLYBAR_SCALE)) # Later set to bspwm's window_gap
|
|
||||||
POLYBAR_WIDTH=$(($HOST_WIDTH - $POLYBAR_OFFSET_XY * 2))
|
|
||||||
else
|
|
||||||
POLYBAR_WIDTH=$HOST_WIDTH
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Set the bspwm variables
|
|
||||||
BSPWM_TOP_PADDING=$(($POLYBAR_HEIGHT + ${POLYBAR_OFFSET_XY:-0} + ${POLYBAR_BORDER_SIZE:-0} * 2))
|
|
||||||
BSPWM_BORDER_WIDTH=${POLYBAR_BORDER_SIZE:-0}
|
|
||||||
BSPWM_WINDOW_GAP=${POLYBAR_OFFSET_XY:-0}
|
|
||||||
|
|
||||||
bspc_config $BSPWM_TOP_PADDING $BSPWM_BORDER_WIDTH $BSPWM_WINDOW_GAP
|
|
||||||
|
|
||||||
# Make the polybar config
|
|
||||||
mkdir -p $HOME/.cache/polybar
|
|
||||||
|
|
||||||
cat >$HOME/.cache/polybar/config <<EOL
|
|
||||||
width = $POLYBAR_WIDTH
|
|
||||||
height = $POLYBAR_HEIGHT
|
|
||||||
offset-x = ${POLYBAR_OFFSET_XY:-0}
|
|
||||||
offset-y = ${POLYBAR_OFFSET_XY:-0}
|
|
||||||
border-size = ${POLYBAR_BORDER_SIZE:-0}
|
|
||||||
dpi = $POLYBAR_DPI
|
|
||||||
EOL
|
|
||||||
|
|
||||||
# Save the top_padding amount for use by other scripts
|
|
||||||
echo $BSPWM_TOP_PADDING > $HOME/.cache/polybar/bspwm_top_padding
|
|
||||||
|
|
||||||
# Wait until there are no more polybar instances running
|
|
||||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
|
||||||
|
|
||||||
# Start polybar programmatically on all monitors by default
|
|
||||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
|
||||||
MONITOR=$m polybar main &
|
|
||||||
done
|
|
@ -1,17 +0,0 @@
|
|||||||
# polybar
|
|
||||||
|
|
||||||
[polybar][polybar] is an information panel for your desktop.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
polybar can be used to:
|
|
||||||
|
|
||||||
- Show the current desktop, empty desktops, and occupied desktops
|
|
||||||
- Show the date, time, volume, CPU statistics, and other information
|
|
||||||
- Show the current playing song or anything else you want
|
|
||||||
|
|
||||||
You should not use polybar if:
|
|
||||||
|
|
||||||
- You already use a desktop environment that has an information panel
|
|
||||||
|
|
||||||
[polybar]: https://github.com/jaagr/polybar
|
|
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# Fix bar showing above fullscreen programs
|
|
||||||
xdo above -t "$(xdo id -N Bspwm -n root | sort | head -n 1)" $(xdo id -n tint2)
|
|
@ -1,10 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Symlink tint2 config
|
|
||||||
ln -sf ~/.cache/wal/tint2rc ~/.config/tint2/tint2rc
|
|
||||||
|
|
||||||
# Restart tint2 with the new color scheme
|
|
||||||
killall -SIGUSR1 tint2
|
|
||||||
|
|
||||||
# Fix bar showing above fullscreen programs
|
|
||||||
~/.config/tint2/fullscreen.sh
|
|
@ -1,175 +0,0 @@
|
|||||||
#-------------------------------------
|
|
||||||
# Gradients
|
|
||||||
#-------------------------------------
|
|
||||||
# Backgrounds
|
|
||||||
# Background 1: Panel
|
|
||||||
rounded = 0
|
|
||||||
border_width = 0
|
|
||||||
border_sides = TBLR
|
|
||||||
border_content_tint_weight = 0
|
|
||||||
background_content_tint_weight = 0
|
|
||||||
background_color = {background} 90
|
|
||||||
border_color = {background} 60
|
|
||||||
background_color_hover = {background} 90
|
|
||||||
border_color_hover = {background} 60
|
|
||||||
background_color_pressed = {background} 90
|
|
||||||
border_color_pressed = {background} 60
|
|
||||||
|
|
||||||
# Background 2: Default task, Iconified task
|
|
||||||
rounded = 4
|
|
||||||
border_width = 1
|
|
||||||
border_sides = TBLR
|
|
||||||
border_content_tint_weight = 0
|
|
||||||
background_content_tint_weight = 0
|
|
||||||
background_color = #777777 20
|
|
||||||
border_color = #777777 30
|
|
||||||
background_color_hover = #aaaaaa 22
|
|
||||||
border_color_hover = #eaeaea 44
|
|
||||||
background_color_pressed = #555555 4
|
|
||||||
border_color_pressed = #eaeaea 44
|
|
||||||
|
|
||||||
# Background 3: Active task
|
|
||||||
rounded = 4
|
|
||||||
border_width = 1
|
|
||||||
border_sides = TBLR
|
|
||||||
border_content_tint_weight = 0
|
|
||||||
background_content_tint_weight = 0
|
|
||||||
background_color = #777777 20
|
|
||||||
border_color = {foreground} 40
|
|
||||||
background_color_hover = #aaaaaa 22
|
|
||||||
border_color_hover = #eaeaea 44
|
|
||||||
background_color_pressed = #555555 4
|
|
||||||
border_color_pressed = #eaeaea 44
|
|
||||||
|
|
||||||
# Background 4: Urgent task
|
|
||||||
rounded = 4
|
|
||||||
border_width = 1
|
|
||||||
border_sides = TBLR
|
|
||||||
border_content_tint_weight = 0
|
|
||||||
background_content_tint_weight = 0
|
|
||||||
background_color = #aa4400 100
|
|
||||||
border_color = #aa7733 100
|
|
||||||
background_color_hover = #cc7700 100
|
|
||||||
border_color_hover = #aa7733 100
|
|
||||||
background_color_pressed = #555555 4
|
|
||||||
border_color_pressed = #aa7733 100
|
|
||||||
|
|
||||||
# Background 5: Tooltip
|
|
||||||
rounded = 1
|
|
||||||
border_width = 1
|
|
||||||
border_sides = TBLR
|
|
||||||
border_content_tint_weight = 0
|
|
||||||
background_content_tint_weight = 0
|
|
||||||
background_color = #222222 100
|
|
||||||
border_color = #333333 100
|
|
||||||
background_color_hover = #ffffaa 100
|
|
||||||
border_color_hover = {background} 100
|
|
||||||
background_color_pressed = #ffffaa 100
|
|
||||||
border_color_pressed = {background} 100
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# Panel
|
|
||||||
panel_items = TSC
|
|
||||||
panel_size = 100% 30
|
|
||||||
panel_margin = 0 0
|
|
||||||
panel_padding = 2 0 2
|
|
||||||
font_shadow = 0
|
|
||||||
panel_background_id = 1
|
|
||||||
wm_menu = 1
|
|
||||||
panel_dock = 1
|
|
||||||
panel_pivot_struts = 0
|
|
||||||
panel_position = bottom center horizontal
|
|
||||||
panel_layer = normal
|
|
||||||
panel_monitor = all
|
|
||||||
panel_shrink = 0
|
|
||||||
autohide = 0
|
|
||||||
autohide_show_timeout = 0
|
|
||||||
autohide_hide_timeout = 0.5
|
|
||||||
autohide_height = 2
|
|
||||||
strut_policy = follow_size
|
|
||||||
panel_window_name = tint2
|
|
||||||
disable_transparency = 1
|
|
||||||
mouse_effects = 1
|
|
||||||
font_shadow = 1
|
|
||||||
mouse_hover_icon_asb = 100 0 10
|
|
||||||
mouse_pressed_icon_asb = 100 0 0
|
|
||||||
scale_relative_to_dpi = 0
|
|
||||||
scale_relative_to_screen_height = 0
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# Taskbar
|
|
||||||
taskbar_mode = multi_desktop
|
|
||||||
taskbar_hide_if_empty = 1
|
|
||||||
taskbar_padding = 0 0 2
|
|
||||||
taskbar_background_id = 0
|
|
||||||
taskbar_active_background_id = 0
|
|
||||||
taskbar_name = 1
|
|
||||||
taskbar_hide_inactive_tasks = 0
|
|
||||||
taskbar_hide_different_monitor = 0
|
|
||||||
taskbar_hide_different_desktop = 0
|
|
||||||
taskbar_always_show_all_desktop_tasks = 0
|
|
||||||
taskbar_name_padding = 4 2
|
|
||||||
taskbar_name_background_id = 0
|
|
||||||
taskbar_name_active_background_id = 0
|
|
||||||
taskbar_name_font_color = #e3e3e3 100
|
|
||||||
taskbar_name_active_font_color = {foreground} 100
|
|
||||||
taskbar_distribute_size = 1
|
|
||||||
taskbar_sort_order = none
|
|
||||||
task_align = left
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# Task
|
|
||||||
task_text = 1
|
|
||||||
task_icon = 1
|
|
||||||
task_centered = 1
|
|
||||||
urgent_nb_of_blink = 100000
|
|
||||||
task_maximum_size = 200 35
|
|
||||||
task_padding = 2 2 4
|
|
||||||
task_tooltip = 1
|
|
||||||
task_thumbnail = 0
|
|
||||||
task_thumbnail_size = 210
|
|
||||||
task_font_color = {foreground} 100
|
|
||||||
task_background_id = 2
|
|
||||||
task_active_background_id = 3
|
|
||||||
task_urgent_background_id = 4
|
|
||||||
task_iconified_background_id = 2
|
|
||||||
mouse_left = toggle
|
|
||||||
mouse_middle = none
|
|
||||||
mouse_right = none
|
|
||||||
mouse_scroll_up = none
|
|
||||||
mouse_scroll_down = none
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# System tray (notification area)
|
|
||||||
systray_padding = 0 4 2
|
|
||||||
systray_background_id = 0
|
|
||||||
systray_sort = ascending
|
|
||||||
systray_icon_size = 24
|
|
||||||
systray_icon_asb = 100 0 0
|
|
||||||
systray_monitor = 1
|
|
||||||
systray_name_filter =
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# Clock
|
|
||||||
time1_format = %H:%M
|
|
||||||
time2_format = %A %d %B
|
|
||||||
time1_timezone =
|
|
||||||
time2_timezone =
|
|
||||||
clock_font_color = {foreground} 100
|
|
||||||
clock_padding = 2 0
|
|
||||||
clock_background_id = 0
|
|
||||||
clock_tooltip =
|
|
||||||
clock_tooltip_timezone =
|
|
||||||
clock_lclick_command = bspc desktop -f next.local.occupied
|
|
||||||
clock_rclick_command = bspc desktop -f next.local.!occupied
|
|
||||||
clock_mclick_command = ~/.config/sxhkd/kitty.sh
|
|
||||||
clock_uwheel_command = bspc desktop -f next.local.occupied
|
|
||||||
clock_dwheel_command = bspc desktop -f prev.local.occupied
|
|
||||||
|
|
||||||
#-------------------------------------
|
|
||||||
# Tooltip
|
|
||||||
tooltip_show_timeout = 0.5
|
|
||||||
tooltip_hide_timeout = 0.1
|
|
||||||
tooltip_padding = 4 4
|
|
||||||
tooltip_background_id = 5
|
|
||||||
tooltip_font_color = #dddddd 100
|
|
@ -1,16 +0,0 @@
|
|||||||
# tint2
|
|
||||||
|
|
||||||
[tint2][tint2] is a simple panel/taskbar made for modern X window managers.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
tint2 can be used to:
|
|
||||||
|
|
||||||
- Have a taskbar that automatically shows individual programs on each desktop, without having to perform polybar shenanigans.
|
|
||||||
|
|
||||||
You should not use tint2 if:
|
|
||||||
|
|
||||||
- You require functionality that would be easier to implement with other bars.
|
|
||||||
- You are not using an X window manager.
|
|
||||||
|
|
||||||
[tint2]: https://gitlab.com/o9000/tint2
|
|
@ -1,18 +0,0 @@
|
|||||||
# New Start: A modern Arch workflow built with an emphasis on functionality.
|
|
||||||
# Copyright (C) 2017-2018 Donovan Glover
|
|
||||||
|
|
||||||
# Source the .Xresources file
|
|
||||||
xrdb -merge ~/.Xresources
|
|
||||||
|
|
||||||
# Source the files in the xinitrc.d directory
|
|
||||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
|
||||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
|
||||||
[ -x "$f" ] && . "$f"
|
|
||||||
done
|
|
||||||
unset f
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Start the window manager
|
|
||||||
exec bspwm
|
|
||||||
|
|
||||||
# vim:ft=sh
|
|
@ -1,15 +0,0 @@
|
|||||||
# xinit
|
|
||||||
|
|
||||||
[xinit][xinit] is used to run the X display server with `startx`.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
xinit can be used to:
|
|
||||||
|
|
||||||
- Start X from a tty
|
|
||||||
|
|
||||||
You should not use xinit if:
|
|
||||||
|
|
||||||
- You use a display manager that bypasses the tty
|
|
||||||
|
|
||||||
[xinit]: https://wiki.archlinux.org/index.php/Xinit
|
|
Loading…
x
Reference in New Issue
Block a user