Compare commits
6 commits
5ae95471a4
...
9ddd144474
Author | SHA1 | Date | |
---|---|---|---|
9ddd144474 | |||
dde4e08c8d | |||
3ce3243346 | |||
6c39f6b5e2 | |||
e258e2c487 | |||
397801e32e |
9 changed files with 943 additions and 0 deletions
17
.config/fish/config.fish
Normal file
17
.config/fish/config.fish
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
|
|
||||||
|
# set greeting to text
|
||||||
|
set -g fish_greeting 'Hey, sup?'
|
||||||
|
# function fish_greeting
|
||||||
|
# cowfortune
|
||||||
|
# end
|
||||||
|
|
||||||
|
# start starship prompt
|
||||||
|
starship init fish | source
|
||||||
|
|
||||||
|
# import bash_aliases
|
||||||
|
source ~/.bash_aliases
|
||||||
|
|
||||||
|
set -gx EDITOR nvim
|
212
.config/foot/foot.ini
Normal file
212
.config/foot/foot.ini
Normal file
|
@ -0,0 +1,212 @@
|
||||||
|
# -*- conf -*-
|
||||||
|
|
||||||
|
shell=/usr/bin/fish
|
||||||
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
|
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
|
term=xterm-256color
|
||||||
|
# login-shell=no
|
||||||
|
|
||||||
|
# app-id=foot
|
||||||
|
# title=foot
|
||||||
|
# locked-title=no
|
||||||
|
|
||||||
|
font=Hack:size=12,FiraCode Nerd Font Mono:size=16
|
||||||
|
|
||||||
|
# font=monospace:size=8
|
||||||
|
# font-bold=<bold variant of regular font>
|
||||||
|
# font-italic=<italic variant of regular font>
|
||||||
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
# line-height=<font metrics>
|
||||||
|
# letter-spacing=0
|
||||||
|
# horizontal-letter-offset=0
|
||||||
|
# vertical-letter-offset=0
|
||||||
|
# underline-offset=<font metrics>
|
||||||
|
# box-drawings-uses-font-glyphs=no
|
||||||
|
# dpi-aware=auto
|
||||||
|
dpi-aware=no
|
||||||
|
|
||||||
|
# initial-window-size-pixels=700x500 # Or,
|
||||||
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
|
# initial-window-mode=windowed
|
||||||
|
# pad=2x2 # optionally append 'center'
|
||||||
|
# resize-delay-ms=100
|
||||||
|
|
||||||
|
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
|
||||||
|
|
||||||
|
bold-text-in-bright=yes
|
||||||
|
# word-delimiters=,│`|:"'()[]{}<>
|
||||||
|
# selection-target=primary
|
||||||
|
# workers=<number of logical CPUs>
|
||||||
|
|
||||||
|
[main]
|
||||||
|
include=~/.config/foot/themes/spacedust
|
||||||
|
|
||||||
|
[environment]
|
||||||
|
# name=value
|
||||||
|
|
||||||
|
[bell]
|
||||||
|
# urgent=no
|
||||||
|
# notify=no
|
||||||
|
# command=
|
||||||
|
# command-focused=no
|
||||||
|
|
||||||
|
[scrollback]
|
||||||
|
# lines=1000
|
||||||
|
# multiplier=3.0
|
||||||
|
# indicator-position=relative
|
||||||
|
# indicator-format=
|
||||||
|
|
||||||
|
[url]
|
||||||
|
# launch=xdg-open ${url}
|
||||||
|
# label-letters=sadfjklewcmpgh
|
||||||
|
# osc8-underline=url-mode
|
||||||
|
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||||
|
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
# style=block
|
||||||
|
# color=<inverse foreground/background>
|
||||||
|
# blink=no
|
||||||
|
# beam-thickness=1.5
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
# hide-when-typing=no
|
||||||
|
# alternate-scroll-mode=yes
|
||||||
|
|
||||||
|
# Tokyonight Theme
|
||||||
|
|
||||||
|
# [colors]
|
||||||
|
# alpha=0.85
|
||||||
|
# foreground=c0caf5
|
||||||
|
# background=1a1b26
|
||||||
|
# selection-foreground=c0caf5
|
||||||
|
# selection-background=283457
|
||||||
|
# urls=73daca
|
||||||
|
#
|
||||||
|
# regular0=15161e
|
||||||
|
# regular1=f7768e
|
||||||
|
# regular2=9ece6a
|
||||||
|
# regular3=e0af68
|
||||||
|
# regular4=7aa2f7
|
||||||
|
# regular5=bb9af7
|
||||||
|
# regular6=7dcfff
|
||||||
|
# regular7=a9b1d6
|
||||||
|
#
|
||||||
|
# bright0=414868
|
||||||
|
# bright1=f7768e
|
||||||
|
# bright2=9ece6a
|
||||||
|
# bright3=e0af68
|
||||||
|
# bright4=7aa2f7
|
||||||
|
# bright5=bb9af7
|
||||||
|
# bright6=7dcfff
|
||||||
|
# bright7=c0caf5
|
||||||
|
#
|
||||||
|
# 16=ff9e64
|
||||||
|
# 17=db4b4b
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
alpha=0.85
|
||||||
|
|
||||||
|
## dimmed colors (see foot.ini(5) man page)
|
||||||
|
# dim0=<not set>
|
||||||
|
# ...
|
||||||
|
# dim7=<not-set>
|
||||||
|
|
||||||
|
## The remaining 256-color palette
|
||||||
|
# 16 = <256-color palette #16>
|
||||||
|
# ...
|
||||||
|
# 255 = <256-color palette #255>
|
||||||
|
|
||||||
|
## Misc colors
|
||||||
|
# selection-foreground=<inverse foreground/background>
|
||||||
|
# selection-background=<inverse foreground/background>
|
||||||
|
# jump-labels=<regular0> <regular3> # black-on-yellow
|
||||||
|
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
|
||||||
|
# search-box-no-match=<regular0> <regular1> # black-on-red
|
||||||
|
# search-box-match=<regular0> <regular3> # black-on-yellow
|
||||||
|
# urls=<regular3>
|
||||||
|
|
||||||
|
[csd]
|
||||||
|
# preferred=server
|
||||||
|
# size=26
|
||||||
|
# font=<primary font>
|
||||||
|
# color=<foreground color>
|
||||||
|
# hide-when-typing=no
|
||||||
|
# border-width=0
|
||||||
|
# border-color=<csd.color>
|
||||||
|
# button-width=26
|
||||||
|
# button-color=<background color>
|
||||||
|
# button-minimize-color=<regular4>
|
||||||
|
# button-maximize-color=<regular2>
|
||||||
|
# button-close-color=<regular1>
|
||||||
|
|
||||||
|
[key-bindings]
|
||||||
|
# scrollback-up-page=Shift+Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# clipboard-copy=Control+Shift+c XF86Copy
|
||||||
|
# clipboard-paste=Control+Shift+v XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# search-start=Control+Shift+r
|
||||||
|
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||||
|
# font-decrease=Control+minus Control+KP_Subtract
|
||||||
|
# font-reset=Control+0 Control+KP_0
|
||||||
|
# spawn-terminal=Control+Shift+n
|
||||||
|
# minimize=none
|
||||||
|
# maximize=none
|
||||||
|
# fullscreen=none
|
||||||
|
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-selected=[xargs -r firefox] none
|
||||||
|
# show-urls-launch=Control+Shift+u
|
||||||
|
# show-urls-copy=none
|
||||||
|
# show-urls-persistent=none
|
||||||
|
# prompt-prev=Control+Shift+z
|
||||||
|
# prompt-next=Control+Shift+x
|
||||||
|
# unicode-input=none
|
||||||
|
# noop=none
|
||||||
|
|
||||||
|
[search-bindings]
|
||||||
|
# cancel=Control+g Control+c Escape
|
||||||
|
# commit=Return
|
||||||
|
# find-prev=Control+r
|
||||||
|
# find-next=Control+s
|
||||||
|
# cursor-left=Left Control+b
|
||||||
|
# cursor-left-word=Control+Left Mod1+b
|
||||||
|
# cursor-right=Right Control+f
|
||||||
|
# cursor-right-word=Control+Right Mod1+f
|
||||||
|
# cursor-home=Home Control+a
|
||||||
|
# cursor-end=End Control+e
|
||||||
|
# delete-prev=BackSpace
|
||||||
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||||
|
# delete-next=Delete
|
||||||
|
# delete-next-word=Mod1+d Control+Delete
|
||||||
|
# extend-to-word-boundary=Control+w
|
||||||
|
# extend-to-next-whitespace=Control+Shift+w
|
||||||
|
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# unicode-input=none
|
||||||
|
|
||||||
|
[url-bindings]
|
||||||
|
# cancel=Control+g Control+c Control+d Escape
|
||||||
|
# toggle-url-visible=t
|
||||||
|
|
||||||
|
[text-bindings]
|
||||||
|
# \x03=Mod4+c # Map Super+c -> Ctrl+c
|
||||||
|
|
||||||
|
[mouse-bindings]
|
||||||
|
# selection-override-modifiers=Shift
|
||||||
|
# primary-paste=BTN_MIDDLE
|
||||||
|
# select-begin=BTN_LEFT
|
||||||
|
# select-begin-block=Control+BTN_LEFT
|
||||||
|
# select-extend=BTN_RIGHT
|
||||||
|
# select-extend-character-wise=Control+BTN_RIGHT
|
||||||
|
# select-word=BTN_LEFT-2
|
||||||
|
# select-word-whitespace=Control+BTN_LEFT-2
|
||||||
|
# select-row=BTN_LEFT-3
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
28
.config/foot/themes/spacedust
Normal file
28
.config/foot/themes/spacedust
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# -*- conf -*-
|
||||||
|
# Spacedust
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
foreground=ecf0c1
|
||||||
|
background=041e23
|
||||||
|
|
||||||
|
# Normal/regular colors (color palette 0-7)
|
||||||
|
regular0=6e5346 # black
|
||||||
|
regular1=e35b00 # red
|
||||||
|
regular2=5cab96 # green
|
||||||
|
regular3=e3cd7b # yellow
|
||||||
|
regular4=0f548b # blue
|
||||||
|
regular5=e35b00 # magenta
|
||||||
|
regular6=06afc7 # cyan
|
||||||
|
regular7=f0f1ce # white
|
||||||
|
|
||||||
|
# Bright colors (color palette 8-15)
|
||||||
|
bright0=684c31 # bright black
|
||||||
|
bright1=ff8a3a # bright red
|
||||||
|
bright2=aecab8 # bright green
|
||||||
|
bright3=ffc878 # bright yellow
|
||||||
|
bright4=67a0ce # bright blue
|
||||||
|
bright5=ff8a3a # bright magenta
|
||||||
|
bright6=83a7b4 # bright cyan
|
||||||
|
bright7=fefff1 # bright white
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
86
.config/rofi/config.rasi
Normal file
86
.config/rofi/config.rasi
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
configuration {
|
||||||
|
font: "Hack 16";
|
||||||
|
display-drun: " ";
|
||||||
|
drun-display-format: "{icon} {name}";
|
||||||
|
modi: "run";
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Papirus";
|
||||||
|
}
|
||||||
|
|
||||||
|
@theme "/dev/null"
|
||||||
|
|
||||||
|
* {
|
||||||
|
bg: #1e1e2e99;
|
||||||
|
bg-alt: #585b7099;
|
||||||
|
bg-selected: #31324499;
|
||||||
|
|
||||||
|
fg: #cdd6f4;
|
||||||
|
fg-alt: #7f849c;
|
||||||
|
|
||||||
|
border: 0;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
width: 30%;
|
||||||
|
background-color: @bg;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 8 12;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @fg-alt;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
text-color: @fg;
|
||||||
|
background-color: @bg-selected;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element-icon {
|
||||||
|
size: 30;
|
||||||
|
padding: 0 10 0 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
padding: 12;
|
||||||
|
background-color: @bg-alt;
|
||||||
|
text-color: @fg;
|
||||||
|
font: "Hack 28";
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
children: [prompt, entry];
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
background-color: @bg;
|
||||||
|
columns: 1;
|
||||||
|
lines: 10;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
children: [inputbar, listview];
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 12 0 0 12;
|
||||||
|
background-color: @bg-alt;
|
||||||
|
text-color: @fg;
|
||||||
|
font: "Hack 30";
|
||||||
|
}
|
||||||
|
|
||||||
|
/* vim: ft=sass
|
265
.config/sway/config
Normal file
265
.config/sway/config
Normal file
|
@ -0,0 +1,265 @@
|
||||||
|
# Default config for sway
|
||||||
|
#
|
||||||
|
# Copy this to ~/.config/sway/config and edit it to your liking.
|
||||||
|
#
|
||||||
|
# Read `man 5 sway` for a complete reference.
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
#
|
||||||
|
# Logo key. Use Mod1 for Alt.
|
||||||
|
set $mod Mod4
|
||||||
|
# Home row direction keys, like vim
|
||||||
|
set $left h
|
||||||
|
set $down j
|
||||||
|
set $up k
|
||||||
|
set $right l
|
||||||
|
# Your preferred terminal emulator
|
||||||
|
set $term foot
|
||||||
|
# Your preferred application launcher
|
||||||
|
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
||||||
|
# on the original workspace that the command was run on.
|
||||||
|
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||||
|
set $menu rofi -show drun
|
||||||
|
|
||||||
|
# start notification deamon
|
||||||
|
exec mako
|
||||||
|
|
||||||
|
### Output configuration
|
||||||
|
#
|
||||||
|
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||||
|
# output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||||
|
# output * bg ~/Wallpapers/orangeMountains.png fill
|
||||||
|
# output * bg #c0caf5 solid_color
|
||||||
|
output * bg ~/Wallpapers/chillGruvboxStreet.png fill
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||||
|
#
|
||||||
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||||
|
|
||||||
|
output eDP-1 resolution 1920x1080 position 0,0
|
||||||
|
|
||||||
|
### Idle configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# exec swayidle -w \
|
||||||
|
# timeout 300 'swaylock -f -c 000000' \
|
||||||
|
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
|
# before-sleep 'swaylock -f -c 000000'
|
||||||
|
#
|
||||||
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||||
|
|
||||||
|
set $lock 'swaylock -e -F -i ~/Wallpapers/chillGruvboxStreet.png'
|
||||||
|
exec swayidle -w \
|
||||||
|
timeout 300 $lock \
|
||||||
|
timeout 310 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
|
before-sleep $lock
|
||||||
|
|
||||||
|
set $lockman 'exec bash ~/.config/sway/lockman.sh'
|
||||||
|
bindsym $mod+l exec $lockman
|
||||||
|
|
||||||
|
### Input configuration
|
||||||
|
#
|
||||||
|
# Example configuration:
|
||||||
|
#
|
||||||
|
# input "2:14:SynPS/2_Synaptics_TouchPad" {
|
||||||
|
# dwt enabled
|
||||||
|
# tap enabled
|
||||||
|
# natural_scroll enabled
|
||||||
|
# middle_emulation enabled
|
||||||
|
# }
|
||||||
|
#
|
||||||
|
# You can get the names of your inputs by running: swaymsg -t get_inputs
|
||||||
|
# Read `man 5 sway-input` for more information about this section.
|
||||||
|
|
||||||
|
input "10248:257:FTCS1000:00_2808:0101_Touchpad" {
|
||||||
|
dwt enabled
|
||||||
|
tap enabled
|
||||||
|
natural_scroll enabled
|
||||||
|
middle_emulation enabled
|
||||||
|
}
|
||||||
|
|
||||||
|
### Key bindings
|
||||||
|
#
|
||||||
|
# Basics:
|
||||||
|
#
|
||||||
|
# Start a terminal
|
||||||
|
bindsym $mod+Return exec $term
|
||||||
|
|
||||||
|
# Kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# Start your launcher
|
||||||
|
bindsym $mod+d exec $menu
|
||||||
|
|
||||||
|
# Drag floating windows by holding down $mod and left mouse button.
|
||||||
|
# Resize them with right mouse button + $mod.
|
||||||
|
# Despite the name, also works for non-floating windows.
|
||||||
|
# Change normal to inverse to use left mouse button for resizing and right
|
||||||
|
# mouse button for dragging.
|
||||||
|
floating_modifier $mod normal
|
||||||
|
|
||||||
|
# Reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# Exit sway (logs you out of your Wayland session)
|
||||||
|
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||||
|
|
||||||
|
# custom key bindings
|
||||||
|
#
|
||||||
|
# Moving around:
|
||||||
|
#
|
||||||
|
# Move your focus around
|
||||||
|
# bindsym $mod+$left focus left
|
||||||
|
# bindsym $mod+$down focus down
|
||||||
|
# bindsym $mod+$up focus up
|
||||||
|
# bindsym $mod+$right focus right
|
||||||
|
# Or use $mod+[up|down|left|right]
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# Move the focused window with the same, but add Shift
|
||||||
|
bindsym $mod+Shift+$left move left
|
||||||
|
bindsym $mod+Shift+$down move down
|
||||||
|
bindsym $mod+Shift+$up move up
|
||||||
|
bindsym $mod+Shift+$right move right
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
#r
|
||||||
|
# Workspaces:
|
||||||
|
#
|
||||||
|
# Switch to workspace
|
||||||
|
bindsym $mod+1 workspace number 1
|
||||||
|
bindsym $mod+2 workspace number 2
|
||||||
|
bindsym $mod+3 workspace number 3
|
||||||
|
bindsym $mod+4 workspace number 4
|
||||||
|
bindsym $mod+5 workspace number 5
|
||||||
|
bindsym $mod+6 workspace number 6
|
||||||
|
bindsym $mod+7 workspace number 7
|
||||||
|
bindsym $mod+8 workspace number 8
|
||||||
|
bindsym $mod+9 workspace number 9
|
||||||
|
bindsym $mod+0 workspace number 10
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number 1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number 2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number 3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number 4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace number 5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace number 6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace number 7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace number 8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace number 9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace number 10
|
||||||
|
# Note: workspaces can have any name you want, not just numbers.
|
||||||
|
# We just use 1-10 as the default.
|
||||||
|
#
|
||||||
|
# Layout stuff:
|
||||||
|
#
|
||||||
|
# You can "split" the current object of your focus with
|
||||||
|
# $mod+b or $mod+v, for horizontal and vertical splits
|
||||||
|
# respectively.
|
||||||
|
bindsym $mod+b splith
|
||||||
|
bindsym $mod+v splitv
|
||||||
|
|
||||||
|
# Switch the current container between different layout styles
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Make the current focus fullscreen
|
||||||
|
bindsym $mod+f fullscreen
|
||||||
|
|
||||||
|
# Toggle the current focus between tiling and floating mode
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# Swap focus between the tiling area and the floating area
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# Move focus to the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
#
|
||||||
|
# Scratchpad:
|
||||||
|
#
|
||||||
|
# Sway has a "scratchpad", which is a bag of holding for windows.
|
||||||
|
# You can send windows there and get them back later.
|
||||||
|
|
||||||
|
# Move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
#
|
||||||
|
# Resizing containers:
|
||||||
|
#
|
||||||
|
mode "resize" {
|
||||||
|
# left will shrink the containers width
|
||||||
|
# right will grow the containers width
|
||||||
|
# up will shrink the containers height
|
||||||
|
# down will grow the containers height
|
||||||
|
bindsym $left resize shrink width 10px
|
||||||
|
bindsym $down resize grow height 10px
|
||||||
|
bindsym $up resize shrink height 10px
|
||||||
|
bindsym $right resize grow width 10px
|
||||||
|
|
||||||
|
# Ditto, with arrow keys
|
||||||
|
bindsym Left resize shrink width 10px
|
||||||
|
bindsym Down resize grow height 10px
|
||||||
|
bindsym Up resize shrink height 10px
|
||||||
|
bindsym Right resize grow width 10px
|
||||||
|
|
||||||
|
# Return to default mode
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
#
|
||||||
|
# Custom keybinds for latop controls
|
||||||
|
#
|
||||||
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFUALT_SOURCE@ toggle
|
||||||
|
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
||||||
|
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
||||||
|
|
||||||
|
#
|
||||||
|
# Status Bar:
|
||||||
|
#
|
||||||
|
# Read `man 5 sway-bar` for more information about this section.
|
||||||
|
#bar {
|
||||||
|
# position top
|
||||||
|
#
|
||||||
|
# # When the status_command prints a new line to stdout, swaybar updates.
|
||||||
|
# # The default just shows the current date and time.
|
||||||
|
# status_command while date +'%Y-%m-%d %I:%M:%S %p'; do sleep 1; done
|
||||||
|
#
|
||||||
|
# colors {
|
||||||
|
# statusline #ffffff
|
||||||
|
# background #323232
|
||||||
|
# inactive_workspace #32323200 #32323200 #5c5c5c
|
||||||
|
# }
|
||||||
|
#}
|
||||||
|
|
||||||
|
bar {
|
||||||
|
swaybar_command waybar
|
||||||
|
}
|
||||||
|
|
||||||
|
# Gaps configuration
|
||||||
|
gaps inner 10
|
||||||
|
|
||||||
|
# Remove title bars
|
||||||
|
default_border pixel 2
|
||||||
|
|
||||||
|
include /etc/sway/config.d/*
|
||||||
|
|
6
.config/sway/lockman.sh
Normal file
6
.config/sway/lockman.sh
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
swayidle \
|
||||||
|
timeout 10 'swaymsg "output * power off"' \
|
||||||
|
resume 'swaymsg "output * power on"' &
|
||||||
|
swaylock -e -F -i ~/Wallpapers/chillGruvboxStreet.png
|
||||||
|
kill %%
|
68
.config/tmux/tmux.conf
Normal file
68
.config/tmux/tmux.conf
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
# set 256color
|
||||||
|
# set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
|
# change update interval from default of 15
|
||||||
|
set -g status-interval 1
|
||||||
|
|
||||||
|
# set escape time per nvim health check
|
||||||
|
set-option -sg escape-time 10
|
||||||
|
|
||||||
|
# set focus events per nvim health check
|
||||||
|
set-option -g focus-events on
|
||||||
|
|
||||||
|
# set term gui colors per nvim health check
|
||||||
|
set -sa terminal-overrides ",alacritty:Tc"
|
||||||
|
|
||||||
|
# start windows and panes numbering at 1 instead of the default 0
|
||||||
|
set -g base-index 1
|
||||||
|
set -g pane-base-index 1
|
||||||
|
|
||||||
|
# turn moust control on
|
||||||
|
set -g mouse on
|
||||||
|
|
||||||
|
# change command prefix from C-b to C-a
|
||||||
|
set-option -g prefix C-a
|
||||||
|
|
||||||
|
# turn off auto window name (may use more CPU)
|
||||||
|
setw -g automatic-rename off
|
||||||
|
|
||||||
|
# customized key bindings
|
||||||
|
bind r source-file ~/.tmux.conf # reload tmux conf with r
|
||||||
|
bind | split-window -h # use | for horizontal spli
|
||||||
|
bind - split-window -v # use - for vertical split
|
||||||
|
unbind '"' # unbind default horizontal split key
|
||||||
|
unbind % # unbind default vertical split key
|
||||||
|
|
||||||
|
# switch panes using alt-arrow without prefix
|
||||||
|
bind -n M-Left select-pane -L
|
||||||
|
bind -n M-Right select-pane -R
|
||||||
|
bind -n M-Up select-pane -U
|
||||||
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
|
# pane settings
|
||||||
|
set -g pane-border-style fg=red
|
||||||
|
set -g pane-active-border-style fg=yellow
|
||||||
|
# set -g pane-border-status top
|
||||||
|
# set -g pane-border-format "[ #P ]"
|
||||||
|
|
||||||
|
# status line
|
||||||
|
set -g status-position top # set bar to top
|
||||||
|
set -g status-justify centre # center window list
|
||||||
|
set -g window-status-current-style 'bold' # set current window name to bold
|
||||||
|
set -g status-bg color7 # set bar default background color
|
||||||
|
set -g status-fg color234 # set bar default foreground color
|
||||||
|
# define left status content
|
||||||
|
# sets color to green, skull icon, session in brackets, change color back to defaultr
|
||||||
|
set -g status-left " 💀 [ #S ] "
|
||||||
|
set -g status-right " 📆 %a %d 🕓%l:%M:%S %P "
|
||||||
|
|
||||||
|
# Set vi keys
|
||||||
|
set -g mode-keys vi
|
||||||
|
set -g status-keys vi
|
||||||
|
|
||||||
|
# list of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
|
|
||||||
|
# initialize TMUX plugin manager (keep this line at the bottom)
|
||||||
|
run '~/.tmux/plugins/tpm/tpm'
|
136
.config/waybar/config
Normal file
136
.config/waybar/config
Normal file
|
@ -0,0 +1,136 @@
|
||||||
|
{
|
||||||
|
"layer": "top",
|
||||||
|
"modules-left": ["sway/workspaces","sway/scratchpad","sway/window"],
|
||||||
|
"modules-center": ["clock"],
|
||||||
|
"modules-right": ["backlight","pulseaudio","network","idle_inhibitor","battery"],
|
||||||
|
"spacing": 0,
|
||||||
|
|
||||||
|
"clock":
|
||||||
|
{
|
||||||
|
"interval": 60,
|
||||||
|
"tooltip": true,
|
||||||
|
"format": "{:%a %b %d %I:%M %p}",
|
||||||
|
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||||
|
"calendar":
|
||||||
|
{
|
||||||
|
"mode" : "year",
|
||||||
|
"mode-mon-col" : 3,
|
||||||
|
"weeks-pos" : "right",
|
||||||
|
"on-scroll" : 1,
|
||||||
|
"on-click-right" : "mode",
|
||||||
|
"format" :
|
||||||
|
{
|
||||||
|
"months" : "<span color='#FFEAD3'><b>{}</b></span>",
|
||||||
|
"days" : "<span color='#ECC6D9'><b>{}</b></span>",
|
||||||
|
"weeks" : "<span color='#99FFDD'><b>W{}</b></span>",
|
||||||
|
"weekdays" : "<span color='#FFCC66'><b>{}</b></span>",
|
||||||
|
"today" : "<span color='#FF6699'><b><u>{}</u></b></span>"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"actions":
|
||||||
|
{
|
||||||
|
"on-click-right" : "mode",
|
||||||
|
"on-click-forward" : "tz_up",
|
||||||
|
"on-click-backward" : "tz_down",
|
||||||
|
"on-scroll-up" : "shift_up",
|
||||||
|
"on-scroll-down" : "shift_down"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/bg":
|
||||||
|
{
|
||||||
|
"format": "",
|
||||||
|
"exec": "~/Scripts/background-changer.sh",
|
||||||
|
"interval": 3600,
|
||||||
|
"on-click": "exec",
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "Click to Randomize Wallpaper"
|
||||||
|
},
|
||||||
|
|
||||||
|
"custom/pacman":
|
||||||
|
{
|
||||||
|
"format": "{} ",
|
||||||
|
"interval": 3600,
|
||||||
|
"exec": "checkupdates | wc -l",
|
||||||
|
"exec-if": "exit 0"
|
||||||
|
},
|
||||||
|
|
||||||
|
"battery":
|
||||||
|
{
|
||||||
|
"interval": 60,
|
||||||
|
"states":
|
||||||
|
{
|
||||||
|
"warning": 30,
|
||||||
|
"critical": 15
|
||||||
|
},
|
||||||
|
"format": "{capacity}% {icon}",
|
||||||
|
"format-icons": ["", "", "", "", ""]
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/workspaces":
|
||||||
|
{
|
||||||
|
"disable-scroll": false,
|
||||||
|
"all-outputs": true,
|
||||||
|
"format": "{name}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/window":
|
||||||
|
{
|
||||||
|
"format": "{}",
|
||||||
|
"max-length": 50,
|
||||||
|
"icon": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"sway/scratchpad":
|
||||||
|
{
|
||||||
|
"format": "{icon} {count}",
|
||||||
|
"show-empty": true,
|
||||||
|
"format-icons": ["",""],
|
||||||
|
"tooltip": true,
|
||||||
|
"tooltip-format": "{app}: {title}"
|
||||||
|
},
|
||||||
|
|
||||||
|
"idle_inhibitor":
|
||||||
|
{
|
||||||
|
"format": "{icon}",
|
||||||
|
"format-icons":
|
||||||
|
{
|
||||||
|
"activated": "",
|
||||||
|
"deactivated": ""
|
||||||
|
},
|
||||||
|
"timeout": 30.5
|
||||||
|
},
|
||||||
|
|
||||||
|
"network":
|
||||||
|
{
|
||||||
|
"format": "{ifname}",
|
||||||
|
"format-wifi": "{signalStrength}% ",
|
||||||
|
"format-ethernet": "{ifname} ",
|
||||||
|
"format-disconnected": ""
|
||||||
|
},
|
||||||
|
|
||||||
|
"pulseaudio":
|
||||||
|
{
|
||||||
|
"format": "{volume}% {icon}",
|
||||||
|
"format-bluetooth": "{volume}% {icon} ",
|
||||||
|
"format-muted": "",
|
||||||
|
"format-icons":
|
||||||
|
{
|
||||||
|
"default": ["", ""]
|
||||||
|
},
|
||||||
|
"scroll-step": 1
|
||||||
|
},
|
||||||
|
|
||||||
|
"backlight":
|
||||||
|
{
|
||||||
|
"format": "{percent}% {icon}",
|
||||||
|
"format-icons": ["","",""],
|
||||||
|
"on-scroll-up": "brightnessctl set 1+",
|
||||||
|
"on-scroll-down": "brightnessctl set 1-",
|
||||||
|
"scroll-step": 0.5
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
# vi: ft=json
|
125
.config/waybar/style.css
Normal file
125
.config/waybar/style.css
Normal file
|
@ -0,0 +1,125 @@
|
||||||
|
/*
|
||||||
|
use gtk theme variables to define color variables
|
||||||
|
ex. `@define-color variable_name color_code;`
|
||||||
|
use as `@variable_name`
|
||||||
|
shade, mix, and alpha modifiers are available
|
||||||
|
*/
|
||||||
|
|
||||||
|
@define-color primary_bg_color #041e23;
|
||||||
|
@define-color primary_fg_color #ecf0c1;
|
||||||
|
@define-color accent_color_1 #06afc7; /* used for tooltip border and active states */
|
||||||
|
@define-color accent_color_2 #5cab96; /* used for battery charging background */
|
||||||
|
@define-color accent_color_3 #e3cd7b; /* used for battery low background */
|
||||||
|
@define-color accent_color_4 #684c31; /* used for batter low foreground */
|
||||||
|
|
||||||
|
* {
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
font-family: Roboto, "Symbols NFM";
|
||||||
|
font-size: 14px;
|
||||||
|
min-height: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: @primary_bg_color;
|
||||||
|
color: @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window {
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip
|
||||||
|
{
|
||||||
|
background: rgba(4, 30, 35, 0.85);
|
||||||
|
border: 2px solid @accent_color_1;
|
||||||
|
border-radius: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
tooltip label
|
||||||
|
{
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button
|
||||||
|
{
|
||||||
|
padding: 0 5px;
|
||||||
|
background: transparent;
|
||||||
|
color: @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.focused
|
||||||
|
{
|
||||||
|
border-bottom: 3px solid @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-bg
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
border-right: 1px solid @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#custom-pacman
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
border-right: 1px solid @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#scratchpad
|
||||||
|
{
|
||||||
|
color: @primary_bg_color;
|
||||||
|
background-color: @primary_fg_color;
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mode, #clock, #battery
|
||||||
|
{
|
||||||
|
padding: 0px 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#pulseaudio
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
border-right: 1px solid @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery
|
||||||
|
{
|
||||||
|
background-color: @primary_fg_color;
|
||||||
|
color: @primary_bg_color;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging
|
||||||
|
{
|
||||||
|
background-color: @accent_color_2;
|
||||||
|
color: @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.warning:not(.charging)
|
||||||
|
{
|
||||||
|
background-color: @accent_color_3;
|
||||||
|
color: @accent_color_4;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#network
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
border-right: 1px solid @primary_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated
|
||||||
|
{
|
||||||
|
color: @accent_color_1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#backlight
|
||||||
|
{
|
||||||
|
padding: 0 10px;
|
||||||
|
border-right: 1px solid @primary_fg_color;
|
||||||
|
}
|
Loading…
Reference in a new issue