diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 3cd13de..f2c4a3d 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -23,7 +23,7 @@ background = "#000010" foreground = "#F8F8F2" [font] -size = 15 +size = 13 [font.bold] family = "Iosevka Term Extended" diff --git a/.config/awesome/components/screen.lua b/.config/awesome/components/screen.lua index a196e60..8fb83e4 100644 --- a/.config/awesome/components/screen.lua +++ b/.config/awesome/components/screen.lua @@ -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 }) diff --git a/.config/awesome/components/top-panel.lua b/.config/awesome/components/top-panel.lua index c754fe2..4d2114d 100644 --- a/.config/awesome/components/top-panel.lua +++ b/.config/awesome/components/top-panel.lua @@ -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), } } diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index 4bf4d90..827da3f 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -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 diff --git a/.config/awesome/theme.lua b/.config/awesome/theme.lua index a74637b..6b6677a 100644 --- a/.config/awesome/theme.lua +++ b/.config/awesome/theme.lua @@ -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 diff --git a/.config/awesome/utils/powerline.lua b/.config/awesome/utils/powerline.lua index fc274f4..56297d0 100644 --- a/.config/awesome/utils/powerline.lua +++ b/.config/awesome/utils/powerline.lua @@ -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 diff --git a/.config/hypr/card b/.config/hypr/card new file mode 120000 index 0000000..36f559f --- /dev/null +++ b/.config/hypr/card @@ -0,0 +1 @@ +/dev/dri/by-path/pci-0000:00:02.0-card \ No newline at end of file diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 22e3c2a..8212ac3 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -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 diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf index d555317..3ec6548 100644 --- a/.config/hypr/hyprpaper.conf +++ b/.config/hypr/hyprpaper.conf @@ -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 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 4a5deca..64ef099 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -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 diff --git a/.config/nvim/lua/plugins/oil.lua b/.config/nvim/lua/plugins/oil.lua index d89ea95..a188793 100644 --- a/.config/nvim/lua/plugins/oil.lua +++ b/.config/nvim/lua/plugins/oil.lua @@ -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", diff --git a/.config/nvim/spell/ltex.dictionary.en-GB.txt b/.config/nvim/spell/ltex.dictionary.en-GB.txt index 1bf0d2c..e6e0c55 100644 --- a/.config/nvim/spell/ltex.dictionary.en-GB.txt +++ b/.config/nvim/spell/ltex.dictionary.en-GB.txt @@ -6,4 +6,10 @@ Feywild closeby ECML theshold-based +imec +testbed +PointNav +DomainNet +MiniGrid +Spirelli distill diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index a2f2f48..3cc6cda 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -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 = " 