From 7cbc575dbd33a9b5a7e1d530b974bc9971a70cef Mon Sep 17 00:00:00 2001 From: krolxon Date: Mon, 4 Aug 2025 12:11:59 +0530 Subject: [PATCH] hyprland: make work more like dwm --- .config/gtk-2.0/gtkrc-2.0 | 2 +- .config/hypr/hyprland.conf | 25 +++--- .config/waybar/config.jsonc | 10 --- .config/waybar/style.css | 89 +++++++++++++++++--- .local/share/vocab/words.txt | 152 ----------------------------------- 5 files changed, 94 insertions(+), 184 deletions(-) delete mode 100644 .local/share/vocab/words.txt diff --git a/.config/gtk-2.0/gtkrc-2.0 b/.config/gtk-2.0/gtkrc-2.0 index 67ecc7f..62f9aee 100644 --- a/.config/gtk-2.0/gtkrc-2.0 +++ b/.config/gtk-2.0/gtkrc-2.0 @@ -5,7 +5,7 @@ include "/home/krolyxon/.gtkrc-2.0.mine" gtk-theme-name="Arc-Dark" gtk-icon-theme-name="Papirus-Dark" gtk-font-name="JetBrainsMonoNL Nerd Font Thin 11" -gtk-cursor-theme-name="WhiteSur-cursors" +gtk-cursor-theme-name="Adwaita" gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index ef7f7c3..80ad822 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -9,7 +9,7 @@ autogenerated = 0 $terminal = alacritty $fileManager = pcmanfm # $menu = rofi -show drun -$menu = wofi --show drun +$menu = rofi -show drun $browser = brave @@ -67,8 +67,8 @@ permission = /usr/(bin|local/bin)/hyprpm, plugin, allow ### LOOK AND FEEL ### ##################### general { - gaps_in = 10 - gaps_out = 10 + gaps_in = 5 + gaps_out = 5 border_size = 2 resize_on_border = false allow_tearing = false @@ -186,7 +186,7 @@ bind = $mainMod SHIFT, R, togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod SHIFT, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle -bind = $mainMod, tab, cyclenext, prev +binde = $mainMod, tab, cyclenext, prev bind = $mainMod, b, exec, killall waybar || waybar # Applications @@ -195,14 +195,17 @@ bind = $mainMod, W, exec, $browser # Music Controls bind = $mainMod, m, exec, $terminal -e "ncmpcpp" bind = $mainMod, p, exec, mpc toggle -bind = $mainMod, comma, exec, mpc seek -10 -bind = $mainMod, period, exec, mpc seek -10 +binde = $mainMod, comma, exec, mpc seek -10 +binde = $mainMod, period, exec, mpc seek +10 -# Move focus with mainMod + arrow keys -bind = $mainMod, h, movefocus, l -bind = $mainMod, j, movefocus, r -bind = $mainMod, k, movefocus, u -bind = $mainMod, l, movefocus, d +# Swap current focused window with master +bind = $mainMod, space, layoutmsg, swapwithmaster + +# Resize windows with h/j/k/l +binde = $mainMod, h, resizeactive, -30 0 +binde = $mainMod, l, resizeactive, 30 0 +binde = $mainMod, k, resizeactive, 0 -30 +binde = $mainMod, j, resizeactive, 0 30 # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, split-workspace, 1 diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index abaced1..ebd88ad 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -13,7 +13,6 @@ "modules-center" : [ ], "modules-right": [ - "mpd", "pulseaudio", "battery", "cpu", @@ -133,13 +132,4 @@ }, "on-click": "pavucontrol", }, - "mpd": { - "format": "Playing ", - "format-paused": "Paused ", - "format-stopped": "Stopped ", - "max-length": 20, - "tooltip": false, - "tooltip-format": "{title}\n{artist}\n{album}", - "tooltip": true - }, } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index a2f0c3e..aad1d25 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -1,19 +1,88 @@ -* { +/* +* +* Catppuccin Mocha palette +* Maintainer: rubyowo +* +*/ + +@define-color base #1e1e2e; +@define-color mantle #181825; +@define-color crust #11111b; + +@define-color text #cdd6f4; +@define-color subtext0 #a6adc8; +@define-color subtext1 #bac2de; + +@define-color surface0 #313244; +@define-color surface1 #45475a; +@define-color surface2 #585b70; + +@define-color overlay0 #6c7086; +@define-color overlay1 #7f849c; +@define-color overlay2 #9399b2; + +@define-color blue #89b4fa; +@define-color lavender #b4befe; +@define-color sapphire #74c7ec; +@define-color sky #89dceb; +@define-color teal #94e2d5; +@define-color green #a6e3a1; +@define-color yellow #f9e2af; +@define-color peach #fab387; +@define-color maroon #eba0ac; +@define-color red #f38ba8; +@define-color mauve #cba6f7; +@define-color pink #f5c2e7; +@define-color flamingo #f2cdcd; +@define-color rosewater #f5e0dc; + + + + +/* * { */ /* `otf-font-awesome` is required to be installed for icons */ - font-family: JetBrains Mono Nerd Font, FontAwesome; - font-size: 13px; - font-weight: bold; +/* font-family: JetBrains Mono Nerd Font, FontAwesome; */ +/* font-size: 13px; */ +/* font-weight: bold; */ +/* } */ + +* { +font-family: "JetBrainsMono Nerd Font"; +font-weight: bold; +min-height: 0; +/* set font-size to 100% if font scaling is set to 1.00 using nwg-look */ +font-size: 97%; +font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"'; +padding: 0.03125rem; } +/* window#waybar { */ +/* background-color: rgba(0, 0, 0, 0); */ +/* color: #e3e3e3; */ +/* transition-property: background-color; */ +/* transition-duration: .5s; */ +/* border: none; */ +/* border-radius: 0; */ +/* } */ + window#waybar { - background-color: rgba(0, 0, 0, 0); - color: #e3e3e3; - transition-property: background-color; - transition-duration: .5s; - border: none; - border-radius: 0; + transition-property: background-color; + transition-duration: 0.5s; + background: transparent; + /*border: 2px solid @overlay0;*/ + /*background: @theme_base_color;*/ + border-radius: 10px; } +window#waybar.hidden { + opacity: 0.2; +} + +#waybar.empty #window { + background: none; +} + + /**************/ /* Workspaces */ /**************/ diff --git a/.local/share/vocab/words.txt b/.local/share/vocab/words.txt deleted file mode 100644 index e40bcf5..0000000 --- a/.local/share/vocab/words.txt +++ /dev/null @@ -1,152 +0,0 @@ -bigot -> a person with very strong beliefs or opinions -allocate -> assign -territory -> region -criteria -> fixed basis to judge -keep ones head -> not to get angry -triumph -> victory -knaves -> dishonest people -keep ones virtue -> keep ones goodness or morals under any condition -queer -> strange -exclusive -> availabe to only one person or group -fate -> a power that is believed to control what happens in the future -established -> accepted or followed by many people -compelled -> forced to do -abundant -> existing or occuring in large ammounts -bias -> a tendency to believe that some people,idias, etc are better than others usually results in treating some people unfairly -desperate -> feeling or showing a hopeless sense taht a situation is so bad as to be impossible to deal with -iteration -> the repetition of a process or utterance -cope -> deal with something difficult -revile -> critisize in an abusive or angrily insulting manner -serveillance -> close observation, especially of a suspected spy or criminal -negotiate -> obtain or bring about by discussion -caveat -> a warning or proviso of specific conditions or limitatations -punitive -> inteded as punishment -legislation -> laws, considered collectively -narcissism -> excessive interest in or admiration of onself and one's physical appearance -neoligism -> a newly coined word or expression -ideology -> a system of idias, especially one which forms the basis of economic or political theory and policy -rebuke -> to criticize sharply -bizzare -> odd, extravagant -AWOL -> absent without official leave -pursue -> follow or chase (someone or something) -apologist -> a person who offers an arguement in defence of something controversial. -stereotype -> a widely held but fixed and oversimplified image or idea of a particular type of person or thing -MIA -> missing in action -exodus -> a mass departure of people -departure -> the action of leaving, especially to start a journey -destiny -> the event that will necessarily happen to a particular person or thing in the future -torment -> severe physical or mental suffering -inferior -> lower in rank, status, or quality. -excerpt -> a short extract from a film, broadcast, or piece of music or writing -ambitious -> having or showing a strong desire and determination to succeed -innocuous -> not harmful or offensive -evacuate -> remove (someone) from a place of danger to a safer place -indulge -> allow oneself to enjoy the pleasure of -to take for granted -> to value (something or someone) too lightly -afaik -> abbreviation for "as far as i know" -fatal -> causing death -intercept -> obstruct (someone or something) so as to prevent them from continuing to a destination -pry -> inquire too closely into a person's private affairs -relent -> abondon a sever or harsh attitude, especially by finally yielding to a request -fiance -> a man to whom someone is engaged or married -credible -> able to be believed; convincing. -implode -> collapse or cause to collapse violently inwards. -shenanigans -> secret or dishonest activity -prelude -> an action or event serving as an introduction to something more important -sedative -> promoting calm or inducing sleep -induce -> succeed in persuading or loading (someone) to do something -immigrant -> a person who comes to live permanently in a foreign country. -con -> persuade (someone) to do or believe in something by lying to them. -obnoxious -> extremely unpleasant -debut -> a person's first appearance or performance in a particular capacity or role -convention -> a way in which something is usually done -deduct -> subtract or take away (an amount or part) from a total -derive -> obtain something from (a specified source) -sceptical -> not easily convinced; having doubts or reservations -psyched -> excited and full of anticipation -faucet -> a tap, "nal" in hindi -duress -> threats, violence, constrains, or other actions used to coerce someone into doing something against their will or better judgement -detriment -> the state of being harmed or damaged -alleviate -> make (suffering, deficiency, or a problem) less severe -sentient -> able to perceive or feel things -contiguous -> sharing a common border; touching. -concurrent -> operating or occuring at the same time -vague -> of uncertain, indefinite, or unclear character or meaning -concise -> giving a lot of information cleary and in a few words; brief but comprehensive -lunatic -> a person who is mentally ill (not in technical use) -deterrent -> a thing that discourages or is intended to discourage someone from doing sometihng -omit -> leave out or exclude someone or something, either intentionally or forgetfully -analogy -> a comparison between one thing and anotherm, typicall for the purpose of explanation or clarification -contagious -> spread from one person or orgranism to another, typically by direct contact -leconic -> a person who uses very few words -petulant -> a person who is rude and acts childish -monologue -> a long speech by one actor in a play or a film -apprehension -> anziety or fear that something bad or unpleasant will happen -reprise -> a repeated passage in music -reluctant -> unwilling and hesitant; disinclined -trait -> a distinguishing quality or characteristic, typically one belonging to a person. -pedantic -> excessively concerned with minor details or rules; overscrupulous. -avid -> having or showing a keen interest in or enthusiasm for something -eerie -> strange and frightening -prepend -> add (something) to the beginning of something else -notion -> a conception of or belief about something -robust -> strong and healthy -mundane -> -mundane -> lacking interest or excietement; dull. -inevitable -> certain to happen; unavoidable. -postulate -> suggest or assume the existence, fact, or truth of something as a basis for reasoning, discussion or belief. -reasoning -> the action of thinking about something in a logical, sensible way. -abstraction -> the quality of dealing with ideas rather than events. -abstract -> existing in thought or as an idea but not having a physical or concrete existence -elixir -> a magical or medicinal potion. -ardent -> very enthusiastic or passionate. -absolute -> existing independently and not in relation to other things -reciprocal (mathematics) -> a multiplicative invers -intuitive -> easy to use and understand. -ubiquitous -> found everywhere, present or appearing. -poofta -> a man who is considered effiminate or homosexual -camouflage -> it is the use of any combination of materials to either make objects hard to see or by disguising them as someting else. -aisle -> a passage between rows of seats in a building such as a curch or theatre, an aircraft or train. -ensemble -> a group of items viewed as a whole rather than individually. -traverse -> travel across or through, "he traversed the forest" -fiend -> an evil spirit or demon -contiguous -> sharing a common border; touching. -transgression -> an act that goes against a law, rule, or code of conduct. -onosecond -> its the fraction of time before one realizes that they have made a crucial mistake after the mistake was made -totem -> a natural object or animal that is believed by a particular society to have spiritual significance and that is adopted by it as an embelem. -errata -> an error in printing or writing. -empirical -> verifiable by ovservation or experience rather than theory or pure logic. -bandit -> a robber or outlaw belonging to a gang and typically operating in an isolated or lawless area. -futile -> incapable of producing any useful result; pointless. -akin -> of similar nature or character -inundated -> overwhelm (someone) with things or people to be dealt with -blimey -> used to express surprise, excitement, or alarm. -detrimental -> tending to cause harm -avert -> turn away (one's eyes or thoughts) -espionage -> the practice of spying or of using spies, typically by governments to obtain political and military information. -polyglot -> knowing or using serveral langauges -intrude -> to go into a place in which you are not wanted or not expected to be -speculate -> form a theory or conjecture about a subjet without firm evidence. -mediocre -> of only average quality; not very good. -sober -> not affected by alcohol; not drunk. -niche -> a comfortable or suitable position in life or employment -sequestered -> isolated and hidden away (place) -incentive -> Something, such as the fear of punishment or the expectation of reward, that induces action or motivates effort. -inconspicuous -> not clearly visible or not attracting attention. unnoticeable -perspicacious -> having a ready insight into and understanding of things. observant. -surly -> bad-tempered and unfriendly. -stipend -> a fixed sum of money paid periodically for services or to defray expenses -indefatigable -> Having or showing a capacity for persisten effor; not tiring or relenting; tireless. -liaise -> cooperate on a mtter of mutual concern. -innate -> existing naturally or by heredity rather than being learned through experience. -amateur -> a person who is incompetent or inept at a particular activity. -liaison -> communication or cooperation which facilitates a close working relationship between people or organization -truce -> an agreement between enemies or opponents to stop fighting or arguing for a set period of time. -consigliere -> a trusted advisor or counselor, especially to the leader of a criminal organization. -conceal -> to keep from being observed or discovered; hide - -> -indispensable -> absolutely necessaru; essential -prowl -> to roam through stealthily, as in search of prey or plunder. -chauffeured -> one employed to drive a private automobile. -abysmal -> Resembling an abyss in depth; unfathomable. -contingency -> An event that may occur but that is not likely or intended; a possibility.