Browse Source

People admire complexity. - Rob Pike

galaxy
parent
commit
317cda7f7d
  1. 5
      bash/.bashrc
  2. 36
      emacs/.emacs.d/init.el
  3. 8
      gtk/.config/gtk-3.0/settings.ini
  4. 4
      gtk/.gtkrc-2.0
  5. 2
      hikari/.config/hikari/hikari.conf
  6. 180
      sway/.config/sway/config
  7. 13
      sway/.config/sway/conky

5
bash/.bashrc

@ -0,0 +1,5 @@
# I see no point in using bash myself
# If anything it's due to it being pulled as hard dependency for two things I use
source ~/.shell_aliases
source ~/.shell_functions
source ~/.shell_variables

36
emacs/.emacs.d/init.el

@ -1,23 +1,23 @@
; This setting doesn't matter when Emacs is running as a daemon
;; This setting doesn't matter when Emacs is running as a daemon
(setq gc-cons-threshold (* 50 1000 1000))
; MELPA for some reason fails to build use-package, hence use the local self-built copy straight from upstream
;; MELPA for some reason fails to build use-package, hence use the local self-built copy straight from upstream
(add-to-list 'load-path "~/.emacs.d/site-lisp/use-package")
(require 'use-package)
; We aren't on a perfect world so use this.
;; We aren't on a perfect world so use this.
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
; Highlighting for build systems
;; Highlighting for build systems
(use-package cmake-mode)
(use-package meson-mode)
(use-package ninja-mode)
; Highlighting for code
;; Highlighting for code
(use-package arduino-mode)
(use-package bison-mode)
(use-package brainfuck-mode)
@ -33,7 +33,7 @@
(use-package v-mode)
(use-package zig-mode)
; Highlighting for markup and settings
;; Highlighting for markup and settings
(use-package gemini-mode)
(use-package ini-mode)
(use-package markdown-mode)
@ -42,7 +42,7 @@
(use-package toml-mode)
(use-package yaml-mode)
; Dashboard
;; Dashboard
(use-package dashboard
:ensure t
:config
@ -61,31 +61,39 @@
:ensure t
:init (doom-modeline-mode 1))
; Can't get more evil than that
;; Can't get more evil than that
(use-package evil
:ensure t
:init (evil-mode 1))
; For whenever I'm bored or don't have networking
;; For whenever I'm bored or don't have networking
(use-package 2048-game)
(use-package sudoku)
; Outright disable this
;; Fonts and icons
(add-to-list 'default-frame-alist
'(font . "CozetteVector"))
(use-package all-the-icons)
;; Outright disable this
(menu-bar-mode 0)
(tool-bar-mode 0)
(setq auto-save-default nil)
(setq make-backup-files nil)
; Still ain't making good use of it
;; Still ain't making good use of it
(setq org-agenda-files (quote ("~/.emacs.d/agenda.org")))
; For managing emacs lisp stuff
;; For managing emacs lisp stuff
(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives '("nongnu" . "https://elpa.nongnu.org/packages/"))
; Typing 'yes' or 'no' is annoying most of the time. Simplify it
;; Typing 'yes' or 'no' is annoying most of the time. Simplify it
(defalias 'yes-or-no-p 'y-or-n-p)
; I like this theme
;; I like this theme
(load-theme 'misterioso t)
(custom-set-variables

8
gtk/.config/gtk-3.0/settings.ini

@ -0,0 +1,8 @@
# Settings for GTK+3.0
[Settings]
gtk-theme-name=E17gtk
gtk-application-prefer-dark-theme=1
gtk-icon-theme-name=McMuse-black-dark
gtk-cursor-theme-name=LyraB-cursors
gtk-decoration-layout=menu:close
gtk-font-name=M PLUS 1 Code 11

4
gtk/.gtkrc-2.0

@ -0,0 +1,4 @@
# Settings for GTK+2
gtk-theme-name="E17gtk"
gtk-icon-theme-name="McMuse-black-dark"
gtk-font-name="M PLUS 1 Code 11"

2
hikari/.config/hikari/hikari.conf

@ -29,7 +29,7 @@ inputs {
outputs {
"*" {
background = "/usr/home/akoizumi/Pictures/walls/VRfwAfCsWCcyXavwDaNc9a.png"
background = "/usr/home/akoizumi/Pictures/walls/925172.png"
}
}

180
sway/.config/sway/config

@ -1,180 +0,0 @@
# i3 config file (v4)
# Also (mostly) works with sway(1)
# Feel free to edit this if you aren't me, lol.
# Set default programs
set $launcher bemenu-run -b
set $term foot
# I use both the Alt key and the Logo key
# Mainly due to some TUI programs already using $mod
set $mod Mod1
set $mod2 Mod4
# Default font
# Could be anything else
font pango:Hack 10
# Use Mouse+$mod to drag floating windows to their wanted position.
floating_modifier $mod
# Focus follows the mouse?
# Set it to no if otherwise
focus_follows_mouse yes
# Kill focused window.
bindsym $mod+Shift+q kill
# Change focus.
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
# Same as above, but arrow keys.
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move focused window.
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
# Same as above, but 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
# Toggle split from horizontal to vertical and vice-versa.
bindsym $mod+t split toggle
# Enter fullscreen mode for the focused container.
bindsym $mod+f fullscreen toggle
# Change container layout (stacked, tabbed, toggle split).
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Toggle tiling / floating.
bindsym $mod+Shift+space floating toggle
# Change focus between tiling / floating windows.
bindsym $mod+space focus mode_toggle
# Switch to workspace.
bindsym $mod2+1 workspace 1
bindsym $mod2+2 workspace 2
bindsym $mod2+3 workspace 3
bindsym $mod2+4 workspace 4
bindsym $mod2+5 workspace 5
bindsym $mod2+6 workspace 6
bindsym $mod2+7 workspace 7
bindsym $mod2+8 workspace 8
bindsym $mod2+9 workspace 9
bindsym $mod2+0 workspace 10
# Move focused container to workspace.
bindsym $mod2+Shift+1 move container to workspace 1
bindsym $mod2+Shift+2 move container to workspace 2
bindsym $mod2+Shift+3 move container to workspace 3
bindsym $mod2+Shift+4 move container to workspace 4
bindsym $mod2+Shift+5 move container to workspace 5
bindsym $mod2+Shift+6 move container to workspace 6
bindsym $mod2+Shift+7 move container to workspace 7
bindsym $mod2+Shift+8 move container to workspace 8
bindsym $mod2+Shift+9 move container to workspace 9
bindsym $mod2+Shift+0 move container to workspace 10
# This works for both i3-gaps and sway, but not regular i3
gaps inner 20
gaps outer 5
# Key combinations for default programs
# Those are set on the top of the config file
bindsym $mod+d exec $launcher
bindsym $mod+Return exec $term
## Key combinations for wl-screenshot
bindsym $mod+p exec wl-screenshot output
bindsym $mod+Shift+p exec wl-screenshot area
bindsym $mod+$mod2+p exec wl-screenshot window
# Some applications needs to be floating. mpv is one of them.
for_window [class="mpv"] floating enable
# Let's try to get most pop-up windows floating.
for_window [window_role="pop-up"] floating enable
for_window [window_role="bubble"] floating enable
for_window [window_role="task_dialog"] floating enable
for_window [window_role="Preferences"] floating enable
for_window [window_type="dialog"] floating enable
for_window [window_type="menu"] floating enable
# Screen lock. See 'man swaylock' for information about usage.
bindsym $mod+Control+l exec --no-startup-id "swaylock -c 000000"
# Jump to the latest "urgent" window.
bindsym $mod+u [urgent=latest] focus
# Reload the configuration file.
bindsym $mod+Shift+r reload
# Exit sway (logs you out of your Wayland session).
bindsym $mod+Shift+x exec swaymsg exit
# Resize window (you can also use the mouse for that).
mode "resize" {
# These bindings trigger as soon as you enter the resize mode.
bindsym h resize shrink width 10px
bindsym j resize grow height 10px
bindsym k resize shrink height 10px
bindsym l resize grow width 10px
# Same bindings, but for the 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
# Back to normal: Enter or Escape.
bindsym Return mode "default"
bindsym Escape mode "default"
}
# Resize windows.
bindsym $mod+r mode "resize"
bar {
colors {
background #000000
statusline #ffffff
separator #000000
focused_workspace #990000 #990000 #ffffff
active_workspace #990000 #990000 #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #ff1a1a #ff1a1a #ffffff
}
binding_mode_indicator yes
position top
status_command exec ~/.config/sway/conky
}
# Autostart applications
exec "wlsunset -T 2500 -t 2000 -g 0.7"
# Additional key combinations
bindsym XF86AudioRaiseVolume exec --no-startup-id "mixer vol +5"
bindsym XF86AudioLowerVolume exec --no-startup-id "mixer vol -5"
bindsym XF86AudioMute exec --no-startup-id "mixer vol 0"
# Input/output devices
input * xkb_layout latam
output * bg ~/Pictures/__houraisan_kaguya_touhou_drawn_by_qqqrinkappp__28044ff16a11f66b5e02b336bfafaf5f.jpg stretch
# Disable title bars
default_border none

13
sway/.config/sway/conky

@ -1,13 +0,0 @@
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
# Now send blocks with information forever:
exec conky -c ~/.conkyrc
Loading…
Cancel
Save