initial commit
BIN
bgimg/5_am.jpg
Normal file
After Width: | Height: | Size: 1.5 MiB |
BIN
bgimg/BFKa3S0.jpg
Normal file
After Width: | Height: | Size: 351 KiB |
BIN
bgimg/Mojave-Night.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
bgimg/forest_stairs.jpg
Normal file
After Width: | Height: | Size: 2 MiB |
BIN
bgimg/girl.png
Normal file
After Width: | Height: | Size: 638 KiB |
BIN
bgimg/great_vaporwave.jpg
Normal file
After Width: | Height: | Size: 483 KiB |
BIN
bgimg/jp_mountain.png
Normal file
After Width: | Height: | Size: 913 KiB |
BIN
bgimg/jp_porchgirl.png
Normal file
After Width: | Height: | Size: 3.8 MiB |
BIN
bgimg/mountains.jpg
Normal file
After Width: | Height: | Size: 1 MiB |
BIN
bgimg/neon_girl.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
bgimg/nes.jpg
Normal file
After Width: | Height: | Size: 1.4 MiB |
BIN
bgimg/planetary-system.jpg
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
bgimg/rock-sea.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
bgimg/serenity.jpg
Normal file
After Width: | Height: | Size: 696 KiB |
BIN
bgimg/sketch_girl.png
Normal file
After Width: | Height: | Size: 221 KiB |
BIN
bgimg/tranquility.png
Normal file
After Width: | Height: | Size: 914 KiB |
BIN
bgimg/vaporwave_horizon.jpg
Normal file
After Width: | Height: | Size: 262 KiB |
BIN
bgimg/vaporwave_mirror_horizon.jpg
Normal file
After Width: | Height: | Size: 1.1 MiB |
After Width: | Height: | Size: 3.1 MiB |
47
custom_syscontext.conf
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
[MAIN]
|
||||||
|
sections = PROGRAM CONNECTION SYSTEM POWER
|
||||||
|
width = 150
|
||||||
|
height = 200
|
||||||
|
x = 5
|
||||||
|
y = 24
|
||||||
|
|
||||||
|
[PROGRAM]
|
||||||
|
items = terminal fsmanager
|
||||||
|
|
||||||
|
[CONNECTION]
|
||||||
|
items = bluetooth
|
||||||
|
|
||||||
|
[SYSTEM]
|
||||||
|
items = system_setting
|
||||||
|
|
||||||
|
[POWER]
|
||||||
|
items = exit_session reboot poweroff
|
||||||
|
|
||||||
|
[terminal]
|
||||||
|
title = Open Terminal
|
||||||
|
command = hyper
|
||||||
|
|
||||||
|
[fsmanager]
|
||||||
|
title = Open File Browser
|
||||||
|
command = dolphin
|
||||||
|
|
||||||
|
[bluetooth]
|
||||||
|
title = Bluetooth Settings
|
||||||
|
command = blueman-manager
|
||||||
|
|
||||||
|
[system_setting]
|
||||||
|
title = System Settings
|
||||||
|
command = systemsettings5
|
||||||
|
|
||||||
|
[exit_session]
|
||||||
|
title = End KDE Session
|
||||||
|
command = qdbus org.kde.ksmserver /KSMServer logout 0 0 0
|
||||||
|
|
||||||
|
[reboot]
|
||||||
|
title = Reboot
|
||||||
|
command = reboot
|
||||||
|
|
||||||
|
[poweroff]
|
||||||
|
title = Shut Down
|
||||||
|
command = poweroff
|
||||||
|
|
101
eww/eww.scss
Normal file
|
@ -0,0 +1,101 @@
|
||||||
|
/* Global */
|
||||||
|
* {
|
||||||
|
all: unset;
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-family: Helvetica Neue;
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.bg {
|
||||||
|
//background-image: url("~/.background/Mojave-Night.jpg");
|
||||||
|
background-color: #000;//#161d2f;
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.genwin {
|
||||||
|
border-radius: 16px;
|
||||||
|
background-color: #161d2f;
|
||||||
|
border: 5px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Profile Settings */
|
||||||
|
.face {
|
||||||
|
background-size: 200px;
|
||||||
|
min-height: 200px;
|
||||||
|
min-width: 200px;
|
||||||
|
margin: 65px 0px 0px 0px;
|
||||||
|
border-radius: 100%;
|
||||||
|
border: 5px solid #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
//.face:hover {
|
||||||
|
// border-radius: 25%;
|
||||||
|
//}
|
||||||
|
|
||||||
|
.login {
|
||||||
|
font-family: monospace;
|
||||||
|
font-family: Fira Code;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 30px;
|
||||||
|
color: #fff;
|
||||||
|
background-color: #3d4558;
|
||||||
|
border-radius: 5px;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* System Settings */
|
||||||
|
.cpu_bar, .ram_bar, scale trough {
|
||||||
|
all: unset;
|
||||||
|
background-color: #3d4558;
|
||||||
|
border-radius: 16px;
|
||||||
|
min-height: 28px;
|
||||||
|
min-width: 240px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cpu_bar label, .ram_bar label, .disk_bar label{
|
||||||
|
font-family: monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cpu_bar, .ram_bar, .disk_bar, scale trough highlight {
|
||||||
|
all: unset;
|
||||||
|
border-radius: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cpu_bar scale trough highlight {
|
||||||
|
background-color: #A04A19;//#5A2123;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ram_bar scale trough highlight {
|
||||||
|
background-color: #A04A19;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Clock Settings */
|
||||||
|
.time_hour, .time_min {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 70px;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time_hour {
|
||||||
|
margin: 20px 0px 0px 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time_min {
|
||||||
|
margin: 0px 0px 10px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time_ampm {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 40px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin: 20px 0px 0px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.time_day {
|
||||||
|
color: #ffffff;
|
||||||
|
font-size: 30px;
|
||||||
|
font-weight: normal;
|
||||||
|
margin: 0px 0px 0px 25px;
|
||||||
|
}
|
115
eww/eww.xml
Normal file
|
@ -0,0 +1,115 @@
|
||||||
|
<eww>
|
||||||
|
<variables>
|
||||||
|
<!-- System Variables -->
|
||||||
|
<script-var name="HOSTNAME" interval="24h">hostname</script-var>
|
||||||
|
<script-var name="USERNAME" interval="24h">whoami</script-var>
|
||||||
|
<script-var name="CPU_USAGE" interval="1s">~/.config/eww/scripts/cpu</script-var>
|
||||||
|
<script-var name="RAM_USAGE" interval="1s">~/.config/eww/scripts/ram</script-var>
|
||||||
|
<script-var name="SSD_USAGE" interval="1m">df -h / | awk '{print substr($3, 1, length($3)-1) "/" $2}' | tail -n 1 | sed 's/G/GB/'</script-var>
|
||||||
|
|
||||||
|
<var name="IMAGE">/home/val/.face.icon</var>
|
||||||
|
|
||||||
|
<!-- Time Variables -->
|
||||||
|
<script-var name="HOUR" interval="1m">date +"%I"</script-var>
|
||||||
|
<script-var name="MINUTE" interval="1s">date +"%M"</script-var>
|
||||||
|
<script-var name="AMPM" interval="1m">date +"%p"</script-var>
|
||||||
|
<script-var name="DAY" interval="2m">date +"%a"</script-var>
|
||||||
|
</variables>
|
||||||
|
|
||||||
|
<definitions>
|
||||||
|
|
||||||
|
<def name="bg">
|
||||||
|
<box class="bg"/>
|
||||||
|
</def>
|
||||||
|
|
||||||
|
<def name="user">
|
||||||
|
<box class="genwin" orientation="v" spacing="35" space-evenly="false" vexpand="false" hexpand="false">
|
||||||
|
<box style="background-image: url('{{IMAGE}}');" class="face" halign="center"/>
|
||||||
|
<label class="login" halign="center" wrap="true" limit-width="25" text="{{USERNAME}}@{{HOSTNAME}}"/>
|
||||||
|
</box>
|
||||||
|
</def>
|
||||||
|
|
||||||
|
<def name="system">
|
||||||
|
<box class="genwin" vexpand="false" hexpand="false">
|
||||||
|
<box orientation="v" spacing="35" halign="center" valign="center" space-evenly="false" vexpand="false" hexpand="false">
|
||||||
|
<box class="cpu_bar" orientation="h" spacing="20" space-evenly="true" vexpand="false" hexpand="false">
|
||||||
|
<label text="CPU"/>
|
||||||
|
<label text="|"/>
|
||||||
|
<label text="{{CPU_USAGE}}%" active="false"/>
|
||||||
|
<!--scale min="0" max="100" value="{{CPU_USAGE}}" active="false"/-->
|
||||||
|
</box>
|
||||||
|
<box class="ram_bar" orientation="h" spacing="20" space-evenly="true" vexpand="false" hexpand="false">
|
||||||
|
<label text="RAM"/>
|
||||||
|
<label text="|"/>
|
||||||
|
<label text="{{RAM_USAGE}}"/>
|
||||||
|
<!--scale min="0" max="100" value="{{RAM_USAGE}}" active="false"/-->
|
||||||
|
</box>
|
||||||
|
<box class="disk_bar" orientation="h" spacing="20" space-evenly="true" vexpand="false" hexpand="false">
|
||||||
|
<label text="SSD"/>
|
||||||
|
<label text="|"/>
|
||||||
|
<label text="{{SSD_USAGE}}"/>
|
||||||
|
</box>
|
||||||
|
</box>
|
||||||
|
</box>
|
||||||
|
</def>
|
||||||
|
|
||||||
|
|
||||||
|
<def name="clock">
|
||||||
|
<box class="genwin" orientation="h" space-evenly="false" vexpand="false" hexpand="false">
|
||||||
|
<label class="time_hour" valign="start" wrap="true" limit-width="25" text="{{HOUR}}"/>
|
||||||
|
<label class="time_min" valign="end" wrap="true" limit-width="25" text="{{MINUTE}}"/>
|
||||||
|
<box orientation="v" spacing="25" space-evenly="false" vexpand="false" hexpand="false">
|
||||||
|
<label class="time_ampm" halign="end" wrap="true" limit-width="25" text="{{AMPM}}"/>
|
||||||
|
<label class="time_day" halign="end" wrap="true" limit-width="25" text="{{DAY}}"/>
|
||||||
|
</box>
|
||||||
|
</box>
|
||||||
|
</def>
|
||||||
|
|
||||||
|
<!-- Buttons -->
|
||||||
|
<def name="logout">
|
||||||
|
<box class="genwin" vexpand="false" hexpand="false">
|
||||||
|
<button class="btn_logout" onclick="i3-msg exit">logout</button>
|
||||||
|
</box>
|
||||||
|
</def>
|
||||||
|
|
||||||
|
</definitions>
|
||||||
|
<windows>
|
||||||
|
|
||||||
|
<window name="background" stacking="fg" focusable="true">
|
||||||
|
<geometry x="0" y="0" width="1920px" height="1080px"/>
|
||||||
|
<widget>
|
||||||
|
<bg/>
|
||||||
|
</widget>
|
||||||
|
</window>
|
||||||
|
|
||||||
|
<window name="profile" stacking="fg" focusable="false">
|
||||||
|
<geometry x="150" y="150" width="350" height="440"/>
|
||||||
|
<widget>
|
||||||
|
<user/>
|
||||||
|
</widget>
|
||||||
|
</window>
|
||||||
|
|
||||||
|
<window name="system" stacking="fg" focusable="false">
|
||||||
|
<geometry x="150" y="605" width="350" height="325"/>
|
||||||
|
<widget>
|
||||||
|
<system/>
|
||||||
|
</widget>
|
||||||
|
</window>
|
||||||
|
|
||||||
|
<window name="clock" stacking="fg" focusable="false">
|
||||||
|
<geometry x="515" y="150" width="350" height="155"/>
|
||||||
|
<widget>
|
||||||
|
<clock/>
|
||||||
|
</widget>
|
||||||
|
</window>
|
||||||
|
|
||||||
|
<!-- Buttons -->
|
||||||
|
<window name="logout" stacking="fg" focusable="false">
|
||||||
|
<geometry x="1445" y="150" width="155" height="155"/>
|
||||||
|
<widget>
|
||||||
|
<logout/>
|
||||||
|
</widget>
|
||||||
|
</window>
|
||||||
|
|
||||||
|
</windows>
|
||||||
|
</eww>
|
8
eww/launch_eww
Executable file
|
@ -0,0 +1,8 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
if eww state | grep -q "USERNAME: val"
|
||||||
|
then
|
||||||
|
eww close-all
|
||||||
|
else
|
||||||
|
eww open-many background profile system clock
|
||||||
|
fi
|
4
eww/scripts/cpu
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
top -bn1 | grep "Cpu(s)" | awk '{print $2}'
|
||||||
|
#cat /proc/stat | grep '^cpu ' | awk '{usage=($2+$4)*100/($2+$4+$5)} END {print usage}'
|
3
eww/scripts/ram
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
printf "%s" $(free -g | grep Mem | awk '{print $3 "/" $2 "GB"}')
|
161
hyper.js
Normal file
|
@ -0,0 +1,161 @@
|
||||||
|
// Future versions of Hyper may add additional config options,
|
||||||
|
// which will not automatically be merged into this file.
|
||||||
|
// See https://hyper.is#cfg for all currently supported options.
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
config: {
|
||||||
|
// choose either `'stable'` for receiving highly polished,
|
||||||
|
// or `'canary'` for less polished but more frequent updates
|
||||||
|
updateChannel: 'stable',
|
||||||
|
|
||||||
|
// default font size in pixels for all tabs
|
||||||
|
fontSize: 12,
|
||||||
|
|
||||||
|
// font family with optional fallbacks
|
||||||
|
fontFamily: 'Fira Code, FiraCode Nerd Font, monospace',
|
||||||
|
|
||||||
|
// default font weight: 'normal' or 'bold'
|
||||||
|
fontWeight: 'normal',
|
||||||
|
|
||||||
|
// font weight for bold characters: 'normal' or 'bold'
|
||||||
|
fontWeightBold: 'bold',
|
||||||
|
|
||||||
|
// line height as a relative unit
|
||||||
|
lineHeight: 1,
|
||||||
|
|
||||||
|
// letter spacing as a relative unit
|
||||||
|
letterSpacing: 0.8,
|
||||||
|
|
||||||
|
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
|
||||||
|
cursorColor: 'rgba(255,255,255,0.8625)',
|
||||||
|
|
||||||
|
// terminal text color under BLOCK cursor
|
||||||
|
cursorAccentColor: '#000',
|
||||||
|
|
||||||
|
// `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
|
||||||
|
cursorShape: 'BLOCK',
|
||||||
|
|
||||||
|
// set to `true` (without backticks and without quotes) for blinking cursor
|
||||||
|
cursorBlink: true,
|
||||||
|
|
||||||
|
// color of the text
|
||||||
|
foregroundColor: '#fff',
|
||||||
|
|
||||||
|
// terminal background color
|
||||||
|
// opacity is only supported on macOS
|
||||||
|
backgroundColor: '#000',
|
||||||
|
|
||||||
|
// terminal selection color
|
||||||
|
selectionColor: 'rgba(248,28,229,0.3)',
|
||||||
|
|
||||||
|
// border color (window, tabs)
|
||||||
|
borderColor: '#333',
|
||||||
|
|
||||||
|
// custom CSS to embed in the main window
|
||||||
|
css: '',
|
||||||
|
|
||||||
|
// custom CSS to embed in the terminal window
|
||||||
|
termCSS: '',
|
||||||
|
|
||||||
|
// if you're using a Linux setup which show native menus, set to false
|
||||||
|
// default: `true` on Linux, `true` on Windows, ignored on macOS
|
||||||
|
showHamburgerMenu: true,
|
||||||
|
|
||||||
|
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
|
||||||
|
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
|
||||||
|
// default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
|
||||||
|
showWindowControls: false,
|
||||||
|
|
||||||
|
// custom padding (CSS format, i.e.: `top right bottom left`)
|
||||||
|
padding: '6px 14px',
|
||||||
|
// default: 12px 14px
|
||||||
|
|
||||||
|
// the full list. if you're going to provide the full color palette,
|
||||||
|
// including the 6 x 6 color cubes and the grayscale map, just provide
|
||||||
|
// an array here instead of a color map object
|
||||||
|
colors: {
|
||||||
|
black: '#000000',
|
||||||
|
red: '#C91B00',
|
||||||
|
green: '#00C200',
|
||||||
|
yellow: '#C7C329',
|
||||||
|
blue: '#0225C7',
|
||||||
|
magenta: '#C930C7',
|
||||||
|
cyan: '#00C5C7',
|
||||||
|
white: '#C7C7C7',
|
||||||
|
lightBlack: '#676767',
|
||||||
|
lightRed: '#FF6D67',
|
||||||
|
lightGreen: '#5FF967',
|
||||||
|
lightYellow: '#FFFA72',
|
||||||
|
lightBlue: '#6871FF',
|
||||||
|
lightMagenta: '#FF76FF',
|
||||||
|
lightCyan: '#68FDFE',
|
||||||
|
lightWhite: '#FFFFFF',
|
||||||
|
},
|
||||||
|
|
||||||
|
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
|
||||||
|
// if left empty, your system's login shell will be used by default
|
||||||
|
//
|
||||||
|
// Windows
|
||||||
|
// - Make sure to use a full path if the binary name doesn't work
|
||||||
|
// - Remove `--login` in shellArgs
|
||||||
|
//
|
||||||
|
// Bash on Windows
|
||||||
|
// - Example: `C:\\Windows\\System32\\bash.exe`
|
||||||
|
//
|
||||||
|
// PowerShell on Windows
|
||||||
|
// - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
|
||||||
|
shell: '',
|
||||||
|
|
||||||
|
// for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
|
||||||
|
// by default `['--login']` will be used
|
||||||
|
shellArgs: ['--login'],
|
||||||
|
|
||||||
|
// for environment variables
|
||||||
|
env: {},
|
||||||
|
|
||||||
|
// set to `false` for no bell
|
||||||
|
bell: false,
|
||||||
|
|
||||||
|
// if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
|
||||||
|
copyOnSelect: false,
|
||||||
|
|
||||||
|
// if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
|
||||||
|
defaultSSHApp: true,
|
||||||
|
|
||||||
|
// if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
|
||||||
|
// selection is present (`true` by default on Windows and disables the context menu feature)
|
||||||
|
quickEdit: false,
|
||||||
|
|
||||||
|
// choose either `'vertical'`, if you want the column mode when Option key is hold during selection (Default)
|
||||||
|
// or `'force'`, if you want to force selection regardless of whether the terminal is in mouse events mode
|
||||||
|
// (inside tmux or vim with mouse mode enabled for example).
|
||||||
|
macOptionSelectionMode: 'vertical',
|
||||||
|
|
||||||
|
// URL to custom bell
|
||||||
|
// bellSoundURL: 'http://example.com/bell.mp3',
|
||||||
|
|
||||||
|
// Whether to use the WebGL renderer. Set it to false to use canvas-based
|
||||||
|
// rendering (slower, but supports transparent backgrounds)
|
||||||
|
webGLRenderer: false,
|
||||||
|
|
||||||
|
// for advanced config flags please refer to https://hyper.is/#cfg
|
||||||
|
},
|
||||||
|
|
||||||
|
// a list of plugins to fetch and install from npm
|
||||||
|
// format: [@org/]project[#version]
|
||||||
|
// examples:
|
||||||
|
// `hyperpower`
|
||||||
|
// `@company/project`
|
||||||
|
// `project#1.0.1`
|
||||||
|
plugins: [ 'hyper-font-ligatures' ],
|
||||||
|
|
||||||
|
// in development, you can create a directory under
|
||||||
|
// `~/.hyper_plugins/local/` and include it here
|
||||||
|
// to load it and avoid it being `npm install`ed
|
||||||
|
localPlugins: [],
|
||||||
|
|
||||||
|
keymaps: {
|
||||||
|
// Example
|
||||||
|
// 'window:devtools': 'cmd+alt+o',
|
||||||
|
},
|
||||||
|
};
|
159
i3_config
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
# _ _____ ____ __ __
|
||||||
|
# (_)__ / / _/___ / /____ _________ ____ _/ /____
|
||||||
|
# / / /_ < / // __ \/ __/ _ \/ ___/ __ \/ __ `/ / ___/
|
||||||
|
# / /___/ / _/ // / / / /_/ __/ / / / / / /_/ / (__ )
|
||||||
|
#/_//____/ /___/_/ /_/\__/\___/_/ /_/ /_/\__,_/_/____/
|
||||||
|
#
|
||||||
|
|
||||||
|
# Super Key
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
# Workspace Names
|
||||||
|
set $ws1 "1"
|
||||||
|
set $ws2 "2"
|
||||||
|
set $ws3 "3"
|
||||||
|
set $ws4 "4"
|
||||||
|
set $ws5 "5"
|
||||||
|
set $ws6 "6"
|
||||||
|
set $ws7 "7"
|
||||||
|
set $ws8 "8"
|
||||||
|
set $ws9 "9"
|
||||||
|
set $ws10 "10"
|
||||||
|
|
||||||
|
# Appearance
|
||||||
|
for_window [class="^.*"] border pixel 2
|
||||||
|
gaps inner 15
|
||||||
|
|
||||||
|
font pango:DejaVu Sans Mono 2
|
||||||
|
for_window [class=".*"] title_format "<span alpha='0'></span>"
|
||||||
|
|
||||||
|
client.focused #323232 #7575ff #ffffff #161d2f #5e6668
|
||||||
|
client.focused_inactive #323232 #4545ff #ffffff #161d2f #323232
|
||||||
|
client.unfocused #323232 #161d2f #ffffff #161d2f #323232
|
||||||
|
client.urgent #323232 #ff7b19 #ffffff #900000 #d4d4d4
|
||||||
|
|
||||||
|
# __ __ __ _ __
|
||||||
|
# / //_/__ __ __/ /_ (_)___ ____/ /____
|
||||||
|
# / ,< / _ \/ / / / __ \/ / __ \/ __ / ___/
|
||||||
|
# / /| / __/ /_/ / /_/ / / / / / /_/ (__ )
|
||||||
|
#/_/ |_\___/\__, /_.___/_/_/ /_/\__,_/____/
|
||||||
|
# /____/
|
||||||
|
|
||||||
|
# i3
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# WM Interacts
|
||||||
|
bindsym $mod+Return exec hyper
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
bindsym $mod+space exec rofi -show run
|
||||||
|
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# Tiling
|
||||||
|
bindsym $mod+h split h
|
||||||
|
bindsym $mod+v split v
|
||||||
|
|
||||||
|
# Layout
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# Focus
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
|
||||||
|
# Workspaces
|
||||||
|
bindsym Ctrl+$mod+Left workspace prev
|
||||||
|
bindsym Ctrl+$mod+Right workspace next
|
||||||
|
bindsym $mod+BackSpace workspace back_and_forth
|
||||||
|
|
||||||
|
bindsym $mod+grave scratchpad show
|
||||||
|
bindsym $mod+Shift+grave floating enable, move scratchpad
|
||||||
|
|
||||||
|
bindsym $mod+1 workspace number $ws1
|
||||||
|
bindsym $mod+2 workspace number $ws2
|
||||||
|
bindsym $mod+3 workspace number $ws3
|
||||||
|
bindsym $mod+4 workspace number $ws4
|
||||||
|
bindsym $mod+5 workspace number $ws5
|
||||||
|
bindsym $mod+6 workspace number $ws6
|
||||||
|
bindsym $mod+7 workspace number $ws7
|
||||||
|
bindsym $mod+8 workspace number $ws8
|
||||||
|
bindsym $mod+9 workspace number $ws9
|
||||||
|
bindsym $mod+0 workspace number $ws10
|
||||||
|
|
||||||
|
bindsym $mod+Shift+1 move container to workspace number $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace number $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace number $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace number $ws8
|
||||||
|
bindsym $mod+Shift+9 move container to workspace number $ws9
|
||||||
|
bindsym $mod+Shift+0 move container to workspace number $ws10
|
||||||
|
|
||||||
|
# Resize Mode
|
||||||
|
mode "resize" {
|
||||||
|
bindsym Left resize shrink width 5 px or 5 ppt
|
||||||
|
bindsym Down resize grow height 5 px or 5 ppt
|
||||||
|
bindsym Up resize shrink height 5 px or 5 ppt
|
||||||
|
bindsym Right resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
bindsym $mod+r mode "default"
|
||||||
|
}
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
|
# Utility
|
||||||
|
|
||||||
|
bindsym $mod+Escape exec dunstctl close
|
||||||
|
bindsym Shift+$mod+Escape exec dunstctl close-all
|
||||||
|
|
||||||
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
|
bindsym XF86AudioNext exec playerctl next
|
||||||
|
bindsym XF86AudioPrev exec playerctl previous
|
||||||
|
|
||||||
|
bindsym $mod+Shift+s exec scrot ~/Images/scrot/%b%d_%H-%M-%S.png
|
||||||
|
|
||||||
|
# _____ __ __
|
||||||
|
# / ___// /_____ ______/ /___ ______
|
||||||
|
# \__ \/ __/ __ `/ ___/ __/ / / / __ \
|
||||||
|
# ___/ / /_/ /_/ / / / /_/ /_/ / /_/ /
|
||||||
|
#/____/\__/\__,_/_/ \__/\__,_/ .___/
|
||||||
|
# /_/
|
||||||
|
exec_always feh --bg-scale ~/.background
|
||||||
|
exec ~/.bin/picom-ibhagwan/picom
|
||||||
|
exec redshift &
|
||||||
|
exec dunst
|
||||||
|
exec polybar top
|
||||||
|
exec unclutter
|
||||||
|
exec eww daemon
|
||||||
|
|
||||||
|
exec ~/.script/nosleep.sh
|
||||||
|
exec ~/.script/trackball_speed.sh 0.2 1
|
||||||
|
|
||||||
|
# _ ___ __ ____
|
||||||
|
#| | / (_)___ ____/ /___ _ __ / __ \_________ ____ _____
|
||||||
|
#| | /| / / / __ \/ __ / __ \ | /| / / / /_/ / ___/ __ \/ __ \/ ___/
|
||||||
|
#| |/ |/ / / / / / /_/ / /_/ / |/ |/ / / ____/ / / /_/ / /_/ (__ )
|
||||||
|
#|__/|__/_/_/ /_/\__,_/\____/|__/|__/ /_/ /_/ \____/ .___/____/
|
||||||
|
# /_/
|
||||||
|
|
||||||
|
for_window [class="eww"] floating enable
|
||||||
|
for_window [class="eww-background"] border pixel 0
|
||||||
|
for_window [class="Org.gnome.Nautilus"] floating enable
|
||||||
|
for_window [class="Pick-colour-picker"] floating enable
|
||||||
|
for_window [class="rofi"] border pixel 0
|
||||||
|
for_window [class="Tk" title="sysmenu"] floating enable
|
91
picom.conf
Normal file
|
@ -0,0 +1,91 @@
|
||||||
|
#========
|
||||||
|
#SHADOWS
|
||||||
|
#========
|
||||||
|
|
||||||
|
# Shadow
|
||||||
|
shadow = false;
|
||||||
|
shadow-opacity = 0.5;
|
||||||
|
|
||||||
|
#=======
|
||||||
|
#OPACITY
|
||||||
|
#=======
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
opacity-of-popup_menu = 1;
|
||||||
|
opacity-of-dropdown_menu = 1;
|
||||||
|
inactive-opacity = 1;
|
||||||
|
active-opacity = 1;
|
||||||
|
frame-opacity = 1;
|
||||||
|
blur-background = true;
|
||||||
|
blur-background-frame = true;
|
||||||
|
blur-method = "dual_kawase";
|
||||||
|
#blur-strength = 2.5;
|
||||||
|
blur-strength = 3;
|
||||||
|
#blur-strength = 12;
|
||||||
|
#blur-kern = "7x7box";
|
||||||
|
|
||||||
|
#blur-background-fixed = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"class_i = 'discover-overlay'",
|
||||||
|
];
|
||||||
|
|
||||||
|
opacity-rule = [
|
||||||
|
"0:_NET_WM_STATE@[0]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
"70:name = 'custom syscontext'",
|
||||||
|
"85:class_g = 'Hyper'",
|
||||||
|
"90:class_g = 'Typora'",
|
||||||
|
"95:class_g = 'discord'",
|
||||||
|
"90:class_g = 'code-oss'",
|
||||||
|
"95:class_g = 'dolphin'",
|
||||||
|
"85:class_g = 'Spotify'",
|
||||||
|
"85:class_g = 'Insomnia'",
|
||||||
|
"60:class_g = 'Blueman-manager'",
|
||||||
|
"85:class_g = 'filelight'",
|
||||||
|
"90:class_g = 'Atom'",
|
||||||
|
"90:class_g = 'jetbrains-rider'",
|
||||||
|
"50:class_g = 'i3-frame'",
|
||||||
|
"65:class_g = 'URxvt'",
|
||||||
|
# "75:name = 'Picture-in-Picture' && !focused",
|
||||||
|
];
|
||||||
|
|
||||||
|
#======
|
||||||
|
#FADING
|
||||||
|
#======
|
||||||
|
|
||||||
|
# Fade
|
||||||
|
fading = true;
|
||||||
|
fade-delta = 4;
|
||||||
|
fade-in-step = 0.02;
|
||||||
|
fade-out-step = 0.02;
|
||||||
|
|
||||||
|
#=======
|
||||||
|
#CORNERS
|
||||||
|
#=======
|
||||||
|
#corner-radius = 8.0;
|
||||||
|
corner-radius = 8.0;
|
||||||
|
rounded-corners-exclude = [
|
||||||
|
"class_g = 'Polybar'",
|
||||||
|
"class_g = 'eww-background'",
|
||||||
|
# "class_g = 'i3-frame'",
|
||||||
|
"class_i = 'discover-overlay'",
|
||||||
|
# "class_g = 'rofi'",
|
||||||
|
];
|
||||||
|
round-borders = 1;
|
||||||
|
round-borders-rule = [
|
||||||
|
"2:window_type = 'normal'",
|
||||||
|
"1:class_g = 'i3-frame'",
|
||||||
|
];
|
||||||
|
|
||||||
|
#=======
|
||||||
|
#RENDER
|
||||||
|
#=======
|
||||||
|
|
||||||
|
# Backend
|
||||||
|
backend = "glx";
|
||||||
|
vsync = true;
|
||||||
|
experimental-backends = true;
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
unredir-if-possible = false;
|
||||||
|
glx-no-stencil = false;
|
||||||
|
glx-no-rebind-pixmap = true;
|
138
polybar_config
Normal file
|
@ -0,0 +1,138 @@
|
||||||
|
|
||||||
|
[bar/top]
|
||||||
|
monitor = "DP-3"
|
||||||
|
background = #88000000
|
||||||
|
foreground = #FFFFFF
|
||||||
|
font-0 = Helvetica Neue:style=Regular:pixelsize=11;2
|
||||||
|
font-1 = FiraCode Nerd Font:style=Regular;pixelsize=11;2
|
||||||
|
font-2 = Fira Code:style=Regular;pixelsize=07;2
|
||||||
|
height = 24
|
||||||
|
line-size = 2
|
||||||
|
modules-left = icon i3
|
||||||
|
#modules-center = title
|
||||||
|
modules-right = redshift network eww datetime
|
||||||
|
padding = 2
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
|
[bar/openbox]
|
||||||
|
monitor = "DP-3"
|
||||||
|
|
||||||
|
[bar/crt-main]
|
||||||
|
monitor = "DP-4"
|
||||||
|
background = #88000000
|
||||||
|
foreground = #FFFFFF
|
||||||
|
font-0 = Helvetica Neue:style=Regular:pixelsize=11;2
|
||||||
|
font-1 = font\-mfizz:style=mfizz;pixelsize=11;2
|
||||||
|
height = 24
|
||||||
|
line-size = 2
|
||||||
|
modules-left = icon i3
|
||||||
|
modules-right = datetime
|
||||||
|
padding = 2
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
|
[bar/crt]
|
||||||
|
monitor = "DP-4"
|
||||||
|
background = #88000000
|
||||||
|
foreground = #FFFFFF
|
||||||
|
font-0 = Helvetica Neue:style=Regular:pixelsize=11;2
|
||||||
|
height = 24
|
||||||
|
line-size = 2
|
||||||
|
modules-left = i3
|
||||||
|
modules-right = datetime
|
||||||
|
padding = 2
|
||||||
|
module-margin = 2
|
||||||
|
|
||||||
|
[module/icon]
|
||||||
|
label-active-font = 1
|
||||||
|
type = custom/text
|
||||||
|
content = ""
|
||||||
|
#content = ""
|
||||||
|
click-left = exec ~/.script/syscontext.py &
|
||||||
|
|
||||||
|
[module/i3]
|
||||||
|
type = internal/i3
|
||||||
|
label-focused-underline = #FFFFFF
|
||||||
|
label-urgent-underline = #FFAA00
|
||||||
|
label-visible-underline = #888888
|
||||||
|
label-urgent-foreground = #FFAA00
|
||||||
|
strip-wsnumber = true
|
||||||
|
label-mode-padding = 1
|
||||||
|
label-focused = %index%
|
||||||
|
label-visible = %index%
|
||||||
|
label-unfocused = %index%
|
||||||
|
label-urgent = %index%
|
||||||
|
label-focused-padding = 1
|
||||||
|
label-visible-padding = 1
|
||||||
|
label-unfocused-padding = 1
|
||||||
|
label-urgent-padding = 1
|
||||||
|
enable-scroll = false
|
||||||
|
reverse-scroll = false
|
||||||
|
pin-workspaces = true
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
label-active-font = 1
|
||||||
|
type = internal/battery
|
||||||
|
battery = BAT0
|
||||||
|
adapter = ADP1
|
||||||
|
format-charging = <label-charging><ramp-capacity>
|
||||||
|
format-discharging = <label-discharging><ramp-capacity>
|
||||||
|
ramp-capacity-0 = ""
|
||||||
|
ramp-capacity-1 = ""
|
||||||
|
ramp-capacity-2 = ""
|
||||||
|
ramp-capacity-3 = ""
|
||||||
|
ramp-capacity-4 = ""
|
||||||
|
label-charging = "%percentage%% "
|
||||||
|
label-discharging = "%percentage%% "
|
||||||
|
|
||||||
|
[module/network]
|
||||||
|
label-active-font = 1
|
||||||
|
type = internal/network
|
||||||
|
interface = wlan0
|
||||||
|
interval = 10.0
|
||||||
|
format-disconnected = " "
|
||||||
|
format-connected = " "
|
||||||
|
|
||||||
|
[module/bluetooth]
|
||||||
|
label-active-font = 2
|
||||||
|
type = custom/text
|
||||||
|
content = ""
|
||||||
|
click-left = exec blueman-manager
|
||||||
|
|
||||||
|
[module/redshift]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/script/redshift.sh
|
||||||
|
label = "%output% "
|
||||||
|
format = <label>
|
||||||
|
|
||||||
|
[module/datetime]
|
||||||
|
type = internal/date
|
||||||
|
date = %a %b %d %I:%M %p
|
||||||
|
|
||||||
|
[module/eww]
|
||||||
|
label-active-font = 1
|
||||||
|
type = custom/text
|
||||||
|
content = ""
|
||||||
|
click-left = exec ~/.config/eww/launch_eww &
|
||||||
|
|
||||||
|
[module/login]
|
||||||
|
type = custom/script
|
||||||
|
exec = echo $(whoami)@$(hostname)
|
||||||
|
label = %output%
|
||||||
|
format = %{T3}<label>
|
||||||
|
format-padding = 2
|
||||||
|
|
||||||
|
# Thanks for your spotify status script,
|
||||||
|
# github.com/kaanf
|
||||||
|
[module/spotify]
|
||||||
|
type = custom/script
|
||||||
|
exec = ~/.config/polybar/script/spotify_status.py -q -f "{artist}: {song}"
|
||||||
|
label = " %{F-}%output%"
|
||||||
|
format-underline = #1DB954
|
||||||
|
format-prefix = "%{F#1DB954} "
|
||||||
|
tail = true
|
||||||
|
interval = 1s
|
||||||
|
|
||||||
|
[module/title]
|
||||||
|
type = internal/xwindow
|
||||||
|
format-underline = #fff
|
||||||
|
format-padding = 2
|
7
scripts/extractapp.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo Extracting $1
|
||||||
|
chmod a+x $1
|
||||||
|
$1 --appimage-extract
|
||||||
|
echo Finished
|
||||||
|
|
1
scripts/syscontext.py
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
/home/val/Repos/custom-syscontext/main.py
|
5
scripts/window_size.sh
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Waiting two seconds to get the size of the active window."
|
||||||
|
sleep 2
|
||||||
|
xwininfo -id $(xdotool getactivewindow)
|
52
starship.toml
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
[package]
|
||||||
|
symbol = ""
|
||||||
|
|
||||||
|
[cmake]
|
||||||
|
#symbol = "C "
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[dotnet]
|
||||||
|
format = "[$symbol($version )]($style)"
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = "GO "
|
||||||
|
#symbol = "ﳑ "
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = "Java "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = "NodeJS "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[lua]
|
||||||
|
symbol = "Lua "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = "Py "
|
||||||
|
#symbol = " "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
symbol = "Ruby "
|
||||||
|
#symbol = " "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = "Rs "
|
||||||
|
#symbol = " "
|
||||||
|
|
||||||
|
[shell]
|
||||||
|
disabled = true
|
||||||
|
bash_indicator = ""
|
||||||
|
format = "$indicator"
|
||||||
|
|
||||||
|
[shlvl]
|
||||||
|
disabled = false
|
||||||
|
threshold = 3
|
||||||
|
symbol = "ﰬ"
|
||||||
|
format = "[$symbol]($style) "
|
||||||
|
|