Skip to content

Instantly share code, notes, and snippets.

View Dobbie03's full-sized avatar
💭
\m/ Metal

Matt Dobbie03

💭
\m/ Metal
  • New Zealand
View GitHub Profile
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
TERM: alacritty
WINIT_X11_SCALE_FACTOR: "1.0"
#
# This value is used to set the `$TERM` environment variable for
@Dobbie03
Dobbie03 / dwm_config_pulseaudio.h
Created November 8, 2022 03:40 — forked from palopezv/dwm_config_pulseaudio.h
dwm volume control with hardware multimedia keys (pulseaudio)
/**
* dwmconfig.h
* Hardware multimedia keys
*/
/* Somewhere at the beginning of config.h include: */
/*
You obviously need the X11 development packages installed, X11proto in particular, but
here is the location of the upstream copy of the keysyms header if you can't bother
using the contents of your own hard drive. ;-P
###################################################################################################################
################################################### Menu ########################################################
menu.border.color: #2E3440
menu.title.bg: flat solid
menu.title.bg.color: #2E3440
menu.title.text.color: #81A2BE
menu.title.text.justify: center
rofi.font: Pilcrow 20
rofi.color-enabled: true
! 'background', 'border', 'dividing line'
rofi.color-window: #eceff4, #3b4252, #3b4252
! 'bg', 'fg' 'bgalt' 'hlbg' 'hlfg'
rofi.color-normal: #eceff4, #3b4252, #eceff4, #3b4252, #eceff4
rofi.color-active: #3b4252, #eceff4, #3b4252, #eceff4, #3b4252
rofi.color-urgent: #3b4252, #eceff4, #3b4252, #eceff4, #3b4252
rofi.separator-style: solid
rofi.fullscreen: false
zenity --info --window-icon=/usr/share/icons/ArchLabs-Light/64x64/places/distributor-logo-archlabs.png --width=700 --height=600 --title="ArchLabs Welcome" --text="<big><b>Welcome to ArchLabs Live Session</b></big>
This 'Live' operating system allows you to test ArchLabs without making any changes to your
computer's hard drive. Among other things, it can be used to check hardware compatibility
(your network connection, monitor, keyboard, etc...), to perform system recovery or to work
anonymously on a public computer.
Keyboard shortcuts for some common applications are listed in the 'Keybinds' menu found in Obmenu.
('Super' is also called the Windows key or Meta).
#!/bin/sh
#Hugo F.
#Count how many update available using checkupdate
#echo "$(checkupdates|wc -l)+$(cower -u|wc -l)"|bc -l
COUNTARCH=$(checkupdates|wc -l)
COUNTAUR=$(cower -u|wc -l)
UPDATES=$(checkupdates | awk '{print $1;}')
# Executor 7
execp = new
execp_command = /home/dobbie/.bin/update -i
execp_interval = 300
execp_has_icon = 0
execp_cache_icon = 1
execp_continuous = 0
execp_markup = 1
execp_lclick_command = urxvt --geometry 100x30 -e sudo pacman -Syyu
execp_rclick_command =
;=====================================================
; Includes
;=====================================================
[section/base]
include-file = /home/dobbie/.config/polybar/master.conf
include-file = /home/dobbie/.config/polybar/modules.conf
;=====================================================
[module/eth]
type = internal/network
interface = enp2s0
interval = 3.0
format-connected = <label-connected>
format-connected-prefix = "  "
format-connected-prefix-foreground = ${colors.foreground}
format-disconnected = <label-disconnected>
label-connected = %{A1:networkmanager_dmenu:}%downspeed%%{A}
label-connected-foreground = ${colors.foreground}
#!/usr/bin/env bash
online=$(ip addr | grep "state UP" | cut -d ":" -f2)
#connected=""
#offline=""
connected=""
offline=""
if [[ "$online" ]]; then
echo " %{F#23EFDC}${connected} "