summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2024-01-27 12:45:54 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2024-01-27 12:45:54 +0530
commit05f9bc5afd5ac5f671f1dcd3d20774b0987545ec (patch)
treeaa1a9fbe816b5217f6827ae2a41481f762c6c7f4 /.config
parentcc5a352e65e533cc84358a546c9ee6f1d5a47908 (diff)
refactor dotfiles, and use nix
Diffstat (limited to '')
-rw-r--r--.config/picom/picom.conf31
-rw-r--r--.config/rofi/config.rasi78
-rw-r--r--.config/sxhkd/sxhkdrc5
-rw-r--r--.config/terminator/config27
-rw-r--r--.config/tofi/config24
-rw-r--r--.config/tofi/otherconfig314
-rw-r--r--.config/volumeicon/volumeicon28
-rw-r--r--config/dunst/dunstrc (renamed from .config/dunst/dunstrc)12
-rw-r--r--config/hypr/hyprland.conf (renamed from .config/hypr/hyprland.conf)10
-rw-r--r--config/hypr/hyprpaper.conf (renamed from .config/hypr/hyprpaper.conf)1
-rw-r--r--config/nvim/init.lua (renamed from .config/nvim/init.lua)5
-rw-r--r--config/nvim/lua/compile.lua (renamed from .config/nvim/lua/compile.lua)0
-rw-r--r--config/waybar/config (renamed from .config/waybar/config)3
-rw-r--r--config/waybar/style.css (renamed from .config/waybar/style.css)0
14 files changed, 15 insertions, 523 deletions
diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf
deleted file mode 100644
index c8f7b71..0000000
--- a/.config/picom/picom.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-backend = "glx";
-glx-no-stencil = true;
-glx-copy-from-front = false;
-
-# Opacity
-active-opacity = 1;
-inactive-opacity = 1;
-frame-opacity = 1;
-inactive-opacity-override = false;
-
-# Other
-mark-wmwin-focused = true;
-mark-ovredir-focused = true;
-detect-rounded-corners = true;
-detect-client-opacity = true;
-vsync = true;
-dbe = false;
-unredir-if-possible = false;
-focus-exclude = [ ];
-detect-transient = true;
-detect-client-leader = true;
-
-# Window type settings
-wintypes:
-{
- dock = {
- shadow = false;
- };
-};
-
-xrender-sync-fence = true;
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
deleted file mode 100644
index 58fb98a..0000000
--- a/.config/rofi/config.rasi
+++ /dev/null
@@ -1,78 +0,0 @@
-configuration {
- display-drun: "Applications:";
- display-window: "Windows:";
- drun-display-format: "{name}";
- font: "UbuntuMono Nerd Font Medium 10";
- modi: "window,run,drun";
-}
-
-@theme "/dev/null"
-
-* {
- bg: #131417;
- bg-alt: #1e1f26;
-
- fg: #d3d7f2;
- fg-alt: #787c99;
-
- background-color: @bg;
-
- border: 0;
- margin: 0;
- padding: 0;
- spacing: 0;
-}
-
-window {
- width: 30%;
-}
-
-element {
- padding: 8 0;
- text-color: @fg-alt;
-}
-
-element selected {
- text-color: @fg;
-}
-
-element-text {
- text-color: inherit;
- vertical-align: 0.5;
-}
-
-element-icon {
- size: 14;
- padding: 0 10 0 0;
-}
-
-entry {
- background-color: @bg-alt;
- padding: 12;
- text-color: @fg;
-}
-
-inputbar {
- children: [prompt, entry];
-}
-
-listview {
- padding: 8 12;
- background-color: @bg;
- columns: 1;
- lines: 8;
-}
-
-mainbox {
- background-color: @bg;
- children: [inputbar, listview];
-}
-
-prompt {
- background-color: @bg-alt;
- enabled: true;
- padding: 12 0 0 12;
- text-color: @fg;
-}
-
-/* vim: ft=sass
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
deleted file mode 100644
index 2f47207..0000000
--- a/.config/sxhkd/sxhkdrc
+++ /dev/null
@@ -1,5 +0,0 @@
-super + shift + v
- /opt/ipman.py paste
-
-super + shift + s
- /opt/ipman.py setip
diff --git a/.config/terminator/config b/.config/terminator/config
deleted file mode 100644
index 89de990..0000000
--- a/.config/terminator/config
+++ /dev/null
@@ -1,27 +0,0 @@
-[global_config]
- focus = mouse
-[keybindings]
- split_horiz = <Shift><Alt>Down
- split_vert = <Shift><Alt>Right
- close_term = <Alt>c
-[profiles]
- [[default]]
- background_darkness = 0.8
- background_type = transparent
- cursor_shape = ibeam
- cursor_color = "#aaaaaa"
- font = UbuntuMono Nerd Font Mono 10
- show_titlebar = False
- scrollbar_position = hidden
- scrollback_infinite = True
- use_system_font = False
- use_theme_colors = True
-[layouts]
- [[default]]
- [[[window0]]]
- type = Window
- parent = ""
- [[[child1]]]
- type = Terminal
- parent = window0
-[plugins]
diff --git a/.config/tofi/config b/.config/tofi/config
deleted file mode 100644
index 3ea7c54..0000000
--- a/.config/tofi/config
+++ /dev/null
@@ -1,24 +0,0 @@
-font = UbuntuMono Nerd Font
-font-size = 16
-
-background-color = #000D
-text-color = #67676b
-selection-color = #f2f0fa
-prompt-color = #f2f0fa
-input-color = #f2f0fa
-
-prompt-text = "Applications > "
-num-results = 10
-result-spacing = 25
-
-width = 100%
-height = 100%
-
-border-width = 0
-outline-width = 0
-
-padding-left = 35%
-padding-top = 30%
-
-drun-launch = true
-matching-algorithm = fuzzy
diff --git a/.config/tofi/otherconfig b/.config/tofi/otherconfig
deleted file mode 100644
index 2f95e53..0000000
--- a/.config/tofi/otherconfig
+++ /dev/null
@@ -1,314 +0,0 @@
-#
-### Fonts
-#
- # Font to use, either a path to a font file or a name.
- #
- # If a path is given, tofi will startup much quicker, but any
- # characters not in the chosen font will fail to render.
- #
- # Otherwise, fonts are interpreted in Pango format.
- font = "Sans"
-
- # Point size of text.
- font-size = 24
-
- # Comma separated list of OpenType font feature settings to apply,
- # if supported by the chosen font. The format is similar to the CSS
- # "font-feature-settings" property.
- #
- # Examples:
- #
- # font-features = "smcp, c2sc" (all small caps)
- # font-features = "liga 0" (disable ligatures)
- font-features = ""
-
- # Comma separated list of OpenType font variation settings to apply
- # to variable fonts. The format is similar to the CSS
- # "font-variation-settings" property.
- #
- # Examples:
- #
- # font-variations = "wght 900" (Extra bold)
- # font-variations = "wdth 25, slnt -10" (Narrow and slanted)
- font-variations = ""
-
- # Perform font hinting. Only applies when a path to a font has been
- # specified via `font`. Disabling font hinting speeds up text
- # rendering appreciably, but will likely look poor at small font pixel
- # sizes.
- hint-font = true
-
-#
-### Text theming
-#
- # Default text color
- #
- # All text defaults to this color if not otherwise specified.
- text-color = #FFFFFF
-
- # All pieces of text have the same theming attributes available:
- #
- # *-color
- # Foreground color
- #
- # *-background
- # Background color
- #
- # *-background-padding
- # Background padding in pixels (comma-delimited, CSS-style list).
- # See "DIRECTIONAL VALUES" under `man 5 tofi` for more info.
- #
- # *-background-corner-radius
- # Radius of background box corners in pixels
-
- # Prompt text theme
- # prompt-color = #FFFFFF
- prompt-background = #00000000
- prompt-background-padding = 0
- prompt-background-corner-radius = 0
-
- # Placeholder text theme
- placeholder-color = #FFFFFFA8
- placeholder-background = #00000000
- placeholder-background-padding = 0
- placeholder-background-corner-radius = 0
-
- # Input text theme
- # input-color = #FFFFFF
- input-background = #00000000
- input-background-padding = 0
- input-background-corner-radius = 0
-
- # Default result text theme
- # default-result-color = #FFFFFF
- default-result-background = #00000000
- default-result-background-padding = 0
- default-result-background-corner-radius = 0
-
- # Alternate (even-numbered) result text theme
- #
- # If unspecified, these all default to the corresponding
- # default-result-* attribute.
- #
- # alternate-result-color = #FFFFFF
- # alternate-result-background = #00000000
- # alternate-result-background-padding = 0
- # alternate-result-background-corner-radius = 0
-
- # Selection text
- selection-color = #F92672
- selection-background = #00000000
- selection-background-padding = 0
- selection-background-corner-radius = 0
-
- # Matching portion of selection text
- selection-match-color = #00000000
-
-
-#
-### Text cursor theme
-#
- # Style of the optional text cursor.
- #
- # Supported values: bar, block, underscore
- text-cursor-style = bar
-
- # Color of the text cursor
- #
- # If unspecified, defaults to the same as input-color
- # text-cursor-color = #FFFFFF
-
- # Color of text behind the text cursor when text-cursor-style = block
- #
- # If unspecified, defaults to the same as background-color
- # text-cursor-background = #000000
-
- # Corner radius of the text cursor
- text-cursor-corner-radius = 0
-
- # Thickness of the bar and underscore text cursors.
- #
- # If unspecified, defaults to a font-dependent value when
- # text-cursor-style = underscore, or to 2 otherwise.
- # text-cursor-thickness = 2
-
-#
-### Text layout
-#
- # Prompt to display.
- prompt-text = "run: "
-
- # Extra horizontal padding between prompt and input.
- prompt-padding = 0
-
- # Placeholder input text.
- placeholder-text = ""
-
- # Maximum number of results to display.
- # If 0, tofi will draw as many results as it can fit in the window.
- num-results = 0
-
- # Spacing between results in pixels. Can be negative.
- result-spacing = 0
-
- # List results horizontally.
- horizontal = false
-
- # Minimum width of input in horizontal mode.
- min-input-width = 0
-
-#
-### Window theming
-#
- # Width and height of the window. Can be pixels or a percentage.
- width = 1280
- height = 720
-
- # Window background color
- background-color = #1B1D1E
-
- # Width of the border outlines in pixels.
- outline-width = 4
-
- # Border outline color
- outline-color = #080800
-
- # Width of the border in pixels.
- border-width = 12
-
- # Border color
- border-color = #F92672
-
- # Radius of window corners in pixels.
- corner-radius = 0
-
- # Padding between borders and text. Can be pixels or a percentage.
- padding-top = 8
- padding-bottom = 8
- padding-left = 8
- padding-right = 8
-
- # Whether to clip text drawing to be within the specified padding. This
- # is mostly important for allowing text to be inset from the border,
- # while still allowing text backgrounds to reach right to the edge.
- clip-to-padding = true
-
- # Whether to scale the window by the output's scale factor.
- scale = true
-
-#
-### Window positioning
-#
- # The name of the output to appear on. An empty string will use the
- # default output chosen by the compositor.
- output = ""
-
- # Location on screen to anchor the window to.
- #
- # Supported values: top-left, top, top-right, right, bottom-right,
- # bottom, bottom-left, left, center.
- anchor = center
-
- # Set the size of the exclusive zone.
- #
- # A value of -1 means ignore exclusive zones completely.
- # A value of 0 will move tofi out of the way of other windows' zones.
- # A value greater than 0 will set that much space as an exclusive zone.
- #
- # Values greater than 0 are only meaningful when tofi is anchored to a
- # single edge.
- exclusive-zone = -1
-
- # Window offset from edge of screen. Only has an effect when anchored
- # to the relevant edge. Can be pixels or a percentage.
- margin-top = 0
- margin-bottom = 0
- margin-left = 0
- margin-right = 0
-
-#
-### Behaviour
-#
- # Hide the mouse cursor.
- hide-cursor = false
-
- # Show a text cursor in the input field.
- text-cursor = false
-
- # Sort results by number of usages in run and drun modes.
- history = true
-
- # Specify an alternate file to read and store history information
- # from / to. This shouldn't normally be needed, and is intended to
- # facilitate the creation of custom modes.
- # history-file = /path/to/histfile
-
- # Select the matching algorithm used. If normal, substring matching is
- # used, weighted to favour matches closer to the beginning of the
- # string. If prefix, only substrings at the beginning of the string are
- # matched. If fuzzy, searching is performed via a simple fuzzy matching
- # algorithm.
- #
- # Supported values: normal, prefix, fuzzy
- matching-algorithm = normal
-
- # If true, require a match to allow a selection to be made. If false,
- # making a selection with no matches will print input to stdout.
- # In drun mode, this is always true.
- require-match = true
-
- # If true, automatically accept a result if it is the only one
- # remaining. If there's only one result on startup, window creation is
- # skipped altogether.
- auto-accept-single = false
-
- # If true, typed input will be hidden, and what is displayed (if
- # anything) is determined by the hidden-character option.
- hide-input = false
-
- # Replace displayed input characters with a character. If the empty
- # string is given, input will be completely hidden.
- # This option only has an effect when hide-input is set to true.
- hidden-character = "*"
-
- # If true, use physical keys for shortcuts, regardless of the current
- # keyboard layout. If false, use the current layout's keys.
- physical-keybindings = true
-
- # Instead of printing the selected entry, print the 1-based index of
- # the selection. This option has no effect in run or drun mode. If
- # require-match is set to false, non-matching input will still result
- # in the input being printed.
- print-index = false
-
- # If true, directly launch applications on selection when in drun mode.
- # Otherwise, just print the command line to stdout.
- drun-launch = false
-
- # The terminal to run terminal programs in when in drun mode.
- # This option has no effect if drun-launch is set to true.
- # Defaults to the value of the TERMINAL environment variable.
- # terminal = foot
-
- # Delay keyboard initialisation until after the first draw to screen.
- # This option is experimental, and will cause tofi to miss keypresses
- # for a short time after launch. The only reason to use this option is
- # performance on slow systems.
- late-keyboard-init = false
-
- # If true, allow multiple simultaneous processes.
- # If false, create a lock file on startup to prevent multiple instances
- # from running simultaneously.
- multi-instance = false
-
- # Assume input is plain ASCII, and disable some Unicode handling
- # functions. This is faster, but means e.g. a search for "e" will not
- # match "é".
- ascii-input = false
-
-#
-### Inclusion
-#
- # Configs can be split between multiple files, and then included
- # within each other.
- # include = /path/to/config
diff --git a/.config/volumeicon/volumeicon b/.config/volumeicon/volumeicon
deleted file mode 100644
index 72dddf1..0000000
--- a/.config/volumeicon/volumeicon
+++ /dev/null
@@ -1,28 +0,0 @@
-[Alsa]
-card=default
-channel=Master
-logarithmic_scale=false
-
-[Notification]
-show_notification=true
-notification_type=0
-
-[StatusIcon]
-stepsize=5
-onclick=pavucontrol
-theme=White Gnome
-use_panel_specific_icons=false
-reverse_scroll_direction=false
-lmb_slider=false
-mmb_mute=false
-use_horizontal_slider=false
-show_sound_level=false
-use_transparent_background=false
-
-[Hotkeys]
-up_enabled=true
-down_enabled=true
-mute_enabled=true
-up=XF86AudioRaiseVolume
-down=XF86AudioLowerVolume
-mute=XF86AudioMute
diff --git a/.config/dunst/dunstrc b/config/dunst/dunstrc
index 52973b6..902ba1c 100644
--- a/.config/dunst/dunstrc
+++ b/config/dunst/dunstrc
@@ -1,11 +1,9 @@
[global]
- monitor = 0
+ monitor = 1
follow = none
- geometry = "300x5-30+20"
indicate_hidden = yes
shrink = no
transparency = 0
- notification_height = 0
separator_height = 2
padding = 8
horizontal_padding = 8
@@ -38,8 +36,6 @@
always_run_script = true
title = Dunst
class = Dunst
- startup_notification = false
- verbosity = mesg
corner_radius = 0
ignore_dbusclose = false
force_xinerama = false
@@ -49,12 +45,6 @@
[experimental]
per_monitor_dpi = false
-[shortcuts]
- close = ctrl+space
- close_all = ctrl+shift+space
- history = ctrl+grave
- context = ctrl+shift+period
-
[urgency_low]
background = "#131417"
foreground = "#ffffff"
diff --git a/.config/hypr/hyprland.conf b/config/hypr/hyprland.conf
index 22d71f3..075dbec 100644
--- a/.config/hypr/hyprland.conf
+++ b/config/hypr/hyprland.conf
@@ -1,6 +1,7 @@
-monitor=,1920x1080@60,auto,1
+monitor=eDP-1,1920x1080@60,0x0,1
+monitor=HDMI-A-1,2560x1440@60,-2560x-350,1
-exec-once = waybar & hyprpaper & dunst & # /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
+exec-once = waybar & hyprpaper & dunst & /nix/store/$(ls -la /nix/store | grep 'polkit-gnome' | grep 4096 | awk '{print $9}' | sed -n '$p')/libexec/polkit-gnome-authentication-agent-1 & blueman-applet & nm-applet
xwayland {
force_zero_scaling = true
@@ -59,13 +60,14 @@ gestures {
workspace_swipe = true
}
-bind = SUPER SHIFT, RETURN, exec, terminator
+bind = SUPER SHIFT, RETURN, exec, alacritty
bind = SUPER SHIFT, Q, killactive
bind = SUPER SHIFT, B, exit
bind = SUPER, E, exec, dolphin
bind = SUPER SHIFT, F, togglefloating
bind = SUPER, F, fullscreen, 1
-bind = SUPER, SPACE, exec, pkill tofi || tofi-drun
+bind = SUPER, SPACE, exec, pkill fuzzel || fuzzel
+bind = SUPER, X, exec, waylock
bind = SUPER, RETURN, layoutmsg, swapwithmaster master
bind = SUPER SHIFT, J, layoutmsg, swapnext
diff --git a/.config/hypr/hyprpaper.conf b/config/hypr/hyprpaper.conf
index 2af46e3..8204052 100644
--- a/.config/hypr/hyprpaper.conf
+++ b/config/hypr/hyprpaper.conf
@@ -1,2 +1,3 @@
preload = /home/compromyse/Pictures/wallpaper.jpg
wallpaper = ,/home/compromyse/Pictures/wallpaper.jpg
+splash = false
diff --git a/.config/nvim/init.lua b/config/nvim/init.lua
index ffb09a8..f3873b6 100644
--- a/.config/nvim/init.lua
+++ b/config/nvim/init.lua
@@ -185,6 +185,11 @@ vim.keymap.set('t', '<A-y>', '<cmd>ToggleTerm<cr>', { noremap = true })
vim.keymap.set('n', '<A-n>', '<cmd>bnext<cr>', { noremap = true })
vim.keymap.set('n', '<A-p>', '<cmd>bprev<cr>', { noremap = true })
+vim.keymap.set('n', '<C-h>', '<cmd>TmuxNavigateLeft<cr>', { noremap = true })
+vim.keymap.set('n', '<C-j>', '<cmd>TmuxNavigateDown<cr>', { noremap = true })
+vim.keymap.set('n', '<C-k>', '<cmd>TmuxNavigateUp<cr>', { noremap = true })
+vim.keymap.set('n', '<C-l>', '<cmd>TmuxNavigateRight<cr>', { noremap = true })
+
vim.keymap.set('n', '<A-a>', '<cmd>lua oil.toggle_float()<cr>', { noremap = true })
-- Splitting The Window
diff --git a/.config/nvim/lua/compile.lua b/config/nvim/lua/compile.lua
index f529b90..f529b90 100644
--- a/.config/nvim/lua/compile.lua
+++ b/config/nvim/lua/compile.lua
diff --git a/.config/waybar/config b/config/waybar/config
index 68f25d7..24cb4f0 100644
--- a/.config/waybar/config
+++ b/config/waybar/config
@@ -1,5 +1,6 @@
{
"layer": "top",
+ "output": "eDP-1",
"height": 40,
"modules-left": ["custom/launcher", "hyprland/workspaces", "hyprland/window"],
"modules-right": ["tray", "cpu", "backlight", "battery", "clock"],
@@ -25,7 +26,7 @@
},
"hyprland/window": {
"format": "> {title}",
- "separate-outputs": true
+ "separate-outputs": false
},
"tray": {
"spacing": 10
diff --git a/.config/waybar/style.css b/config/waybar/style.css
index a42db21..a42db21 100644
--- a/.config/waybar/style.css
+++ b/config/waybar/style.css