summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zshrc30
-rw-r--r--BOE0CB4.icmbin0 -> 9864 bytes
-rw-r--r--alacritty/alacritty.toml34
-rw-r--r--htop/htoprc65
-rw-r--r--sway/config226
-rw-r--r--wall.jpgbin0 -> 1388165 bytes
-rw-r--r--waybar/config123
-rw-r--r--waybar/style.css80
8 files changed, 558 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
new file mode 100644
index 0000000..b46cde3
--- /dev/null
+++ b/.zshrc
@@ -0,0 +1,30 @@
+export ZSH="$HOME/.oh-my-zsh"
+ZSH_THEME="simple"
+
+zstyle ':omz:update' mode reminder # just remind me to update when it's time
+
+# Uncomment the following line if you want to disable marking untracked files
+# under VCS as dirty. This makes repository status check for large repositories
+# much, much faster.
+DISABLE_UNTRACKED_FILES_DIRTY="true"
+
+# Standard plugins can be found in $ZSH/plugins/
+# Custom plugins may be added to $ZSH_CUSTOM/plugins/
+# Example format: plugins=(rails git textmate ruby lighthouse)
+# Add wisely, as too many plugins slow down shell startup.
+plugins=(git)
+
+source $ZSH/oh-my-zsh.sh
+
+# You may need to manually set your language environment
+export LANG=en_US.UTF-8
+
+export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$HOME/.zvm/bin:$PATH
+export XDG_CONFIG_HOME=$HOME/etc
+export XDG_DATA_HOME=$HOME/usr
+export XDG_CACHE_HOME=$HOME/var
+export XDG_STATE_HOME=$HOME/usr/state
+export WLR_RENDERER=vulkan
+export VISUAL=nvim
+export EDITOR=nvim
+export MAKEFLAGS="-j12"
diff --git a/BOE0CB4.icm b/BOE0CB4.icm
new file mode 100644
index 0000000..61313a3
--- /dev/null
+++ b/BOE0CB4.icm
Binary files differ
diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml
new file mode 100644
index 0000000..1901715
--- /dev/null
+++ b/alacritty/alacritty.toml
@@ -0,0 +1,34 @@
+[font]
+normal.family = "Hack Nerd Font Mono"
+size = 10
+
+[window]
+opacity = 0.98
+
+[colors.primary]
+background = '#212121'
+foreground = '#F8F8F2'
+
+[colors.cursor]
+text = '#0E1415'
+cursor = '#ECEFF4'
+
+[colors.normal]
+black = '#21222C'
+red = '#FF5555'
+green = '#50FA7B'
+yellow = '#FFCB6B'
+blue = '#82AAFF'
+magenta = '#C792EA'
+cyan = '#8BE9FD'
+white = '#F8F9F2'
+
+[colors.bright]
+black = '#545454'
+red = '#FF6E6E'
+green = '#69FF94'
+yellow = '#FFCB6B'
+blue = '#D6ACFF'
+magenta = '#FF92DF'
+cyan = '#A4FFFF'
+white = '#F8F8F2'
diff --git a/htop/htoprc b/htop/htoprc
new file mode 100644
index 0000000..aa04b05
--- /dev/null
+++ b/htop/htoprc
@@ -0,0 +1,65 @@
+# Beware! This file is rewritten by htop when settings are changed in the interface.
+# The parser is also very primitive, and not human-friendly.
+htop_version=3.5.1-3.5.1
+config_reader_min_version=3
+fields=0 48 2 46 39 49 1
+hide_kernel_threads=1
+hide_userland_threads=1
+hide_running_in_container=0
+shadow_other_users=0
+show_thread_names=1
+show_program_path=0
+highlight_base_name=0
+highlight_deleted_exe=1
+shadow_distribution_path_prefix=0
+highlight_megabytes=1
+highlight_threads=1
+highlight_changes=0
+highlight_changes_delay_secs=5
+find_comm_in_cmdline=1
+strip_exe_from_cmdline=1
+show_merged_command=0
+header_margin=0
+screen_tabs=1
+detailed_cpu_time=0
+cpu_count_from_one=0
+show_cpu_smt_labels=1
+show_cpu_usage=1
+show_cpu_frequency=1
+show_cpu_temperature=1
+degree_fahrenheit=0
+show_cached_memory=1
+update_process_names=0
+account_guest_in_cpu_meter=0
+color_scheme=0
+enable_mouse=1
+delay=15
+hide_function_bar=0
+header_layout=two_50_50
+column_meters_0=LeftCPUs2 Memory Swap
+column_meter_modes_0=1 1 1
+column_meters_1=RightCPUs2 Tasks LoadAverage Uptime
+column_meter_modes_1=1 2 2 2
+tree_view=1
+sort_key=0
+tree_sort_key=0
+sort_direction=1
+tree_sort_direction=-1
+tree_view_always_by_pid=0
+all_branches_collapsed=0
+screen:Simple=PID USER STATE PERCENT_CPU M_RESIDENT TIME Command
+.sort_key=PID
+.tree_sort_key=PID
+.tree_view_always_by_pid=0
+.tree_view=1
+.sort_direction=1
+.tree_sort_direction=-1
+.all_branches_collapsed=0
+screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE Command
+.sort_key=IO_RATE
+.tree_sort_key=PID
+.tree_view_always_by_pid=0
+.tree_view=0
+.sort_direction=-1
+.tree_sort_direction=1
+.all_branches_collapsed=0
diff --git a/sway/config b/sway/config
new file mode 100644
index 0000000..ecde0c0
--- /dev/null
+++ b/sway/config
@@ -0,0 +1,226 @@
+# 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 alacritty
+# Your preferred application launcher
+set $menu fuzzel
+
+exec pipewire
+exec waybar
+
+### Output configuration
+#
+# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
+output * bg ~/etc/wall.jpg fill
+output * scale 2
+output eDP-1 color_profile icc ~/etc/BOE0CB4.icm
+#
+# 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
+
+### 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.
+
+### Input configuration
+#
+# Example configuration:
+#
+# input type:touchpad {
+# dwt enabled
+# tap enabled
+# natural_scroll enabled
+# middle_emulation enabled
+# }
+#
+# input type:keyboard {
+# xkb_layout "eu"
+# }
+#
+# You can also configure each device individually.
+# Read `man 5 sway-input` for more information about this section.
+
+input type:touchpad {
+ natural_scroll enabled
+ tap 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'
+#
+# 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
+#
+# 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"
+#
+# Utilities:
+#
+ # Special keys to adjust volume via PulseAudio
+ bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
+ bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
+ bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
+ bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
+ # Special keys to adjust brightness via brightnessctl
+ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
+ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
+ # Special key to take a screenshot with grim
+ bindsym Print exec screengrab.sh
+
+default_border pixel 2
+
+include /etc/sway/config.d/*
diff --git a/wall.jpg b/wall.jpg
new file mode 100644
index 0000000..706fba1
--- /dev/null
+++ b/wall.jpg
Binary files differ
diff --git a/waybar/config b/waybar/config
new file mode 100644
index 0000000..1afa014
--- /dev/null
+++ b/waybar/config
@@ -0,0 +1,123 @@
+// -*- mode: json -*-
+
+{
+ "layer": "top",
+ "position": "top",
+
+ "modules-left": [
+ "sway/workspaces",
+ "custom/right-arrow-dark"
+ ],
+ "modules-center": [
+ "custom/left-arrow-dark",
+ "clock#1",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "clock#2",
+ "custom/right-arrow-dark",
+ "custom/right-arrow-light",
+ "clock#3",
+ "custom/right-arrow-dark"
+ ],
+ "modules-right": [
+ "custom/left-arrow-dark",
+ "pulseaudio",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "network",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "memory",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "cpu",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "battery",
+ "custom/left-arrow-light",
+ "custom/left-arrow-dark",
+ "disk"
+ ],
+
+ "custom/left-arrow-dark": {
+ "format": "",
+ "tooltip": false
+ },
+ "custom/left-arrow-light": {
+ "format": "",
+ "tooltip": false
+ },
+ "custom/right-arrow-dark": {
+ "format": "",
+ "tooltip": false
+ },
+ "custom/right-arrow-light": {
+ "format": "",
+ "tooltip": false
+ },
+
+ "sway/workspaces": {
+ "disable-scroll": true,
+ "format": "{name}"
+ },
+
+ "clock#1": {
+ "format": "{:%a}",
+ "tooltip": false
+ },
+ "clock#2": {
+ "format": "{:%H:%M}",
+ "tooltip": false
+ },
+ "clock#3": {
+ "format": "{:%m-%d}",
+ "tooltip": false
+ },
+
+ "pulseaudio": {
+ "format": "{icon} {volume:2}%",
+ "format-bluetooth": "{icon} {volume}%",
+ "format-muted": "󰖁",
+ "format-icons": {
+ "headphones": "",
+ "default": [ "󰖀", "󰕾" ]
+ },
+ "scroll-step": 5,
+ "on-click": "pamixer -t",
+ "on-click-right": "pavucontrol"
+ },
+ "memory": {
+ "interval": 5,
+ "format": " {used} GiB"
+ },
+ "cpu": {
+ "interval": 5,
+ "format": " {usage}%"
+ },
+ "battery": {
+ "states": {
+ "good": 95,
+ "warning": 30,
+ "critical": 15
+ },
+ "format": "{icon} {capacity}%",
+ "format-icons": [
+ "",
+ "",
+ "",
+ "",
+ ""
+ ]
+ },
+ "disk": {
+ "interval": 5,
+ "format": " {free}",
+ "path": "/"
+ },
+ "network": {
+ "interval": 5,
+ "format-icons": ["󰤯", "󰤟", "󰤢", "󰤨"],
+ "format-wifi": "{icon} {essid}",
+ "interface": "wlp1s0"
+ }
+}
diff --git a/waybar/style.css b/waybar/style.css
new file mode 100644
index 0000000..d381dd0
--- /dev/null
+++ b/waybar/style.css
@@ -0,0 +1,80 @@
+* {
+ font-size: 12px;
+ font-family: "Hack Nerd Font Mono";
+ min-height: 0;
+}
+
+window#waybar {
+ background: #292b2e;
+ color: #fdf6e3;
+}
+
+#custom-right-arrow-dark,
+#custom-left-arrow-dark {
+ color: #1a1a1a;
+}
+#custom-right-arrow-light,
+#custom-left-arrow-light {
+ color: #292b2e;
+ background: #1a1a1a;
+}
+
+#workspaces,
+#clock.1,
+#clock.2,
+#clock.3,
+#pulseaudio,
+#memory,
+#cpu,
+#battery,
+#disk,
+#network,
+#tray {
+ background: #1a1a1a;
+}
+
+#workspaces button {
+ padding: 0 2px;
+ color: #fdf6e3;
+}
+#workspaces button.focused {
+ color: #268bd2;
+}
+#workspaces button:hover {
+ box-shadow: inherit;
+ text-shadow: inherit;
+}
+#workspaces button:hover {
+ background: #1a1a1a;
+ border: #1a1a1a;
+ padding: 0 3px;
+}
+
+#pulseaudio {
+ color: #268bd2;
+}
+#memory {
+ color: #2aa198;
+}
+#cpu {
+ color: #6c71c4;
+}
+#battery {
+ color: #859900;
+}
+#disk {
+ color: #b58900;
+}
+#network {
+ color: #fcac35;
+}
+
+#clock,
+#pulseaudio,
+#memory,
+#cpu,
+#battery,
+#network,
+#disk {
+ padding: 0 10px;
+}