Laptop #2
|
@ -23,7 +23,7 @@ background = "#000010"
|
|||
foreground = "#F8F8F2"
|
||||
|
||||
[font]
|
||||
size = 15
|
||||
size = 13
|
||||
|
||||
[font.bold]
|
||||
family = "Iosevka Term Extended"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
local awful = require("awful")
|
||||
local lain = require("lain")
|
||||
local grid = require("components.layout.grid")
|
||||
local quake = lain.util.quake({app="alacritty", followtag=true, argname = '--class %s', extra="--option=window.opacity=1.0 --option=\"colors.primary.background='#000d2b'\" -e tmux", height=0.3})
|
||||
|
||||
-- Import panels
|
||||
|
@ -11,7 +10,7 @@ awful.screen.connect_for_each_screen(function(s)
|
|||
for i = 1, 10, 1
|
||||
do
|
||||
awful.tag.add(tostring(i % 10), {
|
||||
layout = grid,
|
||||
layout = awful.layout.suit.fair.horizontal,
|
||||
screen = s,
|
||||
selected = i == 1
|
||||
})
|
||||
|
|
|
@ -41,7 +41,7 @@ local updates_indicator = wibox.widget{
|
|||
forced_width = 18,
|
||||
widget = wibox.widget.imagebox,
|
||||
},
|
||||
top = 5, bottom = 0, left = 5, right = 0,
|
||||
top = 4, bottom = 0, left = 5, right = 0,
|
||||
widget = wibox.container.margin
|
||||
}
|
||||
},
|
||||
|
@ -118,12 +118,14 @@ top_panel.create = function(s)
|
|||
pl(wibox.widget{}, theme.bg_normal .. "00", theme.top_panel_powerline),
|
||||
pl(wibox.container.margin(wibox.widget.systray(), 0, 0, 5, 5), theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(volume_widget({widget_type='icon_and_text'}), theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(awful.widget.watch('bash -c "sensors | grep Tctl | cut -f 10 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(governor_selector, theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(current_layout_box, theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(awful.widget.watch('bash -c "sensors | grep Package | cut -f 5 -d \' \' | cut -c 2-"', 5), theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(memory_widget, theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(cpu_widget, theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(frequency_widget, theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(updates_indicator, theme.top_panel_powerline, theme.bg_normal),
|
||||
pl(current_layout_box, theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(battery_widget({font=theme.font, display_notification=true}), theme.bg_normal, theme.top_panel_powerline),
|
||||
pl(clock, theme.top_panel_powerline, theme.top_panel_powerline),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,10 +18,10 @@ require("awful.autofocus")
|
|||
|
||||
-- Define layouts
|
||||
awful.layout.append_default_layouts({
|
||||
awful.layout.suit.fair.horizontal,
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.floating,
|
||||
grid.horizontal,
|
||||
awful.layout.suit.fair.horizontal,
|
||||
awful.layout.suit.tile.left,
|
||||
awful.layout.suit.tile.bottom,
|
||||
awful.layout.suit.tile.top,
|
||||
|
@ -32,10 +32,12 @@ awful.layout.append_default_layouts({
|
|||
-- List of apps to run on start-up
|
||||
local run_on_start_up = {
|
||||
"numlockx on",
|
||||
"nm-applet",
|
||||
"xcape -e \"Super_L=Super_L|XF86Launch5\" -t 5000",
|
||||
gears.filesystem.get_configuration_dir() .. "/scripts/setup_display.sh",
|
||||
"xmodmap /home/user/.Xmodmap",
|
||||
"feh --no-fehbg --bg-fill " .. gears.filesystem.get_configuration_dir() .. "/images/wallpaper.png",
|
||||
"sudo wg-quick up wg0"
|
||||
-- "/opt/power/powersave.sh",
|
||||
-- os.getenv("XDG_CONFIG_HOME") .. "/awesome/scripts/setup_display.sh"
|
||||
}
|
||||
|
||||
-- Run all the apps listed in run_on_start_up
|
||||
|
|
|
@ -2,8 +2,8 @@ local dpi = require("beautiful.xresources").apply_dpi
|
|||
local theme = {}
|
||||
|
||||
-- Font
|
||||
theme.font = "Ubuntu 12"
|
||||
theme.title_font = "Ubuntu 12"
|
||||
theme.font = "Ubuntu 9"
|
||||
theme.title_font = "Ubuntu 10"
|
||||
|
||||
-- Background
|
||||
theme.bg_normal = "#1f2430"
|
||||
|
@ -31,7 +31,7 @@ theme.border_focus = "#002F5F"
|
|||
theme.border_marked = theme.fg_urgent
|
||||
|
||||
-- Panel Sizing
|
||||
theme.top_panel_height = dpi(30)
|
||||
theme.top_panel_height = dpi(27)
|
||||
theme.top_panel_powerline = "#002F5F"
|
||||
|
||||
-- Taglist
|
||||
|
|
|
@ -19,7 +19,7 @@ local function powerline(widget, bgcolor, adjacentcolor, right)
|
|||
{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
{
|
||||
wibox.container.margin(widget, dpi(6), dpi(10), dpi(0), dpi(1)),
|
||||
wibox.container.margin(widget, dpi(6), dpi(6), dpi(0), dpi(1)),
|
||||
bg = bgcolor,
|
||||
widget = wibox.container.background
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/dev/dri/by-path/pci-0000:00:02.0-card
|
|
@ -1,12 +1,15 @@
|
|||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
env = WLR_DRM_DEVICES,/home/user/.config/hypr/nvidia
|
||||
env = TERMINAL,alacritty
|
||||
env = WLR_NO_HARDWARE_CURSORS,1
|
||||
|
||||
monitor=eDP-1,1920x1080@144,0x0,1
|
||||
monitor=HDMI-A-2,1920x1080@60,0x-1080,1
|
||||
exec-once=sudo wg-quick up wg0
|
||||
exec-once=sleep 0.7 && swaylock
|
||||
|
||||
$scripts = /home/user/.config/scripts
|
||||
$mainMod = SUPER
|
||||
|
||||
monitor=DP-2,preferred,0x550,1
|
||||
monitor=DP-3,preferred,1920x0,1
|
||||
monitor=HDMI-A-1,preferred,5760x550,1
|
||||
|
||||
exec-once=hyprpaper
|
||||
exec-once=wl-paste --type text --watch cliphist store
|
||||
exec-once=wl-paste --type image --watch cliphist store
|
||||
|
@ -30,13 +33,13 @@ binds {
|
|||
input {
|
||||
kb_layout = us
|
||||
follow_mouse = 1
|
||||
kb_options = compose:rctrl, caps:super, altwin:swap_alt_win
|
||||
kb_options = compose:rctrl
|
||||
numlock_by_default = true
|
||||
}
|
||||
|
||||
general {
|
||||
gaps_in = 1
|
||||
gaps_out = 5
|
||||
gaps_out = 1
|
||||
border_size = 2
|
||||
col.active_border = rgba(002f5fee)
|
||||
col.inactive_border = rgba(ffffff00)
|
||||
|
@ -105,7 +108,7 @@ bind = $mainMod, Y, exec, /home/user/.config/rofi/rofi-ykman.sh
|
|||
bind = $mainMod, N, exec, /home/user/.config/rofi/rofi-ssh.sh
|
||||
|
||||
bind = $mainMod, Escape, exec, rofi -show power-menu -modi power-menu:$scripts/rofi-power-menu
|
||||
|
||||
bind = ,XF86PowerOff, exec, rofi -show power-menu -modi power-menu:$scripts/rofi-power-menu
|
||||
bind = ,XF86MonBrightnessUp, exec, xbacklight -inc 10
|
||||
bind = ,XF86MonBrightnessDown, exec, xbacklight -dec 10
|
||||
bind = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 10%+ --limit 1.0
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
ipc = off
|
||||
splash = false
|
||||
preload = ~/.config/awesome/images/wallpaper.png
|
||||
wallpaper = eDP-1,~/.config/awesome/images/wallpaper.png
|
||||
wallpaper = DP-3,~/.config/awesome/images/wallpaper.png
|
||||
wallpaper = DP-2,~/.config/awesome/images/wallpaper.png
|
||||
wallpaper = HDMI-A-1,~/.config/awesome/images/wallpaper.png
|
||||
wallpaper = HDMI-A-2,~/.config/awesome/images/wallpaper.png
|
||||
|
|
|
@ -141,8 +141,8 @@ osc=no
|
|||
save-position-on-quit=yes
|
||||
sub-auto=fuzzy
|
||||
profile=gpu-hq
|
||||
scale=ewa_lanczossharp
|
||||
cscale=ewa_lanczossharp
|
||||
# scale=ewa_lanczossharp
|
||||
# cscale=ewa_lanczossharp
|
||||
video-sync=display-resample
|
||||
interpolation
|
||||
tscale=oversample
|
||||
|
|
|
@ -12,6 +12,7 @@ end
|
|||
return {
|
||||
'stevearc/oil.nvim',
|
||||
dependencies = { "nvim-tree/nvim-web-devicons" }, lazy = true,
|
||||
default_file_explorer = true,
|
||||
opts = {
|
||||
keymaps = {
|
||||
["g?"] = "actions.show_help",
|
||||
|
|
|
@ -6,4 +6,10 @@ Feywild
|
|||
closeby
|
||||
ECML
|
||||
theshold-based
|
||||
imec
|
||||
testbed
|
||||
PointNav
|
||||
DomainNet
|
||||
MiniGrid
|
||||
Spirelli
|
||||
distill
|
||||
|
|
|
@ -15,7 +15,7 @@ include-file = ~/.config/polybar/colors.config
|
|||
[bar/example]
|
||||
; Generic options
|
||||
width = 100%
|
||||
height = 32
|
||||
height = 26
|
||||
dpi-x = 96
|
||||
dpi-y = 96
|
||||
|
||||
|
@ -29,19 +29,20 @@ background = #9912151c
|
|||
foreground = ${colors.white}
|
||||
|
||||
; Set bar's fonts list
|
||||
font-0 = "Noto Sans:size=13:weight=85:antialias=true;3"
|
||||
font-0 = "Ubuntu:size=10.2:weight=85:antialias=true;3"
|
||||
font-1 = "Source Code Pro:pixelsize=20:antialias=true;6"
|
||||
font-2 = "Source Code Pro:size=11:weight=bold:antialias=true;3"
|
||||
font-3 = "Font Awesome 6 Free Solid:size=10:antialias=true;3"
|
||||
font-4 = "Font Awesome 6 Free:size=10:antialias=true;3"
|
||||
font-5 = "Font Awesome 6 Brands:size=10:antialias=true;3"
|
||||
font-6 = "Font Awesome v4 Compatibility:size=10:antialias=true;3"
|
||||
font-3 = "Font Awesome 6 Free Solid:size=11:antialias=true;3"
|
||||
font-4 = "Font Awesome 6 Free:size=11:antialias=true;3"
|
||||
font-5 = "Font Awesome 6 Brands:size=11:antialias=true;3"
|
||||
font-6 = "Font Awesome v4 Compatibility:size=11:antialias=true;3"
|
||||
|
||||
; Set modules list
|
||||
modules-left = xwindow
|
||||
modules-center = i3
|
||||
modules-right = updates temperature memory clockspeed cpu pulseaudio date startarrow
|
||||
modules-right = governor temperature memory clockspeed cpu pulseaudio battery updates date startarrow
|
||||
fixed-center = true
|
||||
monitor = eDP-1
|
||||
|
||||
;=======================================
|
||||
; Modules
|
||||
|
@ -101,16 +102,17 @@ label = " %used% "
|
|||
[module/updates]
|
||||
; Powerline settings
|
||||
inherit = powerline-templates/right-to-left-item
|
||||
background = ${colors.background}
|
||||
background-next = ${root.background}
|
||||
background = ${colors.blue}
|
||||
background-next = ${colors.background}
|
||||
; Other settings
|
||||
type = custom/script
|
||||
format-background = ${self.background}
|
||||
format-foreground = ${colors.white}
|
||||
format-warn-background = ${self.background}
|
||||
exec = checkupdates | wc -l
|
||||
exec = checkupdates 2> /dev/null | wc -l
|
||||
format = " <label> "
|
||||
click-left = WINIT_X11_SCALE_FACTOR=1 alacritty -e bash -c "yay ; echo Done, press any key to exit... ; read"
|
||||
interval = 90
|
||||
|
||||
|
||||
[module/clockspeed]
|
||||
|
@ -136,14 +138,14 @@ type = custom/script
|
|||
format-background = ${colors.blue}
|
||||
format-foreground = ${colors.white}
|
||||
format-warn-background = ${self.background}
|
||||
exec = sensors | grep Tctl | awk '{print $2}' | cut -d '+' -f 2
|
||||
exec = sensors | grep Package | cut -d ' ' -f 5 | cut -d '+' -f 2
|
||||
format = " <label> "
|
||||
|
||||
[module/governor]
|
||||
; Powerline settings
|
||||
inherit = powerline-templates/right-to-left-item
|
||||
background = ${colors.background}
|
||||
background-next = ${colors.blue}
|
||||
background-next = ${root.background}
|
||||
; Other settings
|
||||
type = custom/script
|
||||
format-background = ${self.background}
|
||||
|
|
|
@ -96,7 +96,7 @@ type = custom/text
|
|||
content-background = ${self.background-next}
|
||||
content-foreground = ${self.background}
|
||||
label-font = 1
|
||||
content = " "
|
||||
content = " "
|
||||
|
||||
;
|
||||
; # Right-to-left end-of-line separator
|
||||
|
@ -115,7 +115,7 @@ content = " "
|
|||
type = custom/text
|
||||
content-foreground = ${self.separator}
|
||||
label-font = 1
|
||||
content = " "
|
||||
content = ""
|
||||
|
||||
; ============================================================================ ;
|
||||
;
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
* {
|
||||
background: #0f111a;
|
||||
background: #12151c;
|
||||
foreground: #f1f1f1;
|
||||
selected: #0033a1;
|
||||
selected-text: #ffffff;
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
FROM ubuntu
|
||||
# FROM archlinux:base-devel
|
||||
|
||||
ADD . /tmp/dotfiles
|
||||
WORKDIR /tmp/dotfiles
|
||||
|
||||
RUN /tmp/dotfiles/install.sh
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"height": 35, // Waybar height (to be removed for auto height)
|
||||
"height": 28, // Waybar height (to be removed for auto height)
|
||||
"spacing": 4, // Gaps between modules (4px)
|
||||
"output": "DP-3",
|
||||
"margin": "0 0 5 0",
|
||||
"output": "eDP-1",
|
||||
"modules-left": ["wlr/taskbar"],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": ["tray", "wireplumber", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "battery", "clock", "clock#clock2"],
|
||||
"modules-right": ["tray", "wireplumber", "battery", "cpu#cpu2", "cpu", "memory", "custom/updates", "temperature", "clock", "clock#clock2"],
|
||||
"wlr/taskbar": {
|
||||
"on-click": "activate",
|
||||
"on-click-right": "close",
|
||||
|
@ -64,7 +65,8 @@
|
|||
"format": "{used:0.2f}G"
|
||||
},
|
||||
"temperature": {
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"thermal-zone": 6,
|
||||
"interval": 5,
|
||||
"critical-threshold": 80,
|
||||
// "format-critical": "{temperatureC}°C {icon}",
|
||||
|
@ -79,8 +81,9 @@
|
|||
},
|
||||
"format": "{icon}",
|
||||
"tooltip-format": "{capacity}% ({time})",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{capacity}% {time} {icon}",
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-full": "{capacity}% ",
|
||||
"format-alt": "{capacity}% {time} [{power:.2} W]",
|
||||
"format-icons": [" ", " ", " ", " ", " "]
|
||||
},
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-size: 18px;
|
||||
font-weight:400;
|
||||
font-family: "Roboto Sans", "FontAwesome";
|
||||
font-size: 14px;
|
||||
font-weight:500;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
|
@ -12,9 +12,6 @@ window#waybar {
|
|||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
/* window#waybar.hidden { */
|
||||
/* opacity: 0.2; */
|
||||
/* } */
|
||||
|
||||
button {
|
||||
border: none;
|
||||
|
@ -63,20 +60,18 @@ button:hover {
|
|||
#custom-updates,
|
||||
#custom-powermode,
|
||||
#tray {
|
||||
padding: 0 14px;
|
||||
padding: 0 12px;
|
||||
border-radius: 7px;
|
||||
color: #ffffff;
|
||||
background-color: #1f2430;
|
||||
margin-left:4px;
|
||||
margin-right:4px;
|
||||
margin-top:2px;
|
||||
margin-bottom:2px;
|
||||
margin-left:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
|
||||
#clock.clock2,
|
||||
#wireplumber,
|
||||
#cpu.cpu2,
|
||||
#memory,
|
||||
#tray,
|
||||
#temperature {
|
||||
background-color: #023269;
|
||||
}
|
||||
|
@ -86,10 +81,8 @@ button:hover {
|
|||
border-radius: 7px;
|
||||
color: #ffffff;
|
||||
background-color: #1f2430;
|
||||
margin-left:4px;
|
||||
margin-right:4px;
|
||||
margin-top:2px;
|
||||
margin-bottom:2px;
|
||||
margin-left:2px;
|
||||
margin-right:2px;
|
||||
}
|
||||
#taskbar button.active {
|
||||
background-color: #023269;
|
||||
|
@ -108,7 +101,7 @@ window#waybar.empty #window {
|
|||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 4px 9px;
|
||||
margin: 0px 0px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
keycode 94 = grave asciitilde dead_grave dead_tilde grave asciitilde
|
||||
keycode 49 = less greater less greater bar brokenbar bar brokenbar
|
||||
keycode 49 = Shift_L
|
||||
keycode 108 = Multi_key
|
||||
|
|
|
@ -76,7 +76,7 @@ function find_global() {
|
|||
for i in "$search_dirs[@]"; do
|
||||
if [ -d $i ]; then
|
||||
PATHS="$PATHS\n$i"
|
||||
PATHS+="\n$(fd . $i -t $file_type -d 8)"
|
||||
PATHS+="\n$(ssh mallorea fdfind . $i -t $file_type -d 8)"
|
||||
fi
|
||||
done
|
||||
echo -e "$PATHS" > $FZY_CACHE
|
||||
|
|
Loading…
Reference in New Issue